Skip to content

Commit c354b78

Browse files
committed
Change in readme file default shadow description.
1 parent 4039ae1 commit c354b78

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# tailwindcss-textShadow
2-
A Utility Plugins for controlling Text Shadow of an element.
2+
A Utility Plugins for controlling Text Shadow of an text element.
33

44

55

66
| Class | Properties |
77
|----------|-------------|
8-
| `.text-shadow` | `text-shadow: 1px 0px 0px rgb(0 0 0 / 20%), 0px 1px 0px rgb(1 0 5 / 10%);` |
8+
| `.text-shadow` | `text-shadow: 0px 0px 1px rgb(0 0 0 / 20%), 0px 0px 1px rgb(1 0 5 / 10%);` |
99
| `.text-shadow-sm` | `text-shadow: 1px 1px 3px rgb(36 37 47 / 25%);`|
1010
| `.text-shadow-md` | `text-shadow: 0px 1px 2px rgb(30 29 39 / 19%), 1px 2px 4px rgb(54 64 147 / 18%)`|
1111
| `.text-shadow-lg` | `text-shadow: 3px 3px 6px rgb(0 0 0 / 26%), 0 0 5px rgb(15 3 86 / 22%)`|
@@ -90,10 +90,10 @@ If a `default` text shadow is provided, it will be used for the *non-suffixed* `
9090
module.exports = {
9191
theme: {
9292
textShadow: {
93-
default: '0 2px 0 #000',
94-
md: '0 2px 2px #000',
95-
h2: '0 0 3px #FF0000, 0 0 5px #0000FF',
96-
h1: '0 0 3px rgba(0, 0, 0, .8), 0 0 5px rgba(0, 0, 0, .9)',
93+
'default': '0 2px 0 #000',
94+
'md': '0 2px 2px #000',
95+
'h2': '0 0 3px #FF0000, 0 0 5px #0000FF',
96+
'h1': '0 0 3px rgba(0, 0, 0, .8), 0 0 5px rgba(0, 0, 0, .9)',
9797
}
9898
}
9999
}
@@ -112,7 +112,7 @@ module.exports = {
112112
// ...
113113
textShadow: {
114114
'2xl': '1px 1px 5px rgb(33 34 43 / 20%)',
115-
'3xl': '0 0 3px rgba(0, 0, 0, .8), 0 0 5px rgba(0, 0, 0, .9)',
115+
'3xl': '0 0 3px rgba(0, 0, 0, .8), 0 0 5px rgba(0, 0, 0, .9)',
116116
},
117117
},
118118
},
@@ -128,7 +128,7 @@ You can control which variants are generated for the text shadow utilities by mo
128128

129129
For example, this config will also generate active and group-hover variants:
130130

131-
> The variant name is **`textShadow`**.
131+
> Use the name **`textShadow`** under variants object.
132132
133133
```javascript
134134
// tailwind.config.js

0 commit comments

Comments
 (0)