New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

tailwindcss-text-rendering

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tailwindcss-text-rendering

Add text-rendering property

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

Tailwind CSS Text Rendering

A Tailwind CSS plugin that helps you create utility classes for using the text-rendering CSS property.

Installation

Install it in a new or existing Tailwind CSS project

npm install --save-dev tailwindcss-text-rendering

Then add the plugin to your tailwind.config.js file:

module.exports = {
  theme: {
    // ...
  },
  plugins: [
    require("tailwindcss-text-rendering"),
    // ...
  ],
};

Basic usage

You can use it in your markup like this:

<p class="rendering-auto">auto text</p>
<p class="rendering-speed">optimizeSpeed text</p>
<p class="rendering-legibility">optimizeLegibility text</p>
<p class="rendering-precision">geometricPrecision text</p>

The plugin generates these utility classes:

.rendering-auto: {
  text-rendering: auto;
}

.rendering-speed: {
  text-rendering: optimizeSpeed;
}

.rendering-legibility: {
  text-rendering: optimizeLegibility;
}

.rendering-precision: {
  text-rendering: geometricPrecision;
}

Keywords

tailwind

FAQs

Package last updated on 01 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts