Skip to content

Commit d352d73

Browse files
committed
chore: update example
1 parent 52a1111 commit d352d73

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

example/with-css-variables/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@types/react-dom": "18.2.18",
2020
"autoprefixer": "10.4.16",
2121
"postcss": "8.4.33",
22-
"sd-tailwindcss-transformer": "^1.4.1",
22+
"sd-tailwindcss-transformer": "^1.4.2",
2323
"style-dictionary": "3.9.1",
2424
"tailwindcss": "3.4.0",
2525
"typescript": "4.9.5"

example/with-css-variables/sd.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const sdConfig = makeSdTailwindConfig({
99
formatType: 'cjs',
1010
isVariables: true,
1111
prefix: PREFIX,
12+
extend: true,
1213
source: [`./style-dictionary/tokens/**/*.json`],
1314
transforms: ['attribute/cti', 'name/cti/kebab'],
1415
buildPath: `./`,

example/with-css-variables/styles/tailwind.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Wed, 15 Nov 2023 12:36:10 GMT
3+
* Generated on Sun, 07 Apr 2024 11:20:44 GMT
44
*/
55

66
:root {

example/with-css-variables/tailwind.config.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/** @type {import('tailwindcss').Config} */
2-
module.exports = {
2+
module.exports = {
33
mode: "jit",
44
content: ["./pages/**/*.{js,ts,jsx,tsx}","./components/**/*.{js,ts,jsx,tsx}"],
55
darkMode: "class",
@@ -36,5 +36,5 @@
3636
}
3737
},
3838
},
39-
plugins: [require("@tailwindcss/typography"),require("@tailwindcss/container-queries")]
39+
plugins: [require("@tailwindcss/typography"),require("@tailwindcss/container-queries")]
4040
}

example/with-css-variables/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1097,10 +1097,10 @@ scheduler@^0.23.0:
10971097
dependencies:
10981098
loose-envify "^1.1.0"
10991099

1100-
sd-tailwindcss-transformer@^1.4.1:
1101-
version "1.4.1"
1102-
resolved "https://registry.yarnpkg.com/sd-tailwindcss-transformer/-/sd-tailwindcss-transformer-1.4.1.tgz#40403243bdaee6b1c78a4d12cc59e2dea3f59075"
1103-
integrity sha512-g/CbF9vj9zZUGUsj7QrCLckCDLNhG0w+ppssmN+uT/u7FCUV9EPE42uwjVghNBrb0ggqxrZcVoc/4Kl+tqDeSQ==
1100+
sd-tailwindcss-transformer@^1.4.2:
1101+
version "1.4.2"
1102+
resolved "https://registry.yarnpkg.com/sd-tailwindcss-transformer/-/sd-tailwindcss-transformer-1.4.2.tgz#e27fe8875a7c4e932a1123235bab9577d0996a14"
1103+
integrity sha512-vFSahWFeQvxRtjYgcbJMd9s6ILYtAagx6nmFayZymPa7foHmaa8iaJ+63xlplcnI7P17G+9Ji7kofdbFfmDtGA==
11041104

11051105
sentence-case@^3.0.4:
11061106
version "3.0.4"

0 commit comments

Comments
 (0)