mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-07-04 11:48:16 +08:00
New doc theme (#387)
This commit is contained in:
@ -14,6 +14,12 @@ After the build is complete, you can navigate to [http://localhost:5080/spectre.
|
||||
|
||||
**Note that the site runs under a virtual directory.**
|
||||
|
||||
## Building the CSS
|
||||
|
||||
The documentation uses tailwind for the CSS. Committed to the repository is a large 4gb file with all possible styles at `assets/style.css`. This file is generated from the root files tailwind.config.js and tailwind.css. Any changes to the overall design style (e.g. colors, markdown styling, etc) can be made in these two files.
|
||||
|
||||
For production, `npm run build:tailwind` should be ran post Statiq build. This process will look at all the styles in the HTML and prune the tailwind file down to a much more manageable 30kb or so file.
|
||||
|
||||
## Editing Content
|
||||
|
||||
The documentation is written using [Markdown](https://www.markdownguide.org/basic-syntax/).
|
||||
|
Reference in New Issue
Block a user