set up new workflow and migrate to .forgejo dir #5
8 changed files with 260 additions and 377 deletions
|
|
@ -47,7 +47,7 @@ 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" {
|
||||
@plugin 'daisyui' {
|
||||
themes:
|
||||
light --default,
|
||||
dark --prefersdark,
|
||||
|
|
@ -73,8 +73,8 @@ A CSS file with Tailwind CSS, daisyUI and a custom daisyUI theme looks like this
|
|||
|
||||
```css
|
||||
@import 'tailwindcss';
|
||||
@plugin "daisyui";
|
||||
@plugin "daisyui/theme" {
|
||||
@plugin 'daisyui';
|
||||
@plugin 'daisyui/theme' {
|
||||
name: 'mytheme';
|
||||
default: true; /* set as default */
|
||||
prefersdark: false; /* set as default dark mode (prefers-color-scheme:dark) */
|
||||
|
|
@ -129,7 +129,7 @@ People can use https://daisyui.com/theme-generator/ visual tool to create their
|
|||
Use the built-in theme's name and override only the values that need to change. Other values are inherited:
|
||||
|
||||
```css
|
||||
@plugin "daisyui/theme" {
|
||||
@plugin 'daisyui/theme' {
|
||||
name: 'light';
|
||||
default: true;
|
||||
--color-primary: blue;
|
||||
|
|
|
|||
|
|
@ -10,13 +10,13 @@ daisyUI 5 config docs: https://daisyui.com/docs/config/
|
|||
daisyUI without config:
|
||||
|
||||
```css
|
||||
@plugin "daisyui";
|
||||
@plugin 'daisyui';
|
||||
```
|
||||
|
||||
daisyUI config with `light` theme only:
|
||||
|
||||
```css
|
||||
@plugin "daisyui" {
|
||||
@plugin 'daisyui' {
|
||||
themes: light --default;
|
||||
}
|
||||
```
|
||||
|
|
@ -24,7 +24,7 @@ daisyUI config with `light` theme only:
|
|||
daisyUI with all the default configs:
|
||||
|
||||
```css
|
||||
@plugin "daisyui" {
|
||||
@plugin 'daisyui' {
|
||||
themes:
|
||||
light --default,
|
||||
dark --prefersdark;
|
||||
|
|
@ -42,7 +42,7 @@ All the other themes are enabled and can be used by adding `data-theme="THEME_NA
|
|||
root scrollbar gutter is excluded. `daisy-` prefix is used for all daisyUI classes and console.log is disabled
|
||||
|
||||
```css
|
||||
@plugin "daisyui" {
|
||||
@plugin 'daisyui' {
|
||||
themes:
|
||||
light,
|
||||
dark,
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ description: Installation notes for daisyUI 5
|
|||
|
||||
```css
|
||||
@import 'tailwindcss';
|
||||
@plugin "daisyui";
|
||||
@plugin 'daisyui';
|
||||
```
|
||||
|
||||
### CDN
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ Use Tailwind's `@utility` directive to customize a daisyUI component globally:
|
|||
daisyUI includes the `properties`, `rootcolor`, `scrollbar`, `rootscrolllock`, `rootscrollgutter`, and `svg` base modules. Exclude an unwanted module from the plugin config by its module name:
|
||||
|
||||
```css
|
||||
@plugin "daisyui" {
|
||||
@plugin 'daisyui' {
|
||||
exclude: rootscrollgutter;
|
||||
}
|
||||
```
|
||||
|
|
|
|||
18
package.json
18
package.json
|
|
@ -15,28 +15,28 @@
|
|||
"test": "npm run test:unit -- --run"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/compat": "^1.2.8",
|
||||
"@eslint/js": "^9.25.1",
|
||||
"@eslint/compat": "^2.1.0",
|
||||
"@eslint/js": "^10.0.1",
|
||||
"@sveltejs/adapter-node": "^5.5.2",
|
||||
"@sveltejs/kit": "^2.20.7",
|
||||
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
||||
"@tailwindcss/vite": "^4.1.4",
|
||||
"autoprefixer": "^10.4.21",
|
||||
"daisyui": "^5.5.14",
|
||||
"eslint": "^9.25.1",
|
||||
"eslint": "^10.8.1",
|
||||
"eslint-config-prettier": "^10.1.2",
|
||||
"eslint-plugin-svelte": "^3.5.1",
|
||||
"globals": "^16.0.0",
|
||||
"eslint-plugin-svelte": "^3.22.0",
|
||||
"globals": "^17.9.0",
|
||||
"mdsvex": "^0.12.6",
|
||||
"pino-pretty": "^13.0.0",
|
||||
"prettier": "^3.5.3",
|
||||
"prettier-plugin-svelte": "^3.3.3",
|
||||
"prettier-plugin-tailwindcss": "^0.6.11",
|
||||
"prettier": "^3.9.6",
|
||||
"prettier-plugin-svelte": "^4.1.1",
|
||||
"prettier-plugin-tailwindcss": "^0.8.1",
|
||||
"svelte": "^5.28.2",
|
||||
"svelte-check": "^4.1.6",
|
||||
"tailwindcss": "^4.1.4",
|
||||
"typescript": "^5.8.3",
|
||||
"typescript-eslint": "^8.31.0",
|
||||
"typescript-eslint": "^8.67.0",
|
||||
"vite": "^6.3.3",
|
||||
"vitest": "^3.1.2"
|
||||
},
|
||||
|
|
|
|||
594
pnpm-lock.yaml
generated
594
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
|
@ -1,6 +1,6 @@
|
|||
@import 'tailwindcss';
|
||||
|
||||
@plugin "daisyui" {
|
||||
@plugin 'daisyui' {
|
||||
themes:
|
||||
nord --default,
|
||||
forest --prefersdark;
|
||||
|
|
|
|||
|
|
@ -56,8 +56,7 @@
|
|||
name="message"
|
||||
form="contact"
|
||||
class="textarea textarea-bordered h-full min-h-48 w-full resize-none"
|
||||
placeholder="Message"
|
||||
></textarea>
|
||||
placeholder="Message"></textarea>
|
||||
</div>
|
||||
|
||||
<button disabled={loading} type="submit" class="btn btn-primary transition-colors duration-400">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue