Skip to content

Commit a42fe67

Browse files
committed
feat: update CSS imports to use layers and add PostCSS configuration
1 parent 944d974 commit a42fe67

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"plugins": {
3+
"@db-ux/core-postcss-plugin": {}
4+
}
5+
}

showcases/stencil-showcase/src/styles.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
@import "@db-ux/core-components/build/styles/rollup.css";
1+
@layer db-ux, db-theme;
2+
@import "@db-ux/db-theme/build/styles/rollup.css" layer(db-theme);
3+
@import "@db-ux/core-components/build/styles/rollup.css" layer(db-ux);
24
@import "../../showcase-styles.css";
3-
@import "@db-ux/db-theme/build/styles/rollup.css";
45

56
.hydrated {
67
display: contents;

0 commit comments

Comments
 (0)