diff --git a/.storybook/preview.ts b/.storybook/preview.ts index bb7c2f039..8d450a6e8 100644 --- a/.storybook/preview.ts +++ b/.storybook/preview.ts @@ -1,4 +1,4 @@ -import '../src/styles.css' +import '@/styles/theme.css' export const tags = ['autodocs'] export const parameters = {} diff --git a/README.md b/README.md index 7f7d40b7e..2152b8bab 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ And don't forget to also include the CSS, either with a link tag or inside a CSS ``` ```html - + ``` You can also use some of the helpers exported from the default entry: @@ -76,7 +76,7 @@ Solid-UI provides **ESM** bundles for direct browser usage. You'll also need to ```html
- + @@ -98,7 +98,7 @@ You can also use [import maps](https://developer.mozilla.org/en-US/docs/Web/HTML ```html - + @@ -165,7 +165,7 @@ The build configuration uses [Vite](https://vite.dev/) and is centralized in the The config can be invoked with 4 different modes: - Default: This is the one used to generate ESM and CJS files to be consumed through npm (generates `*.cjs.js` and `*.esm.js` files respectively). It's also used to run Vitest tests and the Storybook. -- `styles`: This mode generates the `styles.css` file that includes global styles (CSS variables for the Design System Tokens). +- `styles`: This mode generates the `theme.css` file that includes global styles (CSS variables for the Design System Tokens). - `cdn`: This generates the ESM bundle to be consumed through CDNs, which has no external dependencies. - `cdn-legacy`: This generates the legacy UMD bundle to be consumed by legacy CDNs that externalize `rdflib` and `solid-logic` (no longer recommended). diff --git a/examples/header/index.html b/examples/header/index.html index e9d8df7d7..d7864bf73 100644 --- a/examples/header/index.html +++ b/examples/header/index.html @@ -4,7 +4,7 @@