Skip to content

Commit

Permalink
composes -> @extend
Browse files Browse the repository at this point in the history
  • Loading branch information
arzafran committed Oct 16, 2024
1 parent 674cc17 commit bf92021
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 10 deletions.
6 changes: 4 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
"*.json": "jsonc",
"*.css": "css"
},
"css.lint.validProperties": ["composes", "user-drag"],
"css.lint.validProperties": [
"user-drag"
],
"css.lint.unknownAtRules": "ignore",
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
}
}
}
3 changes: 3 additions & 0 deletions app/(pages)/home/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ export default function Home() {
return (
<Wrapper theme="red" className={s.page}>
{/* content */}
<div className="layout-grid">
<p>Hello</p>
</div>
</Wrapper>
)
}
9 changes: 6 additions & 3 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"bun.lockb",
"**/*.md",
"**/*.mdx",
"**/public/*.js"
"**/public/*.js",
"**/.storybook/**"
]
},
"formatter": {
Expand Down Expand Up @@ -78,7 +79,9 @@
},
"overrides": [
{
"include": ["**/*.css"],
"include": [
"**/*.css"
],
"linter": {
"rules": {
"correctness": {
Expand All @@ -88,4 +91,4 @@
}
}
]
}
}
Binary file modified bun.lockb
Binary file not shown.
4 changes: 4 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ const nextConfig = {
},
optimizeCss: true,
nextScriptWorkers: true,
reactCompiler: true,
},
devIndicators: {
appIsrStatus: false,
},
typescript: {
ignoreBuildErrors: true,
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@
"@react-three/fiber": "^8.17.10",
"@theatre/core": "^0.7.2",
"@theatre/studio": "^0.7.2",
"babel-plugin-react-compiler": "^0.0.0-experimental-605e95c-20241015",
"clsx": "^2.1.1",
"gsap": "^3.12.5",
"lenis": "1.1.14",
"next": "^15.0.0-canary.194",
"next": "^15.0.0-rc.1",
"postprocessing": "^6.36.3",
"react": "^19.0.0-rc-83825814-20241015",
"react-aria-components": "^1.4.1",
Expand Down
8 changes: 4 additions & 4 deletions styles/_layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@
}

.layout-grid {
composes: layout-block;
composes: grid;
@extend .layout-block;
@extend .grid;
}

.layout-grid-inner {
composes: layout-block-inner;
composes: grid;
@extend .layout-block-inner;
@extend .grid;
}

0 comments on commit bf92021

Please sign in to comment.