Skip to content

Commit 7dda760

Browse files
committed
Update Storybook to reflect changes to uui-css output
1 parent cea90c7 commit 7dda760

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.storybook/preview.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { setCustomElements } from '@storybook/web-components';
22
import customElements from '../custom-elements.json';
3-
import '../packages/uui-css/lib/uui-css.css';
3+
import '../packages/uui-css/lib/custom-properties.css';
4+
import '../packages/uui-css/lib/uui-font.css';
5+
import '../packages/uui-css/lib/uui-text.css';
46
import 'element-internals-polyfill';
57

68
const sort = (a, b) => {

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ export default {
99
docs: {
1010
source: {
1111
code: `
12-
<style src="@umbraco-ui/uui-css/root.css"></style>
12+
<link rel="stylesheet" href="@umbraco-ui/uui-css/dist/custom-properties.css" />
13+
<link rel="stylesheet" href="@umbraco-ui/uui-css/dist/uui-font.css" />
14+
<link rel="stylesheet" href="@umbraco-ui/uui-css/dist/uui-text.css" />
1315
`,
1416
},
1517
},
@@ -28,7 +30,7 @@ export const Overview: Story = () => html` <article style="max-width:580px;">
2830
properties in your project.
2931
</li>
3032
<li>
31-
<b>uui-root.css</b> — use the .uui-root class if you like to declare the
33+
<b>uui-font.css</b> — use the .uui-root class if you like to declare the
3234
Umbraco typography, this is needed for getting the Umbraco typography.
3335
</li>
3436
<li>

0 commit comments

Comments
 (0)