Skip to content

Releases: iunteq/tailwindcss-textshadow

Follow readme instructions!

26 Jul 23:19
Compare
Choose a tag to compare
v2.1.3

correction in Repo name and Version change to v2.1.3.

v2.1.2

26 Jul 20:28
Compare
Choose a tag to compare
  • Change in default text shadow style:

text-shadow: 0px 0px 1px rgb(0 0 0 / 20%), 0px 0px 1px rgb(1 0 5 / 10%);

v2.1.1

24 Jul 22:48
Compare
Choose a tag to compare

Just follow these two steps and use it!

Yarn

yarn add tailwindcss-textshadow --dev

npm

npm i --save-dev tailwindcss-textshadow

✔️ import the plugin

Add the plugin to the plugins array in your Tailwind configuration file (tailwind.config.js). #2

plugins: [
  require('tailwindcss-textshadow')  
]

These are the default values

Class Properties
.text-shadow text-shadow: 1px 0px 0px rgb(0 0 0 / 20%), 0px 1px 0px rgb(1 0 5 / 10%);
.text-shadow-sm text-shadow: 1px 1px 3px rgb(36 37 47 / 25%);
.text-shadow-md text-shadow: 0px 1px 2px rgb(30 29 39 / 19%), 1px 2px 4px rgb(54 64 147 / 18%)
.text-shadow-lg text-shadow: 3px 3px 6px rgb(0 0 0 / 26%), 0 0 5px rgb(15 3 86 / 22%)
.text-shadow-xl text-shadow: 1px 1px 3px rgb(0 0 0 / 29%), 2px 4px 7px rgb(73 64 125 / 35%)
.text-shadow-none text-shadow: none

By default, only responsive, hover and focus variants are generated for text shadow utilities.

💡 Features

Minimal Set-up.

Ready to use out of the box.

Has default preset shadows with variants.

Users will be able to override and extend defaults the same way they can with Tailwind's built-in styles.

v2.0.0

24 Mar 13:15
Compare
Choose a tag to compare

Changes in Import plugin declaration

Add the plugin to the plugins array in your Tailwind configuration file (tailwind.config.js).

plugins: [
  require('tailwindcss-textShadow')
]

v1.0.3

24 Mar 13:18
Compare
Choose a tag to compare
1.0.3