diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml
new file mode 100644
index 0000000..cbbede1
--- /dev/null
+++ b/.forgejo/workflows/deploy.yml
@@ -0,0 +1,27 @@
+name: Deploy
+
+on:
+ push:
+ branches:
+ - main
+
+jobs:
+ deploy:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v6
+ - uses: pnpm/setup@v2
+ with:
+ version: 11
+ runtime: node@24
+ cache: true
+ - name: Install deps
+ run: pnpm install --frozen-lockfile
+ - name: Build
+ run: pnpm build
+ - name: Deploy to Netlify
+ run: pnx netlify-cli deploy --prod --dir=build --auth $NETLIFY_AUTH_TOKEN --site $NETLIFY_SITE_ID
+ env:
+ NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
+ NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
diff --git a/.github/workflows/pr.yml b/.forgejo/workflows/pr.yml
similarity index 86%
rename from .github/workflows/pr.yml
rename to .forgejo/workflows/pr.yml
index 9e00633..cf6cb20 100644
--- a/.github/workflows/pr.yml
+++ b/.forgejo/workflows/pr.yml
@@ -19,11 +19,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- - uses: pnpm/setup@v1
+ - uses: pnpm/setup@v2
with:
version: 11
runtime: node@24
cache: true
+ - name: Install deps
+ run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Svelte Check
diff --git a/.opencode/skills/daisyui/SKILL.md b/.opencode/skills/daisyui/SKILL.md
index 448a272..56e68b5 100644
--- a/.opencode/skills/daisyui/SKILL.md
+++ b/.opencode/skills/daisyui/SKILL.md
@@ -7,6 +7,7 @@ metadata:
---
# daisyUI 5
+
daisyUI 5 is a CSS library for Tailwind CSS 4.
daisyUI 5 provides class names for common UI components, semantic color names and themes.
@@ -16,17 +17,17 @@ daisyUI 5 provides class names for common UI components, semantic color names an
- Trigger this skill for any Tailwind CSS UI work
- Trigger this skill when the user mentions any of these terms or similar context:
daisyUI, component, UI, Tailwind, layout, template, theme, color, design
-- Trigger this skill even if the user does not explicitly ask for it
+- Trigger this skill even if the user does not explicitly ask for it
## Mandatory reference
-| Task | Guide | Note |
-|------|-------|------|
-Installing daisyUI | [./install/SKILL.md](./install/SKILL.md) | Use only if daisyUI is not already installed in the project.
-Using daisyUI class names | [./usage/SKILL.md](./usage/SKILL.md) | MANDATORY. Read this before using any daisyUI class names in the code.
-Configuring daisyUI | [./config/SKILL.md](./config/SKILL.md) | Use this if you need to configure daisyUI themes, prefix, logs, or other options. Not required for basic usage but important for advanced customization.
-daisyUI colors and themes | [./colors/SKILL.md](./colors/SKILL.md) | MANDATORY. Read this to understand daisyUI color usage rules and how to use daisyUI colors in the code.
-daisyUI components | [./components/](./components/) | MANDATORY. Read the relevant component docs when using daisyUI components in the code. Always read multiple candidate component docs before deciding which one to use.
+| Task | Guide | Note |
+| ------------------------- | ---------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Installing daisyUI | [./install/SKILL.md](./install/SKILL.md) | Use only if daisyUI is not already installed in the project. |
+| Using daisyUI class names | [./usage/SKILL.md](./usage/SKILL.md) | MANDATORY. Read this before using any daisyUI class names in the code. |
+| Configuring daisyUI | [./config/SKILL.md](./config/SKILL.md) | Use this if you need to configure daisyUI themes, prefix, logs, or other options. Not required for basic usage but important for advanced customization. |
+| daisyUI colors and themes | [./colors/SKILL.md](./colors/SKILL.md) | MANDATORY. Read this to understand daisyUI color usage rules and how to use daisyUI colors in the code. |
+| daisyUI components | [./components/](./components/) | MANDATORY. Read the relevant component docs when using daisyUI components in the code. Always read multiple candidate component docs before deciding which one to use. |
## List of components
diff --git a/.opencode/skills/daisyui/colors/SKILL.md b/.opencode/skills/daisyui/colors/SKILL.md
index e087be3..86630da 100644
--- a/.opencode/skills/daisyui/colors/SKILL.md
+++ b/.opencode/skills/daisyui/colors/SKILL.md
@@ -6,6 +6,7 @@ description: MANDATORY color usage rules for daisyUI 5
## daisyUI 5 colors
### daisyUI color names
+
- `primary`: Primary brand color, The main color of your brand
- `primary-content`: Foreground content color to use on primary color
- `secondary`: Secondary brand color, The optional, secondary color of your brand
@@ -28,6 +29,7 @@ description: MANDATORY color usage rules for daisyUI 5
- `error-content`: Foreground content color to use on error color
### daisyUI color rules
+
1. daisyUI adds semantic color names to Tailwind CSS colors
2. daisyUI color names can be used in utility classes, like other Tailwind CSS color names. For example, `bg-primary` will use the primary color for the background
3. daisyUI color names include variables as value so they can change based on the theme
@@ -45,8 +47,11 @@ description: MANDATORY color usage rules for daisyUI 5
The default configuration enables `light` and `dark`. Choose specific themes, every theme, or no built-in themes in the daisyUI plugin:
```css
-@plugin "daisyui" {
- themes: light --default, dark --prefersdark, cupcake;
+@plugin 'daisyui' {
+ themes:
+ light --default,
+ dark --prefersdark,
+ cupcake;
}
```
@@ -56,59 +61,63 @@ The default configuration enables `light` and `dark`. Choose specific themes, ev
```html
-