Skip to content

Commit

Permalink
chore: update example
Browse files Browse the repository at this point in the history
  • Loading branch information
nado1001 committed Apr 7, 2024
1 parent 52a1111 commit d352d73
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion example/with-css-variables/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@types/react-dom": "18.2.18",
"autoprefixer": "10.4.16",
"postcss": "8.4.33",
"sd-tailwindcss-transformer": "^1.4.1",
"sd-tailwindcss-transformer": "^1.4.2",
"style-dictionary": "3.9.1",
"tailwindcss": "3.4.0",
"typescript": "4.9.5"
Expand Down
1 change: 1 addition & 0 deletions example/with-css-variables/sd.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const sdConfig = makeSdTailwindConfig({
formatType: 'cjs',
isVariables: true,
prefix: PREFIX,
extend: true,
source: [`./style-dictionary/tokens/**/*.json`],
transforms: ['attribute/cti', 'name/cti/kebab'],
buildPath: `./`,
Expand Down
2 changes: 1 addition & 1 deletion example/with-css-variables/styles/tailwind.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 15 Nov 2023 12:36:10 GMT
* Generated on Sun, 07 Apr 2024 11:20:44 GMT
*/

:root {
Expand Down
4 changes: 2 additions & 2 deletions example/with-css-variables/tailwind.config.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
module.exports = {
mode: "jit",
content: ["./pages/**/*.{js,ts,jsx,tsx}","./components/**/*.{js,ts,jsx,tsx}"],
darkMode: "class",
Expand Down Expand Up @@ -36,5 +36,5 @@
}
},
},
plugins: [require("@tailwindcss/typography"),require("@tailwindcss/container-queries")]
plugins: [require("@tailwindcss/typography"),require("@tailwindcss/container-queries")]
}
8 changes: 4 additions & 4 deletions example/with-css-variables/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1097,10 +1097,10 @@ scheduler@^0.23.0:
dependencies:
loose-envify "^1.1.0"

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

sentence-case@^3.0.4:
version "3.0.4"
Expand Down

0 comments on commit d352d73

Please sign in to comment.