Skip to content

Commit eb5adba

Browse files
Update Tailwind PostCSS plugin to 4.1.18 (#3179)
The reason we needed to rename our config keys from camelCase to kebab-case was because of: tailwindlabs/tailwindcss#19337
1 parent 70e5d01 commit eb5adba

5 files changed

Lines changed: 81 additions & 83 deletions

File tree

packages/cheatsheet-local/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"devDependencies": {
3636
"@effortlessmotion/html-webpack-inline-source-plugin": "^1.0.3",
37-
"@tailwindcss/postcss": "4.1.17",
37+
"@tailwindcss/postcss": "4.1.18",
3838
"@testing-library/dom": "^10.4.1",
3939
"@testing-library/react": "^16.3.2",
4040
"@types/jest": "^30.0.0",

packages/cursorless-org-docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"@cursorless/node-common": "workspace:*",
6666
"@docusaurus/module-type-aliases": "^3.9.2",
6767
"@docusaurus/types": "^3.9.2",
68-
"@tailwindcss/postcss": "4.1.17",
68+
"@tailwindcss/postcss": "4.1.18",
6969
"@tsconfig/docusaurus": "^2.0.9",
7070
"@types/mdast": "^4.0.4",
7171
"@types/react": "^19.2.14",

packages/cursorless-org/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"devDependencies": {
4242
"@eslint/compat": "^2.0.2",
4343
"@svgr/webpack": "^8.1.0",
44-
"@tailwindcss/postcss": "4.1.17",
44+
"@tailwindcss/postcss": "4.1.18",
4545
"@types/mdx": "^2.0.13",
4646
"@types/node": "^25.2.3",
4747
"@types/react": "^19.2.14",

packages/cursorless-org/tailwind.config.js

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,19 +58,22 @@ export default {
5858
},
5959
fontFamily: {
6060
mono: ["Inconsolata", ...defaultTheme.fontFamily.mono],
61-
monoWide: ["Inconsolata-SemiExpanded", ...defaultTheme.fontFamily.mono],
61+
"mono-wide": [
62+
"Inconsolata-SemiExpanded",
63+
...defaultTheme.fontFamily.mono,
64+
],
6265
},
6366
width: {
64-
smBase: smallWidth,
65-
stretchedBase: stretchedWidth,
67+
"sm-base": smallWidth,
68+
"stretched-base": stretchedWidth,
6669
},
6770
height: {
68-
smBase: smallHeight,
69-
stretchedBase: stretchedHeight,
71+
"sm-base": smallHeight,
72+
"stretched-base": stretchedHeight,
7073
},
7174
fontSize: {
72-
smBase: smallFontSize,
73-
stretchedBase: stretchedFontSize,
75+
"sm-base": smallFontSize,
76+
"stretched-base": stretchedFontSize,
7477
xs: "1.2em",
7578
lg: "1.8em",
7679
"2xl": "2.4em",

pnpm-lock.yaml

Lines changed: 68 additions & 73 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)