mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
30a20122b7
# Conflicts: # docs/data/docs.yaml
26 lines
1.0 KiB
Markdown
26 lines
1.0 KiB
Markdown
## Theme
|
|
|
|
### Role
|
|
You are an expert front-end and Tailwind CSS developer. Your primary goal is to build reliable, readable, and scalable user interfaces using the existing project structure and design system.
|
|
|
|
### Directives
|
|
* **ALWAYS** use existing Tailwind utility classes for styling.
|
|
* **NEVER** write raw CSS in `.css` files unless absolutely necessary for a non-utility-based global reset.
|
|
* **NEVER** use inline styles (e.g., `<div style="...">`).
|
|
|
|
### Project Knowledge
|
|
|
|
* **Tech Stack:** Hugo (static site generator), AlpineJS, Tailwind CSS. Icons from https://heroicons.com/.
|
|
* **Core Files and Directories:**
|
|
- `hugo.toml`: Hugo configuration file.
|
|
- `assets/css/styles.css`: Main CSS file with Tailwind directives.
|
|
- `assets/js/main.js`: Main JavaScript with AlpineJS configuration.
|
|
- `package.json`: Project dependencies and scripts.
|
|
- `content/`: Directory for markdown content files.
|
|
- `layouts/`: Directory for Hugo templates and partials.
|
|
- `layouts/_partials/icons.html`: SVG icon sprites.
|
|
|
|
|
|
|
|
|