Skip to content

Commit 502bc36

Browse files
committed
fix(docs): update references to windicss.config.js
1 parent ef6f44a commit 502bc36

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

exampleSite/content/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ Try before you buy! [View on Netlify](https://hugo-theme-windicss-starter.netlif
4343

4444
## Installation
4545

46-
1. Copy `windicss.config.js` and `package.json` from `exampleSite/` to project root (`/`)
46+
1. Copy `uno.config.ts` and `package.json` from `exampleSite/` to project root (`/`)
4747
1. Run `pnpm install` (or `yarn install` `npm install`) in project root
4848

4949

5050
### ***Optional:*** Customize Theme
5151

5252
1. Copy (or rename) theme for customization: `cp themes/hugo-theme-windicss-starter themes/my-theme`
5353
1. Remove .git from copied theme: `rm -rf themes/my-theme/.git`
54-
1. Update `/windicss.config.js` and `/package.json` scripts: replace `hugo-theme-windicss-starter` with `my-theme`
54+
1. Update `/uno.config.ts` and `/package.json` scripts: replace `hugo-theme-windicss-starter` with `my-theme`
5555

5656
## Usage
5757

@@ -63,7 +63,7 @@ Try before you buy! [View on Netlify](https://hugo-theme-windicss-starter.netlif
6363

6464
Paths are relative to the theme root
6565

66-
- WindiCSS Config file: `exampleSite/windicss.config.js`
66+
- WindiCSS Config file: `exampleSite/uno.config.ts`
6767
- `windicss` CLI generates: /themes/hugo-theme-windicss-starter/assets/css/windi.css
6868
- NPM Package: `exampleSite/package.json`
6969
- installs `windicss` (`pnpm install`)

exampleSite/content/posts/second-post.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ A basic blog post example with intro and optional on-page title override
1111

1212
## Heading With Class {class="!text-$c-brand-light"}
1313

14-
Note that you'll need to include the `!` to override color because this is in a `.prose` block unless you edit the `windicss.config.js` to use `inherit` color override under the `typography`.
14+
Note that you'll need to include the `!` to override color because this is in a `.prose` block unless you edit the `uno.config.ts` to use `inherit` color override under the `typography`.
1515

1616
Notice that the class is `text-$c-brand-light`; `$c-brand-light = var(--c-brand-light)`
1717

0 commit comments

Comments
 (0)