Skip to content

Commit 0114f1f

Browse files
committed
Revert "Remove uui-css.css"
This reverts commit 4a1fbe3.
1 parent 7dda760 commit 0114f1f

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

packages/uui-css/lib/uui-css.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@import './custom-properties.css';
2+
@import './typography/lato.css';
3+
@import './typography/uui-root.css';
4+
@import './typography/uui-text.css';

packages/uui-css/lib/uui-css.story.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,9 @@ export const Overview: Story = () => html` <article style="max-width:580px;">
3838
styles for typography, must be used together with .uui-root. This is
3939
needed for having proper styling for H1, H2, P etc.
4040
</li>
41+
<li>
42+
<b>uui-css.css</b>
43+
This stylesheet includes all of the above stylesheets.
44+
</li>
4145
</ul>
4246
</article>`;

packages/uui-css/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@
3333
"lit": "^2.0.0"
3434
},
3535
"scripts": {
36-
"build": "npm run build:cssprops && tsc --build --force && rollup -c rollup.config.js",
36+
"build": "npm run build:cssprops && npm run build:rootcss && tsc --build --force && rollup -c rollup.config.js",
3737
"build:cssprops": "postcss lib/custom-properties.css --base lib/ --dir dist && npm run custom-properties-cache",
38+
"build:rootcss": "postcss lib/uui-css.css --base lib/ --dir dist",
3839
"clean": "tsc --build --clean && rimraf dist lib/*.js lib/**/*.js custom-elements.json custom-properties.*",
3940
"analyze": "web-component-analyzer **/*.element.ts --outFile custom-elements.json",
4041
"custom-properties-cache": "node ./scripts/update-custom-properties-cache.mjs"

0 commit comments

Comments
 (0)