Skip to content

Commit 9a2776c

Browse files
committed
IMP: readme
1 parent ac75add commit 9a2776c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = {
2727
plugins: [
2828
require('@fylgja/tailwindcss-plugin-cssprops')({
2929
tokens: {
30-
colors: {
30+
color: {
3131
primary: {
3232
DEFAULT: "200 50% 50%" // HSL color syntax
3333
}
@@ -50,7 +50,7 @@ const colors = require("@fylgja/colors/hsl");
5050
module.exports = {
5151
theme: {
5252
extend: {
53-
colors: {
53+
color: {
5454
primary: {
5555
DEFAULT: "hsl(var(--color-primary) / <alpha-value>)",
5656
}
@@ -60,7 +60,7 @@ module.exports = {
6060
plugins: [
6161
require('@fylgja/tailwindcss-plugin-cssprops')({
6262
tokens: {
63-
colors: {
63+
color: {
6464
primary: {
6565
DEFAULT: colors.purple[8],
6666
},
@@ -91,14 +91,14 @@ module.exports = {
9191
plugins: [
9292
require('@fylgja/tailwindcss-plugin-cssprops')({
9393
tokens: {
94-
colors: {
94+
color: {
9595
primary: {
9696
DEFAULT: "200 50% 50%" // HSL color syntax
9797
},
9898
"primary-@media:dark": {
9999
DEFAULT: "200 50% 50%" // HSL color syntax
100100
},
101-
// Or use a wrapper as long as the media key is part of the group key, like "colors"
101+
// Or use a wrapper as long as the media key is part of the group key, like "color"
102102
"@media:dark": {
103103
primary: {
104104
DEFAULT: "200 50% 50%" // HSL color syntax

0 commit comments

Comments
 (0)