daisyui 5.0.0-alpha.2 → 5.0.0-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base/properties/index.js +4 -0
- package/base/properties/object.js +1 -0
- package/base/properties.css +1 -0
- package/base/rootcolor/index.js +4 -0
- package/base/rootcolor/object.js +1 -0
- package/base/rootcolor.css +1 -0
- package/base/scrollbar/index.js +4 -0
- package/base/scrollbar/object.js +1 -0
- package/base/scrollbar.css +1 -0
- package/chunks.css +46 -0
- package/colors/properties.css +1 -0
- package/colors/responsive.css +1 -0
- package/colors/states.css +1 -0
- package/components/alert/class.json +12 -0
- package/components/alert/index.js +4 -0
- package/components/alert/object.js +1 -0
- package/components/alert.css +1 -0
- package/components/avatar/class.json +7 -0
- package/components/avatar/index.js +4 -0
- package/components/avatar/object.js +1 -0
- package/components/avatar.css +1 -0
- package/components/badge/class.json +19 -0
- package/components/badge/index.js +4 -74
- package/components/badge/object.js +1 -0
- package/components/badge.css +1 -109
- package/components/button/class.json +27 -0
- package/components/button/index.js +4 -170
- package/components/button/object.js +1 -0
- package/components/button.css +1 -293
- package/components/card/class.json +13 -0
- package/components/card/index.js +4 -0
- package/components/card/object.js +1 -0
- package/components/card.css +1 -0
- package/components/chat/class.json +17 -0
- package/components/chat/index.js +4 -0
- package/components/chat/object.js +1 -0
- package/components/chat.css +1 -0
- package/components/checkbox/class.json +17 -0
- package/components/checkbox/index.js +4 -108
- package/components/checkbox/object.js +1 -0
- package/components/checkbox.css +1 -144
- package/components/collapse/class.json +10 -0
- package/components/collapse/index.js +4 -0
- package/components/collapse/object.js +1 -0
- package/components/collapse.css +1 -0
- package/components/countdown/class.json +3 -0
- package/components/countdown/index.js +4 -0
- package/components/countdown/object.js +1 -0
- package/components/countdown.css +1 -0
- package/components/divider/class.json +15 -0
- package/components/divider/index.js +4 -0
- package/components/divider/object.js +1 -0
- package/components/divider.css +1 -0
- package/components/dropdown/class.json +15 -0
- package/components/dropdown/index.js +4 -0
- package/components/dropdown/object.js +1 -0
- package/components/dropdown.css +1 -0
- package/components/footer/class.json +7 -0
- package/components/footer/index.js +4 -0
- package/components/footer/object.js +1 -0
- package/components/footer.css +1 -0
- package/components/hero/class.json +5 -0
- package/components/hero/index.js +4 -0
- package/components/hero/object.js +1 -0
- package/components/hero.css +1 -0
- package/components/input/class.json +16 -0
- package/components/input/index.js +4 -128
- package/components/input/object.js +1 -0
- package/components/input.css +1 -204
- package/components/kbd/class.json +7 -0
- package/components/kbd/index.js +4 -27
- package/components/kbd/object.js +1 -0
- package/components/kbd.css +1 -49
- package/components/link/class.json +12 -0
- package/components/link/index.js +4 -0
- package/components/link/object.js +1 -0
- package/components/link.css +1 -0
- package/components/loading/class.json +21 -0
- package/components/loading/index.js +4 -0
- package/components/loading/object.js +1 -0
- package/components/loading.css +1 -0
- package/components/mask/class.json +24 -0
- package/components/mask/index.js +4 -74
- package/components/mask/object.js +1 -0
- package/components/mask.css +1 -78
- package/components/menu/class.json +16 -0
- package/components/menu/index.js +4 -0
- package/components/menu/object.js +1 -0
- package/components/menu.css +1 -0
- package/components/navbar/class.json +6 -0
- package/components/navbar/index.js +4 -0
- package/components/navbar/object.js +1 -0
- package/components/navbar.css +1 -0
- package/components/progress/class.json +10 -0
- package/components/progress/index.js +4 -0
- package/components/progress/object.js +1 -0
- package/components/progress.css +1 -0
- package/components/radialprogress/class.json +3 -0
- package/components/radialprogress/index.js +4 -0
- package/components/radialprogress/object.js +1 -0
- package/components/radialprogress.css +1 -0
- package/components/radio/class.json +14 -0
- package/components/radio/index.js +4 -73
- package/components/radio/object.js +1 -0
- package/components/radio.css +1 -102
- package/components/range/class.json +14 -0
- package/components/range/index.js +4 -132
- package/components/range/object.js +1 -0
- package/components/range.css +1 -164
- package/components/rating/class.json +6 -0
- package/components/rating/index.js +4 -82
- package/components/rating/object.js +1 -0
- package/components/rating.css +1 -104
- package/components/select/class.json +16 -0
- package/components/select/index.js +4 -99
- package/components/select/object.js +1 -0
- package/components/select.css +1 -166
- package/components/skeleton/class.json +3 -0
- package/components/skeleton/index.js +4 -0
- package/components/skeleton/object.js +1 -0
- package/components/skeleton.css +1 -0
- package/components/stack/class.json +3 -0
- package/components/stack/index.js +4 -0
- package/components/stack/object.js +1 -0
- package/components/stack.css +1 -0
- package/components/status/class.json +15 -0
- package/components/status/index.js +4 -0
- package/components/status/object.js +1 -0
- package/components/status.css +1 -0
- package/components/steps/class.json +14 -0
- package/components/steps/index.js +4 -0
- package/components/steps/object.js +1 -0
- package/components/steps.css +1 -0
- package/components/swap/class.json +10 -0
- package/components/swap/index.js +4 -0
- package/components/swap/object.js +1 -0
- package/components/swap.css +1 -0
- package/components/tab/class.json +13 -0
- package/components/tab/index.js +4 -0
- package/components/tab/object.js +1 -0
- package/components/tab.css +1 -0
- package/components/table/class.json +9 -0
- package/components/table/index.js +4 -0
- package/components/table/object.js +1 -0
- package/components/table.css +1 -0
- package/components/timeline/class.json +11 -0
- package/components/timeline/index.js +4 -0
- package/components/timeline/object.js +1 -0
- package/components/timeline.css +1 -0
- package/components/toggle/class.json +16 -0
- package/components/toggle/index.js +4 -102
- package/components/toggle/object.js +1 -0
- package/components/toggle.css +1 -143
- package/components/tooltip/class.json +17 -0
- package/components/tooltip/index.js +4 -0
- package/components/tooltip/object.js +1 -0
- package/components/tooltip.css +1 -0
- package/full.css +1 -0
- package/functions/plugin.js +10 -10
- package/functions/pluginOptionsHandler.js +44 -0
- package/functions/variables.js +33 -0
- package/index.js +132 -0
- package/package.json +18 -8
- package/theme/acid/index.css +28 -0
- package/theme/acid/index.js +4 -0
- package/theme/acid/object.js +1 -0
- package/theme/aqua/index.css +28 -0
- package/theme/aqua/index.js +4 -0
- package/theme/aqua/object.js +1 -0
- package/theme/autumn/index.css +28 -0
- package/theme/autumn/index.js +4 -0
- package/theme/autumn/object.js +1 -0
- package/theme/black/index.css +28 -0
- package/theme/black/index.js +4 -0
- package/theme/black/object.js +1 -0
- package/theme/bumblebee/index.css +28 -0
- package/theme/bumblebee/index.js +4 -0
- package/theme/bumblebee/object.js +1 -0
- package/theme/business/index.css +28 -0
- package/theme/business/index.js +4 -0
- package/theme/business/object.js +1 -0
- package/theme/cmyk/index.css +28 -0
- package/theme/cmyk/index.js +4 -0
- package/theme/cmyk/object.js +1 -0
- package/theme/coffee/index.css +28 -0
- package/theme/coffee/index.js +4 -0
- package/theme/coffee/object.js +1 -0
- package/theme/corporate/index.css +28 -0
- package/theme/corporate/index.js +4 -0
- package/theme/corporate/object.js +1 -0
- package/theme/cupcake/index.css +28 -0
- package/theme/cupcake/index.js +4 -0
- package/theme/cupcake/object.js +1 -0
- package/theme/cyberpunk/index.css +28 -0
- package/theme/cyberpunk/index.js +4 -0
- package/theme/cyberpunk/object.js +1 -0
- package/theme/dark/index.css +28 -0
- package/theme/dark/index.js +4 -0
- package/theme/dark/object.js +1 -0
- package/theme/dim/index.css +28 -0
- package/theme/dim/index.js +4 -0
- package/theme/dim/object.js +1 -0
- package/theme/dracula/index.css +28 -0
- package/theme/dracula/index.js +4 -0
- package/theme/dracula/object.js +1 -0
- package/theme/emerald/index.css +28 -0
- package/theme/emerald/index.js +4 -0
- package/theme/emerald/object.js +1 -0
- package/theme/fantasy/index.css +28 -0
- package/theme/fantasy/index.js +4 -0
- package/theme/fantasy/object.js +1 -0
- package/theme/forest/index.css +28 -0
- package/theme/forest/index.js +4 -0
- package/theme/forest/object.js +1 -0
- package/theme/garden/index.css +28 -0
- package/theme/garden/index.js +4 -0
- package/theme/garden/object.js +1 -0
- package/theme/halloween/index.css +28 -0
- package/theme/halloween/index.js +4 -0
- package/theme/halloween/object.js +1 -0
- package/theme/index.js +49 -0
- package/theme/lemonade/index.css +28 -0
- package/theme/lemonade/index.js +4 -0
- package/theme/lemonade/object.js +1 -0
- package/theme/light/index.css +28 -0
- package/theme/light/index.js +4 -0
- package/theme/light/object.js +1 -0
- package/theme/lofi/index.css +28 -0
- package/theme/lofi/index.js +4 -0
- package/theme/lofi/object.js +1 -0
- package/theme/luxury/index.css +28 -0
- package/theme/luxury/index.js +4 -0
- package/theme/luxury/object.js +1 -0
- package/theme/night/index.css +28 -0
- package/theme/night/index.js +4 -0
- package/theme/night/object.js +1 -0
- package/theme/nord/index.css +28 -0
- package/theme/nord/index.js +4 -0
- package/theme/nord/object.js +1 -0
- package/theme/object.js +1 -0
- package/theme/pastel/index.css +28 -0
- package/theme/pastel/index.js +4 -0
- package/theme/pastel/object.js +1 -0
- package/theme/retro/index.css +28 -0
- package/theme/retro/index.js +4 -0
- package/theme/retro/object.js +1 -0
- package/theme/sunset/index.css +28 -0
- package/theme/sunset/index.js +4 -0
- package/theme/sunset/object.js +1 -0
- package/theme/synthwave/index.css +28 -0
- package/theme/synthwave/index.js +4 -0
- package/theme/synthwave/object.js +1 -0
- package/theme/valentine/index.css +28 -0
- package/theme/valentine/index.js +4 -0
- package/theme/valentine/object.js +1 -0
- package/theme/winter/index.css +28 -0
- package/theme/winter/index.js +4 -0
- package/theme/winter/object.js +1 -0
- package/theme/wireframe/index.css +28 -0
- package/theme/wireframe/index.js +4 -0
- package/theme/wireframe/object.js +1 -0
- package/themes.css +1 -0
- package/utilities/join/index.js +4 -0
- package/utilities/join/object.js +1 -0
- package/utilities/join.css +1 -0
- package/components/badge/config.js +0 -12
- package/components/badge/index.css +0 -1
- package/components/button/config.js +0 -12
- package/components/button/index.css +0 -1
- package/components/checkbox/config.js +0 -12
- package/components/checkbox/index.css +0 -1
- package/components/input/config.js +0 -12
- package/components/input/index.css +0 -1
- package/components/kbd/config.js +0 -12
- package/components/kbd/index.css +0 -1
- package/components/mask/config.js +0 -12
- package/components/mask/index.css +0 -1
- package/components/radio/config.js +0 -12
- package/components/radio/index.css +0 -1
- package/components/range/config.js +0 -12
- package/components/range/index.css +0 -1
- package/components/rating/config.js +0 -12
- package/components/rating/index.css +0 -1
- package/components/select/config.js +0 -12
- package/components/select/index.css +0 -1
- package/components/toggle/config.js +0 -12
- package/components/toggle/index.css +0 -1
- package/index.css +0 -14
- package/themes/dark/index.css +0 -26
- package/themes/default/index.css +0 -26
- package/themes/index.css +0 -26
- package/themes/light/index.css +0 -26
package/functions/plugin.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
1
|
+
export const plugin = {
|
|
2
|
+
withOptions: (pluginFunction, configFunction = () => ({})) => {
|
|
3
|
+
const optionsFunction = (options) => ({
|
|
4
|
+
handler: pluginFunction(options),
|
|
5
|
+
config: configFunction(options),
|
|
6
|
+
});
|
|
7
|
+
optionsFunction.__isOptionsFunction = true;
|
|
8
|
+
return optionsFunction;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export const pluginOptionsHandler = (() => {
|
|
2
|
+
let firstRun = true;
|
|
3
|
+
return (options, addBase, allThemes, packageVersion) => {
|
|
4
|
+
const {
|
|
5
|
+
logs = true,
|
|
6
|
+
themeRoot = ":root",
|
|
7
|
+
themes = ['light --default', 'dark --prefersDark'],
|
|
8
|
+
include,
|
|
9
|
+
exclude
|
|
10
|
+
} = options || {};
|
|
11
|
+
|
|
12
|
+
if (logs !== false && firstRun) {
|
|
13
|
+
console.log(`/*! 🌼 daisyUI ${packageVersion} */`);
|
|
14
|
+
firstRun = false;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const applyTheme = (themeName, flags) => {
|
|
18
|
+
if (allThemes[themeName]) {
|
|
19
|
+
let selector = `${themeRoot}:has(input.theme-controller[value=${themeName}]:checked),[data-theme=${themeName}]`;
|
|
20
|
+
if (flags.includes('--default')) {
|
|
21
|
+
selector = `${themeRoot},${selector}`;
|
|
22
|
+
}
|
|
23
|
+
addBase({ [selector]: allThemes[themeName] });
|
|
24
|
+
|
|
25
|
+
if (flags.includes('--prefersDark')) {
|
|
26
|
+
addBase({ "@media (prefers-color-scheme: dark)": { [themeRoot]: allThemes[themeName] } });
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
if (themes) {
|
|
32
|
+
if (Array.isArray(themes)) {
|
|
33
|
+
themes.forEach(themeOption => {
|
|
34
|
+
const [themeName, ...flags] = themeOption.split(' ');
|
|
35
|
+
applyTheme(themeName, flags);
|
|
36
|
+
});
|
|
37
|
+
} else {
|
|
38
|
+
const [themeName, ...flags] = themes.split(' ');
|
|
39
|
+
applyTheme(themeName, flags);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return { include, exclude };
|
|
43
|
+
};
|
|
44
|
+
})();
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
colors: {
|
|
3
|
+
'base-100': 'var(--color-base-100)',
|
|
4
|
+
'base-200': 'var(--color-base-200)',
|
|
5
|
+
'base-300': 'var(--color-base-300)',
|
|
6
|
+
'base-content': 'var(--color-base-content)',
|
|
7
|
+
'primary': 'var(--color-primary)',
|
|
8
|
+
'primary-content': 'var(--color-primary-content)',
|
|
9
|
+
'secondary': 'var(--color-secondary)',
|
|
10
|
+
'secondary-content': 'var(--color-secondary-content)',
|
|
11
|
+
'accent': 'var(--color-accent)',
|
|
12
|
+
'accent-content': 'var(--color-accent-content)',
|
|
13
|
+
'neutral': 'var(--color-neutral)',
|
|
14
|
+
'neutral-content': 'var(--color-neutral-content)',
|
|
15
|
+
'info': 'var(--color-info)',
|
|
16
|
+
'info-content': 'var(--color-info-content)',
|
|
17
|
+
'success': 'var(--color-success)',
|
|
18
|
+
'success-content': 'var(--color-success-content)',
|
|
19
|
+
'warning': 'var(--color-warning)',
|
|
20
|
+
'warning-content': 'var(--color-warning-content)',
|
|
21
|
+
'error': 'var(--color-error)',
|
|
22
|
+
'error-content': 'var(--color-error-content)',
|
|
23
|
+
},
|
|
24
|
+
borderRadius: {
|
|
25
|
+
'badge': 'var(--radius-badge)',
|
|
26
|
+
'btn': 'var(--radius-btn)',
|
|
27
|
+
'box': 'var(--radius-box)',
|
|
28
|
+
},
|
|
29
|
+
borderWidth: {
|
|
30
|
+
'button': 'var(--spacing-button-border)',
|
|
31
|
+
'tab': 'var(--spacing-tab-border)',
|
|
32
|
+
}
|
|
33
|
+
}
|
package/index.js
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { plugin } from './functions/plugin.js';
|
|
2
|
+
import { pluginOptionsHandler } from './functions/pluginOptionsHandler.js';
|
|
3
|
+
import variables from './functions/variables.js';
|
|
4
|
+
import allThemes from './theme/object.js';
|
|
5
|
+
import rootcolor from './base/rootcolor';
|
|
6
|
+
import properties from './base/properties';
|
|
7
|
+
import scrollbar from './base/scrollbar';
|
|
8
|
+
import kbd from './components/kbd';
|
|
9
|
+
import dropdown from './components/dropdown';
|
|
10
|
+
import navbar from './components/navbar';
|
|
11
|
+
import footer from './components/footer';
|
|
12
|
+
import tooltip from './components/tooltip';
|
|
13
|
+
import rating from './components/rating';
|
|
14
|
+
import radio from './components/radio';
|
|
15
|
+
import card from './components/card';
|
|
16
|
+
import loading from './components/loading';
|
|
17
|
+
import radialprogress from './components/radialprogress';
|
|
18
|
+
import progress from './components/progress';
|
|
19
|
+
import chat from './components/chat';
|
|
20
|
+
import countdown from './components/countdown';
|
|
21
|
+
import input from './components/input';
|
|
22
|
+
import alert from './components/alert';
|
|
23
|
+
import skeleton from './components/skeleton';
|
|
24
|
+
import swap from './components/swap';
|
|
25
|
+
import checkbox from './components/checkbox';
|
|
26
|
+
import collapse from './components/collapse';
|
|
27
|
+
import status from './components/status';
|
|
28
|
+
import tab from './components/tab';
|
|
29
|
+
import toggle from './components/toggle';
|
|
30
|
+
import mask from './components/mask';
|
|
31
|
+
import button from './components/button';
|
|
32
|
+
import steps from './components/steps';
|
|
33
|
+
import link from './components/link';
|
|
34
|
+
import table from './components/table';
|
|
35
|
+
import divider from './components/divider';
|
|
36
|
+
import menu from './components/menu';
|
|
37
|
+
import avatar from './components/avatar';
|
|
38
|
+
import select from './components/select';
|
|
39
|
+
import stack from './components/stack';
|
|
40
|
+
import hero from './components/hero';
|
|
41
|
+
import range from './components/range';
|
|
42
|
+
import timeline from './components/timeline';
|
|
43
|
+
import badge from './components/badge';
|
|
44
|
+
import join from './utilities/join';
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
export default plugin.withOptions(
|
|
48
|
+
(options) => {
|
|
49
|
+
return ({ addBase, addComponents, addUtilities }) => {
|
|
50
|
+
const { include, exclude } = pluginOptionsHandler(options, addBase, allThemes, "5.0.0-alpha.21");
|
|
51
|
+
const itemMap = {
|
|
52
|
+
rootcolor: { item: rootcolor, category: 'base' },
|
|
53
|
+
properties: { item: properties, category: 'base' },
|
|
54
|
+
scrollbar: { item: scrollbar, category: 'base' },
|
|
55
|
+
kbd: { item: kbd, category: 'components' },
|
|
56
|
+
dropdown: { item: dropdown, category: 'components' },
|
|
57
|
+
navbar: { item: navbar, category: 'components' },
|
|
58
|
+
footer: { item: footer, category: 'components' },
|
|
59
|
+
tooltip: { item: tooltip, category: 'components' },
|
|
60
|
+
rating: { item: rating, category: 'components' },
|
|
61
|
+
radio: { item: radio, category: 'components' },
|
|
62
|
+
card: { item: card, category: 'components' },
|
|
63
|
+
loading: { item: loading, category: 'components' },
|
|
64
|
+
radialprogress: { item: radialprogress, category: 'components' },
|
|
65
|
+
progress: { item: progress, category: 'components' },
|
|
66
|
+
chat: { item: chat, category: 'components' },
|
|
67
|
+
countdown: { item: countdown, category: 'components' },
|
|
68
|
+
input: { item: input, category: 'components' },
|
|
69
|
+
alert: { item: alert, category: 'components' },
|
|
70
|
+
skeleton: { item: skeleton, category: 'components' },
|
|
71
|
+
swap: { item: swap, category: 'components' },
|
|
72
|
+
checkbox: { item: checkbox, category: 'components' },
|
|
73
|
+
collapse: { item: collapse, category: 'components' },
|
|
74
|
+
status: { item: status, category: 'components' },
|
|
75
|
+
tab: { item: tab, category: 'components' },
|
|
76
|
+
toggle: { item: toggle, category: 'components' },
|
|
77
|
+
mask: { item: mask, category: 'components' },
|
|
78
|
+
button: { item: button, category: 'components' },
|
|
79
|
+
steps: { item: steps, category: 'components' },
|
|
80
|
+
link: { item: link, category: 'components' },
|
|
81
|
+
table: { item: table, category: 'components' },
|
|
82
|
+
divider: { item: divider, category: 'components' },
|
|
83
|
+
menu: { item: menu, category: 'components' },
|
|
84
|
+
avatar: { item: avatar, category: 'components' },
|
|
85
|
+
select: { item: select, category: 'components' },
|
|
86
|
+
stack: { item: stack, category: 'components' },
|
|
87
|
+
hero: { item: hero, category: 'components' },
|
|
88
|
+
range: { item: range, category: 'components' },
|
|
89
|
+
timeline: { item: timeline, category: 'components' },
|
|
90
|
+
badge: { item: badge, category: 'components' },
|
|
91
|
+
join: { item: join, category: 'utilities' }, };
|
|
92
|
+
|
|
93
|
+
const shouldIncludeItem = (name) => {
|
|
94
|
+
if (include && exclude) {
|
|
95
|
+
return include.includes(name) && !exclude.includes(name);
|
|
96
|
+
}
|
|
97
|
+
if (include) {
|
|
98
|
+
return include.includes(name);
|
|
99
|
+
}
|
|
100
|
+
if (exclude) {
|
|
101
|
+
return !exclude.includes(name);
|
|
102
|
+
}
|
|
103
|
+
return true;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
Object.entries(itemMap).forEach(([name, { item, category }]) => {
|
|
107
|
+
if (shouldIncludeItem(name)) {
|
|
108
|
+
switch (category) {
|
|
109
|
+
case 'base':
|
|
110
|
+
item({ addBase });
|
|
111
|
+
break;
|
|
112
|
+
case 'utilities':
|
|
113
|
+
item({ addUtilities });
|
|
114
|
+
break;
|
|
115
|
+
case 'components':
|
|
116
|
+
default:
|
|
117
|
+
item({ addComponents });
|
|
118
|
+
break;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
(options) => {
|
|
125
|
+
return {
|
|
126
|
+
theme: {
|
|
127
|
+
extend: variables
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
)
|
|
132
|
+
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "daisyui",
|
|
4
|
-
"version": "5.0.0-alpha.
|
|
4
|
+
"version": "5.0.0-alpha.21",
|
|
5
5
|
"description": "daisyUI - Tailwind CSS Components",
|
|
6
6
|
"author": "Pouya Saadeghi",
|
|
7
7
|
"license": "MIT",
|
|
@@ -32,12 +32,20 @@
|
|
|
32
32
|
"css",
|
|
33
33
|
"ui"
|
|
34
34
|
],
|
|
35
|
-
"main": "index.
|
|
35
|
+
"main": "index.js",
|
|
36
36
|
"files": [
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
"base",
|
|
38
|
+
"colors",
|
|
39
|
+
"components",
|
|
40
|
+
"functions/plugin.js",
|
|
41
|
+
"functions/pluginOptionsHandler.js",
|
|
42
|
+
"functions/variables.js",
|
|
43
|
+
"theme",
|
|
44
|
+
"utilities",
|
|
45
|
+
"index.js",
|
|
46
|
+
"chunks.css",
|
|
47
|
+
"full.css",
|
|
48
|
+
"themes.css"
|
|
41
49
|
],
|
|
42
50
|
"engines": {
|
|
43
51
|
"node": ">=16.9.0"
|
|
@@ -58,19 +66,21 @@
|
|
|
58
66
|
"build": "bun build.js",
|
|
59
67
|
"dev": "cd src/docs && npm run dev",
|
|
60
68
|
"playground": "cd src/experiments/playground && npm run dev",
|
|
69
|
+
"wallace": "npx -y wallace-cli full.css",
|
|
61
70
|
"release": "node src/release",
|
|
62
71
|
"publish:alpha": "npm publish --tag=alpha",
|
|
63
72
|
"alpha": "npm run release -- --alpha && npm publish --tag=alpha"
|
|
64
73
|
},
|
|
65
74
|
"devDependencies": {
|
|
66
75
|
"@biomejs/biome": "^1.9.2",
|
|
67
|
-
"@tailwindcss/cli": "^4.0.0-alpha.
|
|
76
|
+
"@tailwindcss/cli": "^4.0.0-alpha.27",
|
|
68
77
|
"commit-and-tag-version": "12.4.1",
|
|
78
|
+
"lightningcss": "^1.27.0",
|
|
69
79
|
"postcss": "^8.4.45",
|
|
70
80
|
"postcss-js": "^4.0.1",
|
|
71
81
|
"postcss-prefixer": "^3.0.0",
|
|
72
82
|
"prettier": "^3.3.3",
|
|
73
83
|
"prettier-plugin-tailwindcss": "^0.6.6",
|
|
74
|
-
"
|
|
84
|
+
"zlib": "^1.0.5"
|
|
75
85
|
}
|
|
76
86
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
:root:has(input.theme-controller[value=acid]:checked),[data-theme="acid"] {
|
|
2
|
+
color-scheme: light;
|
|
3
|
+
--color-base-100: oklch(98.5104% 0 0);
|
|
4
|
+
--color-base-200: oklch(91.6146% 0 0);
|
|
5
|
+
--color-base-300: oklch(84.7189% 0 0);
|
|
6
|
+
--color-base-content: oklch(19.7021% 0 0);
|
|
7
|
+
--color-primary: oklch(71.9% 0.357 330.759573);
|
|
8
|
+
--color-primary-content: oklch(14.38% 0.0714 330.759573);
|
|
9
|
+
--color-secondary: oklch(73.37% 0.224 48.250878);
|
|
10
|
+
--color-secondary-content: oklch(14.674% 0.0448 48.250878);
|
|
11
|
+
--color-accent: oklch(92.78% 0.264 122.962951);
|
|
12
|
+
--color-accent-content: oklch(18.556% 0.0528 122.962951);
|
|
13
|
+
--color-neutral: oklch(21.31% 0.128 278.68);
|
|
14
|
+
--color-neutral-content: oklch(84.262% 0.0256 278.68);
|
|
15
|
+
--color-info: oklch(60.72% 0.227 252.05);
|
|
16
|
+
--color-info-content: oklch(12.144% 0.0454 252.05);
|
|
17
|
+
--color-success: oklch(85.72% 0.266 158.53);
|
|
18
|
+
--color-success-content: oklch(17.144% 0.0532 158.53);
|
|
19
|
+
--color-warning: oklch(91.01% 0.212 100.5);
|
|
20
|
+
--color-warning-content: oklch(18.202% 0.0424 100.5);
|
|
21
|
+
--color-error: oklch(64.84% 0.293 29.349188);
|
|
22
|
+
--color-error-content: oklch(12.968% 0.0586 29.349188);
|
|
23
|
+
--radius-badge: 1rem;
|
|
24
|
+
--radius-btn: 1rem;
|
|
25
|
+
--radius-box: 1.25rem;
|
|
26
|
+
--spacing-button-border: 1px;
|
|
27
|
+
--spacing-tab-border: 1px;
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default {"colorScheme":"light","--color-base-100":"oklch(98.5104% 0 0)","--color-base-200":"oklch(91.6146% 0 0)","--color-base-300":"oklch(84.7189% 0 0)","--color-base-content":"oklch(19.7021% 0 0)","--color-primary":"oklch(71.9% 0.357 330.759573)","--color-primary-content":"oklch(14.38% 0.0714 330.759573)","--color-secondary":"oklch(73.37% 0.224 48.250878)","--color-secondary-content":"oklch(14.674% 0.0448 48.250878)","--color-accent":"oklch(92.78% 0.264 122.962951)","--color-accent-content":"oklch(18.556% 0.0528 122.962951)","--color-neutral":"oklch(21.31% 0.128 278.68)","--color-neutral-content":"oklch(84.262% 0.0256 278.68)","--color-info":"oklch(60.72% 0.227 252.05)","--color-info-content":"oklch(12.144% 0.0454 252.05)","--color-success":"oklch(85.72% 0.266 158.53)","--color-success-content":"oklch(17.144% 0.0532 158.53)","--color-warning":"oklch(91.01% 0.212 100.5)","--color-warning-content":"oklch(18.202% 0.0424 100.5)","--color-error":"oklch(64.84% 0.293 29.349188)","--color-error-content":"oklch(12.968% 0.0586 29.349188)","--radius-badge":"1rem","--radius-btn":"1rem","--radius-box":"1.25rem","--spacing-button-border":"1px","--spacing-tab-border":"1px"};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
:root:has(input.theme-controller[value=aqua]:checked),[data-theme="aqua"] {
|
|
2
|
+
color-scheme: dark;
|
|
3
|
+
--color-base-100: oklch(48.7596% 0.127539 261.181672);
|
|
4
|
+
--color-base-200: oklch(45.3464% 0.118611 261.181672);
|
|
5
|
+
--color-base-300: oklch(41.9333% 0.109683 261.181672);
|
|
6
|
+
--color-base-content: oklch(89.7519% 0.025508 261.181672);
|
|
7
|
+
--color-primary: oklch(85.6617% 0.14498 198.6458);
|
|
8
|
+
--color-primary-content: oklch(40.1249% 0.068266 197.603872);
|
|
9
|
+
--color-secondary: oklch(60.6827% 0.108752 309.782946);
|
|
10
|
+
--color-secondary-content: oklch(12.1365% 0.02175 309.782946);
|
|
11
|
+
--color-accent: oklch(93.4269% 0.102225 94.555431);
|
|
12
|
+
--color-accent-content: oklch(18.6854% 0.020445 94.555431);
|
|
13
|
+
--color-neutral: oklch(61.0622% 0.117009 243.760661);
|
|
14
|
+
--color-neutral-content: oklch(12.2124% 0.023402 243.760661);
|
|
15
|
+
--color-info: oklch(54.615% 0.215208 262.880917);
|
|
16
|
+
--color-info-content: oklch(90.923% 0.043042 262.880917);
|
|
17
|
+
--color-success: oklch(62.7052% 0.169912 149.213788);
|
|
18
|
+
--color-success-content: oklch(12.541% 0.033982 149.213788);
|
|
19
|
+
--color-warning: oklch(66.584% 0.157422 58.31834);
|
|
20
|
+
--color-warning-content: oklch(13.3168% 0.031484 58.31834);
|
|
21
|
+
--color-error: oklch(73.95% 0.19 27.33);
|
|
22
|
+
--color-error-content: oklch(14.79% 0.038 27.33);
|
|
23
|
+
--radius-badge: 1.9rem;
|
|
24
|
+
--radius-btn: 0.5rem;
|
|
25
|
+
--radius-box: 1rem;
|
|
26
|
+
--spacing-button-border: 1px;
|
|
27
|
+
--spacing-tab-border: 1px;
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default {"colorScheme":"dark","--color-base-100":"oklch(48.7596% 0.127539 261.181672)","--color-base-200":"oklch(45.3464% 0.118611 261.181672)","--color-base-300":"oklch(41.9333% 0.109683 261.181672)","--color-base-content":"oklch(89.7519% 0.025508 261.181672)","--color-primary":"oklch(85.6617% 0.14498 198.6458)","--color-primary-content":"oklch(40.1249% 0.068266 197.603872)","--color-secondary":"oklch(60.6827% 0.108752 309.782946)","--color-secondary-content":"oklch(12.1365% 0.02175 309.782946)","--color-accent":"oklch(93.4269% 0.102225 94.555431)","--color-accent-content":"oklch(18.6854% 0.020445 94.555431)","--color-neutral":"oklch(61.0622% 0.117009 243.760661)","--color-neutral-content":"oklch(12.2124% 0.023402 243.760661)","--color-info":"oklch(54.615% 0.215208 262.880917)","--color-info-content":"oklch(90.923% 0.043042 262.880917)","--color-success":"oklch(62.7052% 0.169912 149.213788)","--color-success-content":"oklch(12.541% 0.033982 149.213788)","--color-warning":"oklch(66.584% 0.157422 58.31834)","--color-warning-content":"oklch(13.3168% 0.031484 58.31834)","--color-error":"oklch(73.95% 0.19 27.33)","--color-error-content":"oklch(14.79% 0.038 27.33)","--radius-badge":"1.9rem","--radius-btn":"0.5rem","--radius-box":"1rem","--spacing-button-border":"1px","--spacing-tab-border":"1px"};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
:root:has(input.theme-controller[value=autumn]:checked),[data-theme="autumn"] {
|
|
2
|
+
color-scheme: light;
|
|
3
|
+
--color-base-100: oklch(95.8147% 0 0);
|
|
4
|
+
--color-base-200: oklch(89.1077% 0 0);
|
|
5
|
+
--color-base-300: oklch(82.4006% 0 0);
|
|
6
|
+
--color-base-content: oklch(19.1629% 0 0);
|
|
7
|
+
--color-primary: oklch(40.7232% 0.16116 17.530175);
|
|
8
|
+
--color-primary-content: oklch(88.1446% 0.032232 17.530175);
|
|
9
|
+
--color-secondary: oklch(61.6763% 0.169105 23.865865);
|
|
10
|
+
--color-secondary-content: oklch(12.3353% 0.033821 23.865865);
|
|
11
|
+
--color-accent: oklch(73.4253% 0.094994 60.729616);
|
|
12
|
+
--color-accent-content: oklch(14.6851% 0.018999 60.729616);
|
|
13
|
+
--color-neutral: oklch(54.3672% 0.037374 51.902819);
|
|
14
|
+
--color-neutral-content: oklch(90.8734% 0.007475 51.902819);
|
|
15
|
+
--color-info: oklch(69.2245% 0.097979 207.284192);
|
|
16
|
+
--color-info-content: oklch(13.8449% 0.019596 207.284192);
|
|
17
|
+
--color-success: oklch(60.9951% 0.080159 174.616213);
|
|
18
|
+
--color-success-content: oklch(12.199% 0.016032 174.616213);
|
|
19
|
+
--color-warning: oklch(70.0817% 0.164909 56.844303);
|
|
20
|
+
--color-warning-content: oklch(14.0163% 0.032982 56.844303);
|
|
21
|
+
--color-error: oklch(53.07% 0.241 24.16);
|
|
22
|
+
--color-error-content: oklch(90.614% 0.0482 24.16);
|
|
23
|
+
--radius-badge: 1.9rem;
|
|
24
|
+
--radius-btn: 0.5rem;
|
|
25
|
+
--radius-box: 1rem;
|
|
26
|
+
--spacing-button-border: 1px;
|
|
27
|
+
--spacing-tab-border: 1px;
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default {"colorScheme":"light","--color-base-100":"oklch(95.8147% 0 0)","--color-base-200":"oklch(89.1077% 0 0)","--color-base-300":"oklch(82.4006% 0 0)","--color-base-content":"oklch(19.1629% 0 0)","--color-primary":"oklch(40.7232% 0.16116 17.530175)","--color-primary-content":"oklch(88.1446% 0.032232 17.530175)","--color-secondary":"oklch(61.6763% 0.169105 23.865865)","--color-secondary-content":"oklch(12.3353% 0.033821 23.865865)","--color-accent":"oklch(73.4253% 0.094994 60.729616)","--color-accent-content":"oklch(14.6851% 0.018999 60.729616)","--color-neutral":"oklch(54.3672% 0.037374 51.902819)","--color-neutral-content":"oklch(90.8734% 0.007475 51.902819)","--color-info":"oklch(69.2245% 0.097979 207.284192)","--color-info-content":"oklch(13.8449% 0.019596 207.284192)","--color-success":"oklch(60.9951% 0.080159 174.616213)","--color-success-content":"oklch(12.199% 0.016032 174.616213)","--color-warning":"oklch(70.0817% 0.164909 56.844303)","--color-warning-content":"oklch(14.0163% 0.032982 56.844303)","--color-error":"oklch(53.07% 0.241 24.16)","--color-error-content":"oklch(90.614% 0.0482 24.16)","--radius-badge":"1.9rem","--radius-btn":"0.5rem","--radius-box":"1rem","--spacing-button-border":"1px","--spacing-tab-border":"1px"};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
:root:has(input.theme-controller[value=black]:checked),[data-theme="black"] {
|
|
2
|
+
color-scheme: dark;
|
|
3
|
+
--color-base-100: oklch(0% 0 0);
|
|
4
|
+
--color-base-200: oklch(19.1251% 0 0);
|
|
5
|
+
--color-base-300: oklch(26.8618% 0 0);
|
|
6
|
+
--color-base-content: oklch(87.6096% 0 0);
|
|
7
|
+
--color-primary: oklch(33.6799% 0 0);
|
|
8
|
+
--color-primary-content: oklch(86.736% 0 0);
|
|
9
|
+
--color-secondary: oklch(33.6799% 0 0);
|
|
10
|
+
--color-secondary-content: oklch(86.736% 0 0);
|
|
11
|
+
--color-accent: oklch(33.6799% 0 0);
|
|
12
|
+
--color-accent-content: oklch(86.736% 0 0);
|
|
13
|
+
--color-neutral: oklch(33.6799% 0 0);
|
|
14
|
+
--color-neutral-content: oklch(86.736% 0 0);
|
|
15
|
+
--color-info: oklch(45.2014% 0.313214 264.052021);
|
|
16
|
+
--color-info-content: oklch(89.0403% 0.062643 264.052021);
|
|
17
|
+
--color-success: oklch(51.9752% 0.176858 142.495339);
|
|
18
|
+
--color-success-content: oklch(90.395% 0.035372 142.495339);
|
|
19
|
+
--color-warning: oklch(96.7983% 0.211006 109.769232);
|
|
20
|
+
--color-warning-content: oklch(19.3597% 0.042201 109.769232);
|
|
21
|
+
--color-error: oklch(62.7955% 0.257683 29.233885);
|
|
22
|
+
--color-error-content: oklch(12.5591% 0.051537 29.233885);
|
|
23
|
+
--radius-badge: 0;
|
|
24
|
+
--radius-btn: 0;
|
|
25
|
+
--radius-box: 0;
|
|
26
|
+
--spacing-button-border: 1px;
|
|
27
|
+
--spacing-tab-border: 1px;
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default {"colorScheme":"dark","--color-base-100":"oklch(0% 0 0)","--color-base-200":"oklch(19.1251% 0 0)","--color-base-300":"oklch(26.8618% 0 0)","--color-base-content":"oklch(87.6096% 0 0)","--color-primary":"oklch(33.6799% 0 0)","--color-primary-content":"oklch(86.736% 0 0)","--color-secondary":"oklch(33.6799% 0 0)","--color-secondary-content":"oklch(86.736% 0 0)","--color-accent":"oklch(33.6799% 0 0)","--color-accent-content":"oklch(86.736% 0 0)","--color-neutral":"oklch(33.6799% 0 0)","--color-neutral-content":"oklch(86.736% 0 0)","--color-info":"oklch(45.2014% 0.313214 264.052021)","--color-info-content":"oklch(89.0403% 0.062643 264.052021)","--color-success":"oklch(51.9752% 0.176858 142.495339)","--color-success-content":"oklch(90.395% 0.035372 142.495339)","--color-warning":"oklch(96.7983% 0.211006 109.769232)","--color-warning-content":"oklch(19.3597% 0.042201 109.769232)","--color-error":"oklch(62.7955% 0.257683 29.233885)","--color-error-content":"oklch(12.5591% 0.051537 29.233885)","--radius-badge":"0","--radius-btn":"0","--radius-box":"0","--spacing-button-border":"1px","--spacing-tab-border":"1px"};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
:root:has(input.theme-controller[value=bumblebee]:checked),[data-theme="bumblebee"] {
|
|
2
|
+
color-scheme: light;
|
|
3
|
+
--color-base-100: oklch(100% 0 0);
|
|
4
|
+
--color-base-200: oklch(93% 0 0);
|
|
5
|
+
--color-base-300: oklch(86% 0 0);
|
|
6
|
+
--color-base-content: oklch(20% 0 0);
|
|
7
|
+
--color-primary: oklch(89.51% 0.2132 96.61);
|
|
8
|
+
--color-primary-content: oklch(38.92% 0.046 96.61);
|
|
9
|
+
--color-secondary: oklch(80.39% 0.194 70.76);
|
|
10
|
+
--color-secondary-content: oklch(39.38% 0.068 70.76);
|
|
11
|
+
--color-accent: oklch(81.27% 0.157 56.52);
|
|
12
|
+
--color-accent-content: oklch(16.254% 0.0314 56.52);
|
|
13
|
+
--color-neutral: oklch(12.75% 0.075 281.99);
|
|
14
|
+
--color-neutral-content: oklch(82.55% 0.015 281.99);
|
|
15
|
+
--color-info: oklch(72.06% 0.191 231.6);
|
|
16
|
+
--color-info-content: oklch(0% 0 0);
|
|
17
|
+
--color-success: oklch(64.8% 0.150 160);
|
|
18
|
+
--color-success-content: oklch(0% 0 0);
|
|
19
|
+
--color-warning: oklch(84.71% 0.199 83.87);
|
|
20
|
+
--color-warning-content: oklch(0% 0 0);
|
|
21
|
+
--color-error: oklch(71.76% 0.221 22.18);
|
|
22
|
+
--color-error-content: oklch(0% 0 0);
|
|
23
|
+
--radius-badge: 1.9rem;
|
|
24
|
+
--radius-btn: 0.5rem;
|
|
25
|
+
--radius-box: 1rem;
|
|
26
|
+
--spacing-button-border: 1px;
|
|
27
|
+
--spacing-tab-border: 1px;
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default {"colorScheme":"light","--color-base-100":"oklch(100% 0 0)","--color-base-200":"oklch(93% 0 0)","--color-base-300":"oklch(86% 0 0)","--color-base-content":"oklch(20% 0 0)","--color-primary":"oklch(89.51% 0.2132 96.61)","--color-primary-content":"oklch(38.92% 0.046 96.61)","--color-secondary":"oklch(80.39% 0.194 70.76)","--color-secondary-content":"oklch(39.38% 0.068 70.76)","--color-accent":"oklch(81.27% 0.157 56.52)","--color-accent-content":"oklch(16.254% 0.0314 56.52)","--color-neutral":"oklch(12.75% 0.075 281.99)","--color-neutral-content":"oklch(82.55% 0.015 281.99)","--color-info":"oklch(72.06% 0.191 231.6)","--color-info-content":"oklch(0% 0 0)","--color-success":"oklch(64.8% 0.150 160)","--color-success-content":"oklch(0% 0 0)","--color-warning":"oklch(84.71% 0.199 83.87)","--color-warning-content":"oklch(0% 0 0)","--color-error":"oklch(71.76% 0.221 22.18)","--color-error-content":"oklch(0% 0 0)","--radius-badge":"1.9rem","--radius-btn":"0.5rem","--radius-box":"1rem","--spacing-button-border":"1px","--spacing-tab-border":"1px"};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
:root:has(input.theme-controller[value=business]:checked),[data-theme="business"] {
|
|
2
|
+
color-scheme: dark;
|
|
3
|
+
--color-base-100: oklch(24.3535% 0 0);
|
|
4
|
+
--color-base-200: oklch(22.6487% 0 0);
|
|
5
|
+
--color-base-300: oklch(20.944% 0 0);
|
|
6
|
+
--color-base-content: oklch(84.8707% 0 0);
|
|
7
|
+
--color-primary: oklch(41.7036% 0.099057 251.473931);
|
|
8
|
+
--color-primary-content: oklch(88.3407% 0.019811 251.473931);
|
|
9
|
+
--color-secondary: oklch(64.0924% 0.027405 229.389418);
|
|
10
|
+
--color-secondary-content: oklch(12.8185% 0.005481 229.389418);
|
|
11
|
+
--color-accent: oklch(67.271% 0.167726 35.791525);
|
|
12
|
+
--color-accent-content: oklch(13.4542% 0.033545 35.791525);
|
|
13
|
+
--color-neutral: oklch(27.441% 0.01325 253.041249);
|
|
14
|
+
--color-neutral-content: oklch(85.4882% 0.00265 253.041249);
|
|
15
|
+
--color-info: oklch(62.6163% 0.143511 240.033697);
|
|
16
|
+
--color-info-content: oklch(12.5233% 0.028702 240.033697);
|
|
17
|
+
--color-success: oklch(70.2268% 0.094594 156.59611);
|
|
18
|
+
--color-success-content: oklch(14.0454% 0.018919 156.59611);
|
|
19
|
+
--color-warning: oklch(77.4824% 0.115704 81.519177);
|
|
20
|
+
--color-warning-content: oklch(15.4965% 0.023141 81.519177);
|
|
21
|
+
--color-error: oklch(51.6105% 0.14678 29.674507);
|
|
22
|
+
--color-error-content: oklch(90.3221% 0.029356 29.674507);
|
|
23
|
+
--radius-badge: .125rem;
|
|
24
|
+
--radius-btn: .125rem;
|
|
25
|
+
--radius-box: 0.25rem;
|
|
26
|
+
--spacing-button-border: 1px;
|
|
27
|
+
--spacing-tab-border: 1px;
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default {"colorScheme":"dark","--color-base-100":"oklch(24.3535% 0 0)","--color-base-200":"oklch(22.6487% 0 0)","--color-base-300":"oklch(20.944% 0 0)","--color-base-content":"oklch(84.8707% 0 0)","--color-primary":"oklch(41.7036% 0.099057 251.473931)","--color-primary-content":"oklch(88.3407% 0.019811 251.473931)","--color-secondary":"oklch(64.0924% 0.027405 229.389418)","--color-secondary-content":"oklch(12.8185% 0.005481 229.389418)","--color-accent":"oklch(67.271% 0.167726 35.791525)","--color-accent-content":"oklch(13.4542% 0.033545 35.791525)","--color-neutral":"oklch(27.441% 0.01325 253.041249)","--color-neutral-content":"oklch(85.4882% 0.00265 253.041249)","--color-info":"oklch(62.6163% 0.143511 240.033697)","--color-info-content":"oklch(12.5233% 0.028702 240.033697)","--color-success":"oklch(70.2268% 0.094594 156.59611)","--color-success-content":"oklch(14.0454% 0.018919 156.59611)","--color-warning":"oklch(77.4824% 0.115704 81.519177)","--color-warning-content":"oklch(15.4965% 0.023141 81.519177)","--color-error":"oklch(51.6105% 0.14678 29.674507)","--color-error-content":"oklch(90.3221% 0.029356 29.674507)","--radius-badge":".125rem","--radius-btn":".125rem","--radius-box":"0.25rem","--spacing-button-border":"1px","--spacing-tab-border":"1px"};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
:root:has(input.theme-controller[value=cmyk]:checked),[data-theme="cmyk"] {
|
|
2
|
+
color-scheme: light;
|
|
3
|
+
--color-base-100: oklch(100% 0 0);
|
|
4
|
+
--color-base-200: oklch(93% 0 0);
|
|
5
|
+
--color-base-300: oklch(86% 0 0);
|
|
6
|
+
--color-base-content: oklch(20% 0 0);
|
|
7
|
+
--color-primary: oklch(71.7722% 0.133298 239.443325);
|
|
8
|
+
--color-primary-content: oklch(14.3544% 0.02666 239.443325);
|
|
9
|
+
--color-secondary: oklch(64.4766% 0.202758 359.339283);
|
|
10
|
+
--color-secondary-content: oklch(12.8953% 0.040552 359.339283);
|
|
11
|
+
--color-accent: oklch(94.2289% 0.189741 105.306968);
|
|
12
|
+
--color-accent-content: oklch(18.8458% 0.037948 105.306968);
|
|
13
|
+
--color-neutral: oklch(21.7787% 0 0);
|
|
14
|
+
--color-neutral-content: oklch(84.3557% 0 0);
|
|
15
|
+
--color-info: oklch(68.4759% 0.094499 217.284104);
|
|
16
|
+
--color-info-content: oklch(13.6952% 0.0189 217.284104);
|
|
17
|
+
--color-success: oklch(46.949% 0.162524 321.406278);
|
|
18
|
+
--color-success-content: oklch(89.3898% 0.032505 321.406278);
|
|
19
|
+
--color-warning: oklch(71.2364% 0.159843 52.023412);
|
|
20
|
+
--color-warning-content: oklch(14.2473% 0.031969 52.023412);
|
|
21
|
+
--color-error: oklch(62.0133% 0.208385 28.717543);
|
|
22
|
+
--color-error-content: oklch(12.4027% 0.041677 28.717543);
|
|
23
|
+
--radius-badge: 1.9rem;
|
|
24
|
+
--radius-btn: 0.5rem;
|
|
25
|
+
--radius-box: 1rem;
|
|
26
|
+
--spacing-button-border: 1px;
|
|
27
|
+
--spacing-tab-border: 1px;
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default {"colorScheme":"light","--color-base-100":"oklch(100% 0 0)","--color-base-200":"oklch(93% 0 0)","--color-base-300":"oklch(86% 0 0)","--color-base-content":"oklch(20% 0 0)","--color-primary":"oklch(71.7722% 0.133298 239.443325)","--color-primary-content":"oklch(14.3544% 0.02666 239.443325)","--color-secondary":"oklch(64.4766% 0.202758 359.339283)","--color-secondary-content":"oklch(12.8953% 0.040552 359.339283)","--color-accent":"oklch(94.2289% 0.189741 105.306968)","--color-accent-content":"oklch(18.8458% 0.037948 105.306968)","--color-neutral":"oklch(21.7787% 0 0)","--color-neutral-content":"oklch(84.3557% 0 0)","--color-info":"oklch(68.4759% 0.094499 217.284104)","--color-info-content":"oklch(13.6952% 0.0189 217.284104)","--color-success":"oklch(46.949% 0.162524 321.406278)","--color-success-content":"oklch(89.3898% 0.032505 321.406278)","--color-warning":"oklch(71.2364% 0.159843 52.023412)","--color-warning-content":"oklch(14.2473% 0.031969 52.023412)","--color-error":"oklch(62.0133% 0.208385 28.717543)","--color-error-content":"oklch(12.4027% 0.041677 28.717543)","--radius-badge":"1.9rem","--radius-btn":"0.5rem","--radius-box":"1rem","--spacing-button-border":"1px","--spacing-tab-border":"1px"};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
:root:has(input.theme-controller[value=coffee]:checked),[data-theme="coffee"] {
|
|
2
|
+
color-scheme: dark;
|
|
3
|
+
--color-base-100: oklch(21.6758% 0.023072 329.708637);
|
|
4
|
+
--color-base-200: oklch(20.1585% 0.021457 329.708637);
|
|
5
|
+
--color-base-300: oklch(18.6412% 0.019842 329.708637);
|
|
6
|
+
--color-base-content: oklch(72.3547% 0.092794 79.129387);
|
|
7
|
+
--color-primary: oklch(71.9967% 0.123825 62.756393);
|
|
8
|
+
--color-primary-content: oklch(14.3993% 0.024765 62.756393);
|
|
9
|
+
--color-secondary: oklch(34.465% 0.029849 199.19444);
|
|
10
|
+
--color-secondary-content: oklch(86.893% 0.00597 199.19444);
|
|
11
|
+
--color-accent: oklch(42.6213% 0.074405 224.389184);
|
|
12
|
+
--color-accent-content: oklch(88.5243% 0.014881 224.389184);
|
|
13
|
+
--color-neutral: oklch(16.5109% 0.015743 326.261446);
|
|
14
|
+
--color-neutral-content: oklch(83.3022% 0.003149 326.261446);
|
|
15
|
+
--color-info: oklch(79.4902% 0.063869 184.558367);
|
|
16
|
+
--color-info-content: oklch(15.898% 0.012774 184.558367);
|
|
17
|
+
--color-success: oklch(74.7224% 0.072456 131.116276);
|
|
18
|
+
--color-success-content: oklch(14.9445% 0.014491 131.116276);
|
|
19
|
+
--color-warning: oklch(88.1503% 0.140812 87.722413);
|
|
20
|
+
--color-warning-content: oklch(17.6301% 0.028162 87.722413);
|
|
21
|
+
--color-error: oklch(77.3187% 0.12822 31.871922);
|
|
22
|
+
--color-error-content: oklch(15.4637% 0.025644 31.871922);
|
|
23
|
+
--radius-badge: 1.9rem;
|
|
24
|
+
--radius-btn: 0.5rem;
|
|
25
|
+
--radius-box: 1rem;
|
|
26
|
+
--spacing-button-border: 1px;
|
|
27
|
+
--spacing-tab-border: 1px;
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default {"colorScheme":"dark","--color-base-100":"oklch(21.6758% 0.023072 329.708637)","--color-base-200":"oklch(20.1585% 0.021457 329.708637)","--color-base-300":"oklch(18.6412% 0.019842 329.708637)","--color-base-content":"oklch(72.3547% 0.092794 79.129387)","--color-primary":"oklch(71.9967% 0.123825 62.756393)","--color-primary-content":"oklch(14.3993% 0.024765 62.756393)","--color-secondary":"oklch(34.465% 0.029849 199.19444)","--color-secondary-content":"oklch(86.893% 0.00597 199.19444)","--color-accent":"oklch(42.6213% 0.074405 224.389184)","--color-accent-content":"oklch(88.5243% 0.014881 224.389184)","--color-neutral":"oklch(16.5109% 0.015743 326.261446)","--color-neutral-content":"oklch(83.3022% 0.003149 326.261446)","--color-info":"oklch(79.4902% 0.063869 184.558367)","--color-info-content":"oklch(15.898% 0.012774 184.558367)","--color-success":"oklch(74.7224% 0.072456 131.116276)","--color-success-content":"oklch(14.9445% 0.014491 131.116276)","--color-warning":"oklch(88.1503% 0.140812 87.722413)","--color-warning-content":"oklch(17.6301% 0.028162 87.722413)","--color-error":"oklch(77.3187% 0.12822 31.871922)","--color-error-content":"oklch(15.4637% 0.025644 31.871922)","--radius-badge":"1.9rem","--radius-btn":"0.5rem","--radius-box":"1rem","--spacing-button-border":"1px","--spacing-tab-border":"1px"};
|