Updated node modules
This commit is contained in:
34
node_modules/daisyui/src/theming/colorNames.js
generated
vendored
Normal file
34
node_modules/daisyui/src/theming/colorNames.js
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
module.exports = {
|
||||
"primary": "--p",
|
||||
"primary-focus": "--pf",
|
||||
"primary-content": "--pc",
|
||||
|
||||
"secondary": "--s",
|
||||
"secondary-focus": "--sf",
|
||||
"secondary-content": "--sc",
|
||||
|
||||
"accent": "--a",
|
||||
"accent-focus": "--af",
|
||||
"accent-content": "--ac",
|
||||
|
||||
"neutral": "--n",
|
||||
"neutral-focus": "--nf",
|
||||
"neutral-content": "--nc",
|
||||
|
||||
"base-100": "--b1",
|
||||
"base-200": "--b2",
|
||||
"base-300": "--b3",
|
||||
"base-content": "--bc",
|
||||
|
||||
"info": "--in",
|
||||
"info-content": "--inc",
|
||||
|
||||
"success": "--su",
|
||||
"success-content": "--suc",
|
||||
|
||||
"warning": "--wa",
|
||||
"warning-content": "--wac",
|
||||
|
||||
"error": "--er",
|
||||
"error-content": "--erc",
|
||||
}
|
269
node_modules/daisyui/src/theming/functions.js
generated
vendored
Normal file
269
node_modules/daisyui/src/theming/functions.js
generated
vendored
Normal file
@@ -0,0 +1,269 @@
|
||||
const colorNames = require("./colorNames")
|
||||
const themeDefaults = require("./themeDefaults")
|
||||
|
||||
const { colord, getFormat, extend } = require("colord")
|
||||
const mixPlugin = require("colord/plugins/mix")
|
||||
const namesPlugin = require("colord/plugins/names")
|
||||
const lchPlugin = require("colord/plugins/lch")
|
||||
const hwbPlugin = require("colord/plugins/hwb")
|
||||
const labPlugin = require("colord/plugins/lab")
|
||||
const xyzPlugin = require("colord/plugins/xyz")
|
||||
|
||||
extend([mixPlugin, namesPlugin, lchPlugin, hwbPlugin, labPlugin, xyzPlugin])
|
||||
|
||||
module.exports = {
|
||||
changeColorValuesToObject: function (input) {
|
||||
const [h, s, l] = input.match(/\d+(\.\d+)?%|\d+(\.\d+)?/g).map(parseFloat)
|
||||
return { h, s, l, a: 1 }
|
||||
},
|
||||
|
||||
turnColorValuesToString: function (input) {
|
||||
const [h, s, l] = input.match(/\d+(\.\d+)?%|\d+(\.\d+)?/g).map(parseFloat)
|
||||
return `${h} ${s}% ${l}%`
|
||||
},
|
||||
|
||||
generateForegroundColorFrom: function (input, percentage = 0.8) {
|
||||
const str = colord(input)
|
||||
.mix(colord(input).isDark() ? "white" : "black", percentage)
|
||||
.toHslString()
|
||||
return this.turnColorValuesToString(str)
|
||||
},
|
||||
|
||||
generateDarkenColorFrom: function (input, percentage = 0.07) {
|
||||
const str = colord(input).darken(percentage).toHslString()
|
||||
return this.turnColorValuesToString(str)
|
||||
},
|
||||
|
||||
convertColorFormat: function (input, colorFunction = "hsl") {
|
||||
if (typeof input !== "object" || input === null) {
|
||||
return input
|
||||
}
|
||||
|
||||
const resultObj = {}
|
||||
|
||||
Object.entries(input).forEach(([rule, value]) => {
|
||||
// if (!Object.hasOwn(colorNames, rule)) {
|
||||
// resultObj[rule] = value
|
||||
// } else {
|
||||
// let arr
|
||||
// if (getFormat(value) === "lch") {
|
||||
// arr = this.changeColorValuesToObject(value)
|
||||
// } else {
|
||||
// arr = colord(value).toLch()
|
||||
// }
|
||||
// resultObj[colorNames[rule]] = arr.l + " " + arr.c + " " + arr.h
|
||||
// }
|
||||
|
||||
if (colorNames.hasOwnProperty(rule)) {
|
||||
const hslArray = colord(value).toHsl()
|
||||
resultObj[colorNames[rule]] = `${hslArray.h} ${hslArray.s}% ${hslArray.l}%`
|
||||
} else {
|
||||
resultObj[rule] = value
|
||||
}
|
||||
|
||||
// if (getFormat("lch(" + value + ")") === "lch") {
|
||||
// resultObj[rule] = value
|
||||
// if (colorFunction === "hsl") {
|
||||
// let arr = colord("lch(" + value + ")").toHsl()
|
||||
// resultObj[rule] = arr.h + " " + arr.s + "% " + arr.l + "%"
|
||||
// }
|
||||
// }
|
||||
|
||||
// auto generate focus colors
|
||||
if (!Object.hasOwn(input, "primary-focus")) {
|
||||
resultObj["--pf"] = this.generateDarkenColorFrom(input["primary"])
|
||||
}
|
||||
if (!Object.hasOwn(input, "secondary-focus")) {
|
||||
resultObj["--sf"] = this.generateDarkenColorFrom(input["secondary"])
|
||||
}
|
||||
if (!Object.hasOwn(input, "accent-focus")) {
|
||||
resultObj["--af"] = this.generateDarkenColorFrom(input["accent"])
|
||||
}
|
||||
if (!Object.hasOwn(input, "neutral-focus")) {
|
||||
resultObj["--nf"] = this.generateDarkenColorFrom(input["neutral"])
|
||||
}
|
||||
|
||||
// auto generate base colors
|
||||
if (!Object.hasOwn(input, "base-100")) {
|
||||
resultObj["--b1"] = "100 0 0"
|
||||
}
|
||||
if (!Object.hasOwn(input, "base-200")) {
|
||||
resultObj["--b2"] = this.generateDarkenColorFrom(input["base-100"])
|
||||
}
|
||||
if (!Object.hasOwn(input, "base-300")) {
|
||||
if (Object.hasOwn(input, "base-200")) {
|
||||
resultObj["--b3"] = this.generateDarkenColorFrom(input["base-200"])
|
||||
} else {
|
||||
resultObj["--b3"] = this.generateDarkenColorFrom(input["base-100"], 0.14)
|
||||
}
|
||||
}
|
||||
|
||||
// auto generate state colors
|
||||
|
||||
if (!Object.hasOwn(input, "info")) {
|
||||
resultObj["--in"] = 198 + " " + 93 + "%" + " " + 60 + "%"
|
||||
}
|
||||
if (!Object.hasOwn(input, "success")) {
|
||||
resultObj["--su"] = 158 + " " + 64 + "%" + " " + 52 + "%"
|
||||
}
|
||||
if (!Object.hasOwn(input, "warning")) {
|
||||
resultObj["--wa"] = 43 + " " + 96 + "%" + " " + 56 + "%"
|
||||
}
|
||||
if (!Object.hasOwn(input, "error")) {
|
||||
resultObj["--er"] = 0 + " " + 91 + "%" + " " + 71 + "%"
|
||||
}
|
||||
|
||||
// auto generate content colors
|
||||
if (!Object.hasOwn(input, "base-content")) {
|
||||
resultObj["--bc"] = this.generateForegroundColorFrom(input["base-100"])
|
||||
}
|
||||
if (!Object.hasOwn(input, "primary-content")) {
|
||||
resultObj["--pc"] = this.generateForegroundColorFrom(input["primary"])
|
||||
}
|
||||
if (!Object.hasOwn(input, "secondary-content")) {
|
||||
resultObj["--sc"] = this.generateForegroundColorFrom(input["secondary"])
|
||||
}
|
||||
if (!Object.hasOwn(input, "accent-content")) {
|
||||
resultObj["--ac"] = this.generateForegroundColorFrom(input["accent"])
|
||||
}
|
||||
if (!Object.hasOwn(input, "neutral-content")) {
|
||||
resultObj["--nc"] = this.generateForegroundColorFrom(input["neutral"])
|
||||
}
|
||||
if (!Object.hasOwn(input, "info-content")) {
|
||||
if (Object.hasOwn(input, "info")) {
|
||||
resultObj["--inc"] = this.generateForegroundColorFrom(input["info"])
|
||||
} else {
|
||||
resultObj["--inc"] = 198 + " " + 100 + "%" + " " + 12 + "%"
|
||||
}
|
||||
}
|
||||
if (!Object.hasOwn(input, "success-content")) {
|
||||
if (Object.hasOwn(input, "success")) {
|
||||
resultObj["--suc"] = this.generateForegroundColorFrom(input["success"])
|
||||
} else {
|
||||
resultObj["--suc"] = 158 + " " + 100 + "%" + " " + 10 + "%"
|
||||
}
|
||||
}
|
||||
if (!Object.hasOwn(input, "warning-content")) {
|
||||
if (Object.hasOwn(input, "warning")) {
|
||||
resultObj["--wac"] = this.generateForegroundColorFrom(input["warning"])
|
||||
} else {
|
||||
resultObj["--wac"] = 43 + " " + 100 + "%" + " " + 11 + "%"
|
||||
}
|
||||
}
|
||||
if (!Object.hasOwn(input, "error-content")) {
|
||||
if (Object.hasOwn(input, "error")) {
|
||||
resultObj["--erc"] = this.generateForegroundColorFrom(input["error"])
|
||||
} else {
|
||||
resultObj["--erc"] = 0 + " " + 100 + "%" + " " + 14 + "%"
|
||||
}
|
||||
}
|
||||
|
||||
// add css variables if not exist
|
||||
Object.entries(themeDefaults.variables).forEach((item) => {
|
||||
const [variable, value] = item
|
||||
if (!Object.hasOwn(input, variable)) {
|
||||
resultObj[variable] = value
|
||||
}
|
||||
})
|
||||
|
||||
// add other custom styles
|
||||
if (!colorNames.hasOwnProperty(rule)) {
|
||||
resultObj[rule] = value
|
||||
}
|
||||
})
|
||||
|
||||
return resultObj
|
||||
},
|
||||
|
||||
injectThemes: function (addBase, config, themes, colorFunction) {
|
||||
const includedThemesObj = {}
|
||||
// includedThemesObj["@supports (not(color: lch(0 0 0)))"] = {}
|
||||
// add default themes
|
||||
Object.entries(themes).forEach(([theme, value]) => {
|
||||
if (colorFunction === "lch") {
|
||||
includedThemesObj[theme] = this.convertColorFormat(value)
|
||||
}
|
||||
if (colorFunction === "hsl") {
|
||||
includedThemesObj[theme] = this.convertColorFormat(value, "hsl")
|
||||
}
|
||||
})
|
||||
|
||||
// add custom themes
|
||||
if (Array.isArray(config("daisyui.themes"))) {
|
||||
config("daisyui.themes").forEach((item) => {
|
||||
if (typeof item === "object" && item !== null) {
|
||||
Object.entries(item).forEach(([customThemeName, customThemevalue]) => {
|
||||
includedThemesObj["[data-theme=" + customThemeName + "]"] =
|
||||
this.convertColorFormat(customThemevalue)
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
let themeOrder = []
|
||||
if (Array.isArray(config("daisyui.themes"))) {
|
||||
config("daisyui.themes").forEach((theme) => {
|
||||
if (typeof theme === "object" && theme !== null) {
|
||||
Object.keys(theme).forEach((customThemeName) => {
|
||||
themeOrder.push(customThemeName)
|
||||
})
|
||||
} else if (Object.hasOwn(includedThemesObj, "[data-theme=" + theme + "]")) {
|
||||
themeOrder.push(theme)
|
||||
}
|
||||
})
|
||||
} else if (config("daisyui.themes") === true) {
|
||||
themeOrder = themeDefaults.themeOrder
|
||||
} else {
|
||||
themeOrder = ["light", "dark"]
|
||||
}
|
||||
|
||||
// inject themes in order
|
||||
const themesToInject = {}
|
||||
themeOrder.forEach((themeName, index) => {
|
||||
if (index === 0) {
|
||||
// first theme as root
|
||||
themesToInject[":root"] = includedThemesObj["[data-theme=" + themeName + "]"]
|
||||
} else if (index === 1) {
|
||||
// auto dark
|
||||
if (config("daisyui.darkTheme")) {
|
||||
if (
|
||||
themeOrder[0] !== config("daisyui.darkTheme") &&
|
||||
themeOrder.includes(config("daisyui.darkTheme"))
|
||||
) {
|
||||
themesToInject["@media (prefers-color-scheme: dark)"] = {
|
||||
[":root"]: includedThemesObj[`[data-theme=${config("daisyui.darkTheme")}]`],
|
||||
}
|
||||
}
|
||||
} else if (config("daisyui.darkTheme") === false) {
|
||||
// disables prefers-color-scheme: dark
|
||||
} else {
|
||||
if (themeOrder[0] !== "dark" && themeOrder.includes("dark")) {
|
||||
themesToInject["@media (prefers-color-scheme: dark)"] = {
|
||||
[":root"]: includedThemesObj["[data-theme=dark]"],
|
||||
}
|
||||
}
|
||||
}
|
||||
// theme 0 with name
|
||||
themesToInject["[data-theme=" + themeOrder[0] + "]"] =
|
||||
includedThemesObj["[data-theme=" + themeOrder[0] + "]"]
|
||||
// theme 1 with name
|
||||
themesToInject["[data-theme=" + themeOrder[1] + "]"] =
|
||||
includedThemesObj["[data-theme=" + themeOrder[1] + "]"]
|
||||
} else {
|
||||
themesToInject["[data-theme=" + themeName + "]"] =
|
||||
includedThemesObj["[data-theme=" + themeName + "]"]
|
||||
}
|
||||
})
|
||||
if (colorFunction === "lch") {
|
||||
addBase({ "@supports (color: lch(0 0 0))": themesToInject })
|
||||
}
|
||||
if (colorFunction === "hsl") {
|
||||
addBase(themesToInject)
|
||||
}
|
||||
|
||||
return {
|
||||
includedThemesObj,
|
||||
themeOrder,
|
||||
}
|
||||
},
|
||||
}
|
39
node_modules/daisyui/src/theming/index.js
generated
vendored
Normal file
39
node_modules/daisyui/src/theming/index.js
generated
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
let colorObject = {
|
||||
"transparent": "transparent",
|
||||
"current": "currentColor",
|
||||
|
||||
"primary": "hsl(var(--p) / <alpha-value>)",
|
||||
"primary-focus": "hsl(var(--pf) / <alpha-value>)",
|
||||
"primary-content": "hsl(var(--pc) / <alpha-value>)",
|
||||
|
||||
"secondary": "hsl(var(--s) / <alpha-value>)",
|
||||
"secondary-focus": "hsl(var(--sf) / <alpha-value>)",
|
||||
"secondary-content": "hsl(var(--sc) / <alpha-value>)",
|
||||
|
||||
"accent": "hsl(var(--a) / <alpha-value>)",
|
||||
"accent-focus": "hsl(var(--af) / <alpha-value>)",
|
||||
"accent-content": "hsl(var(--ac) / <alpha-value>)",
|
||||
|
||||
"neutral": "hsl(var(--n) / <alpha-value>)",
|
||||
"neutral-focus": "hsl(var(--nf) / <alpha-value>)",
|
||||
"neutral-content": "hsl(var(--nc) / <alpha-value>)",
|
||||
|
||||
"base-100": "hsl(var(--b1) / <alpha-value>)",
|
||||
"base-200": "hsl(var(--b2) / <alpha-value>)",
|
||||
"base-300": "hsl(var(--b3) / <alpha-value>)",
|
||||
"base-content": "hsl(var(--bc) / <alpha-value>)",
|
||||
|
||||
"info": "hsl(var(--in) / <alpha-value>)",
|
||||
"info-content": "hsl(var(--inc) / <alpha-value>)",
|
||||
|
||||
"success": "hsl(var(--su) / <alpha-value>)",
|
||||
"success-content": "hsl(var(--suc) / <alpha-value>)",
|
||||
|
||||
"warning": "hsl(var(--wa) / <alpha-value>)",
|
||||
"warning-content": "hsl(var(--wac) / <alpha-value>)",
|
||||
|
||||
"error": "hsl(var(--er) / <alpha-value>)",
|
||||
"error-content": "hsl(var(--erc) / <alpha-value>)",
|
||||
}
|
||||
|
||||
module.exports = colorObject
|
45
node_modules/daisyui/src/theming/themeDefaults.js
generated
vendored
Normal file
45
node_modules/daisyui/src/theming/themeDefaults.js
generated
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
module.exports = {
|
||||
themeOrder: [
|
||||
"light",
|
||||
"dark",
|
||||
"cupcake",
|
||||
"bumblebee",
|
||||
"emerald",
|
||||
"corporate",
|
||||
"synthwave",
|
||||
"retro",
|
||||
"cyberpunk",
|
||||
"valentine",
|
||||
"halloween",
|
||||
"garden",
|
||||
"forest",
|
||||
"aqua",
|
||||
"lofi",
|
||||
"pastel",
|
||||
"fantasy",
|
||||
"wireframe",
|
||||
"black",
|
||||
"luxury",
|
||||
"dracula",
|
||||
"cmyk",
|
||||
"autumn",
|
||||
"business",
|
||||
"acid",
|
||||
"lemonade",
|
||||
"night",
|
||||
"coffee",
|
||||
"winter",
|
||||
],
|
||||
variables: {
|
||||
"--rounded-box": "1rem",
|
||||
"--rounded-btn": "0.5rem",
|
||||
"--rounded-badge": "1.9rem",
|
||||
"--animation-btn": "0.25s",
|
||||
"--animation-input": ".2s",
|
||||
"--btn-text-case": "uppercase",
|
||||
"--btn-focus-scale": "0.95",
|
||||
"--border-btn": "1px",
|
||||
"--tab-border": "1px",
|
||||
"--tab-radius": "0.5rem",
|
||||
},
|
||||
}
|
435
node_modules/daisyui/src/theming/themes.js
generated
vendored
Normal file
435
node_modules/daisyui/src/theming/themes.js
generated
vendored
Normal file
@@ -0,0 +1,435 @@
|
||||
module.exports = {
|
||||
"[data-theme=aqua]": {
|
||||
"color-scheme": "dark",
|
||||
"primary": "#09ecf3",
|
||||
"primary-content": "#005355",
|
||||
"secondary": "#966fb3",
|
||||
"accent": "#ffe999",
|
||||
"neutral": "#3b8ac4",
|
||||
"base-100": "#345da7",
|
||||
"info": "#2563eb",
|
||||
"success": "#16a34a",
|
||||
"warning": "#d97706",
|
||||
"error": "#dc2626",
|
||||
},
|
||||
"[data-theme=black]": {
|
||||
"color-scheme": "dark",
|
||||
"primary": "#343232",
|
||||
"secondary": "#343232",
|
||||
"accent": "#343232",
|
||||
"base-100": "#000000",
|
||||
"base-200": "#0D0D0D",
|
||||
"base-300": "#1A1919",
|
||||
"neutral": "#272626",
|
||||
"neutral-focus": "#343232",
|
||||
"info": "#0000ff",
|
||||
"success": "#008000",
|
||||
"warning": "#ffff00",
|
||||
"error": "#ff0000",
|
||||
"--rounded-box": "0",
|
||||
"--rounded-btn": "0",
|
||||
"--rounded-badge": "0",
|
||||
"--animation-btn": "0",
|
||||
"--animation-input": "0",
|
||||
"--btn-text-case": "lowercase",
|
||||
"--btn-focus-scale": "1",
|
||||
"--tab-radius": "0",
|
||||
},
|
||||
"[data-theme=bumblebee]": {
|
||||
"color-scheme": "light",
|
||||
"primary": "#f9d72f",
|
||||
"primary-content": "#181830",
|
||||
"secondary": "#e0a82e",
|
||||
"secondary-content": "#181830",
|
||||
"accent": "#DC8850",
|
||||
"neutral": "#181830",
|
||||
"base-100": "#ffffff",
|
||||
},
|
||||
"[data-theme=cmyk]": {
|
||||
"color-scheme": "light",
|
||||
"primary": "#45AEEE",
|
||||
"secondary": "#E8488A",
|
||||
"accent": "#FFF232",
|
||||
"neutral": "#1a1a1a",
|
||||
"base-100": "#ffffff",
|
||||
"info": "#4AA8C0",
|
||||
"success": "#823290",
|
||||
"warning": "#EE8133",
|
||||
"error": "#E93F33",
|
||||
},
|
||||
"[data-theme=corporate]": {
|
||||
"color-scheme": "light",
|
||||
"primary": "#4b6bfb",
|
||||
"secondary": "#7b92b2",
|
||||
"accent": "#67cba0",
|
||||
"neutral": "#181a2a",
|
||||
"neutral-content": "#edf2f7",
|
||||
"base-100": "#ffffff",
|
||||
"base-content": "#181a2a",
|
||||
"--rounded-box": "0.25rem",
|
||||
"--rounded-btn": ".125rem",
|
||||
"--rounded-badge": ".125rem",
|
||||
"--animation-btn": "0",
|
||||
"--animation-input": "0",
|
||||
"--btn-focus-scale": "1",
|
||||
},
|
||||
"[data-theme=cupcake]": {
|
||||
"color-scheme": "light",
|
||||
"primary": "#65c3c8",
|
||||
"secondary": "#ef9fbc",
|
||||
"accent": "#eeaf3a",
|
||||
"neutral": "#291334",
|
||||
"base-100": "#faf7f5",
|
||||
"base-200": "#efeae6",
|
||||
"base-300": "#e7e2df",
|
||||
"base-content": "#291334",
|
||||
"--rounded-btn": "1.9rem",
|
||||
"--tab-border": "2px",
|
||||
"--tab-radius": ".5rem",
|
||||
},
|
||||
"[data-theme=cyberpunk]": {
|
||||
"color-scheme": "light",
|
||||
"fontFamily":
|
||||
"ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",
|
||||
"primary": "#ff7598",
|
||||
"secondary": "#75d1f0",
|
||||
"accent": "#c07eec",
|
||||
"neutral": "#423f00",
|
||||
"neutral-content": "#ffee00",
|
||||
"base-100": "#ffee00",
|
||||
"--rounded-box": "0",
|
||||
"--rounded-btn": "0",
|
||||
"--rounded-badge": "0",
|
||||
"--tab-radius": "0",
|
||||
},
|
||||
"[data-theme=dark]": {
|
||||
"color-scheme": "dark",
|
||||
"primary": "#661AE6",
|
||||
"primary-content": "#ffffff",
|
||||
"secondary": "#D926AA",
|
||||
"secondary-content": "#ffffff",
|
||||
"accent": "#1FB2A5",
|
||||
"accent-content": "#ffffff",
|
||||
"neutral": "#2a323c",
|
||||
"neutral-focus": "#242b33",
|
||||
"neutral-content": "#A6ADBB",
|
||||
"base-100": "#1d232a",
|
||||
"base-200": "#191e24",
|
||||
"base-300": "#15191e",
|
||||
"base-content": "#A6ADBB",
|
||||
},
|
||||
"[data-theme=dracula]": {
|
||||
"color-scheme": "dark",
|
||||
"primary": "#ff79c6",
|
||||
"secondary": "#bd93f9",
|
||||
"accent": "#ffb86c",
|
||||
"neutral": "#414558",
|
||||
"base-100": "#282a36",
|
||||
"base-content": "#f8f8f2",
|
||||
"info": "#8be9fd",
|
||||
"success": "#50fa7b",
|
||||
"warning": "#f1fa8c",
|
||||
"error": "#ff5555",
|
||||
},
|
||||
"[data-theme=emerald]": {
|
||||
"color-scheme": "light",
|
||||
"primary": "#66cc8a",
|
||||
"primary-content": "#223D30",
|
||||
"secondary": "#377cfb",
|
||||
"secondary-content": "#f9fafb",
|
||||
"accent": "#ea5234",
|
||||
"accent-content": "#f9fafb",
|
||||
"neutral": "#333c4d",
|
||||
"neutral-content": "#f9fafb",
|
||||
"base-100": "#ffffff",
|
||||
"base-content": "#333c4d",
|
||||
"--animation-btn": "0",
|
||||
"--animation-input": "0",
|
||||
"--btn-focus-scale": "1",
|
||||
},
|
||||
"[data-theme=fantasy]": {
|
||||
"color-scheme": "light",
|
||||
"primary": "#6e0b75",
|
||||
"secondary": "#007ebd",
|
||||
"accent": "#f8860d",
|
||||
"neutral": "#1f2937",
|
||||
"base-100": "#ffffff",
|
||||
"base-content": "#1f2937",
|
||||
},
|
||||
"[data-theme=forest]": {
|
||||
"color-scheme": "dark",
|
||||
"primary": "#1eb854",
|
||||
"primary-content": "#000000",
|
||||
"secondary": "#1DB88E",
|
||||
"accent": "#1DB8AB",
|
||||
"neutral": "#19362D",
|
||||
"base-100": "#171212",
|
||||
"--rounded-btn": "1.9rem",
|
||||
},
|
||||
"[data-theme=garden]": {
|
||||
"color-scheme": "light",
|
||||
"primary": "#F40076",
|
||||
"secondary": "#8E4162",
|
||||
"accent": "#5c7f67",
|
||||
"neutral": "#291E00",
|
||||
"neutral-content": "#e9e7e7",
|
||||
"base-100": "#e9e7e7",
|
||||
"base-content": "#100f0f",
|
||||
},
|
||||
"[data-theme=halloween]": {
|
||||
"color-scheme": "dark",
|
||||
"primary": "#f28c18",
|
||||
"primary-content": "#131616",
|
||||
"secondary": "#6d3a9c",
|
||||
"accent": "#51a800",
|
||||
"accent-content": "#000000",
|
||||
"neutral": "#2F1B05",
|
||||
"base-100": "#212121",
|
||||
"info": "#2563eb",
|
||||
"success": "#16a34a",
|
||||
"warning": "#d97706",
|
||||
"error": "#dc2626",
|
||||
},
|
||||
"[data-theme=light]": {
|
||||
"color-scheme": "light",
|
||||
"primary": "#570df8",
|
||||
"primary-content": "#E0D2FE",
|
||||
"secondary": "#f000b8",
|
||||
"secondary-content": "#FFD1F4",
|
||||
"accent": "#1ECEBC",
|
||||
"accent-content": "#07312D",
|
||||
"neutral": "#2B3440",
|
||||
"neutral-content": "#D7DDE4",
|
||||
"base-100": "#ffffff",
|
||||
"base-200": "#F2F2F2",
|
||||
"base-300": "#E5E6E6",
|
||||
"base-content": "#1f2937",
|
||||
},
|
||||
"[data-theme=lofi]": {
|
||||
"color-scheme": "light",
|
||||
"primary": "#0D0D0D",
|
||||
"primary-content": "#ffffff",
|
||||
"secondary": "#1A1919",
|
||||
"secondary-content": "#ffffff",
|
||||
"accent": "#262626",
|
||||
"accent-content": "#ffffff",
|
||||
"neutral": "#000000",
|
||||
"neutral-content": "#ffffff",
|
||||
"base-100": "#ffffff",
|
||||
"base-200": "#F2F2F2",
|
||||
"base-300": "#E6E5E5",
|
||||
"base-content": "#000000",
|
||||
"info": "#0070F3",
|
||||
"info-content": "#ffffff",
|
||||
"success": "#21CC51",
|
||||
"success-content": "#000000",
|
||||
"warning": "#FF6154",
|
||||
"warning-content": "#ffffff",
|
||||
"error": "#DE1C8D",
|
||||
"error-content": "#ffffff",
|
||||
"--rounded-box": "0.25rem",
|
||||
"--rounded-btn": "0.125rem",
|
||||
"--rounded-badge": "0.125rem",
|
||||
"--animation-btn": "0",
|
||||
"--animation-input": "0",
|
||||
"--btn-focus-scale": "1",
|
||||
"--tab-radius": "0",
|
||||
},
|
||||
"[data-theme=luxury]": {
|
||||
"color-scheme": "dark",
|
||||
"primary": "#ffffff",
|
||||
"secondary": "#152747",
|
||||
"accent": "#513448",
|
||||
"neutral": "#331800",
|
||||
"neutral-content": "#FFE7A3",
|
||||
"base-100": "#09090b",
|
||||
"base-200": "#171618",
|
||||
"base-300": "#2e2d2f",
|
||||
"base-content": "#dca54c",
|
||||
"info": "#66c6ff",
|
||||
"success": "#87d039",
|
||||
"warning": "#e2d562",
|
||||
"error": "#ff6f6f",
|
||||
},
|
||||
"[data-theme=pastel]": {
|
||||
"color-scheme": "light",
|
||||
"primary": "#d1c1d7",
|
||||
"secondary": "#f6cbd1",
|
||||
"accent": "#b4e9d6",
|
||||
"neutral": "#70acc7",
|
||||
"base-100": "#ffffff",
|
||||
"base-200": "#f9fafb",
|
||||
"base-300": "#d1d5db",
|
||||
"--rounded-btn": "1.9rem",
|
||||
},
|
||||
"[data-theme=retro]": {
|
||||
"color-scheme": "light",
|
||||
"primary": "#ef9995",
|
||||
"primary-content": "#282425",
|
||||
"secondary": "#a4cbb4",
|
||||
"secondary-content": "#282425",
|
||||
"accent": "#DC8850",
|
||||
"accent-content": "#282425",
|
||||
"neutral": "#2E282A",
|
||||
"neutral-content": "#EDE6D4",
|
||||
"base-100": "#e4d8b4",
|
||||
"base-200": "#DBCA9A",
|
||||
"base-300": "#D4BF87",
|
||||
"base-content": "#282425",
|
||||
"info": "#2563eb",
|
||||
"success": "#16a34a",
|
||||
"warning": "#d97706",
|
||||
"error": "#dc2626",
|
||||
"--rounded-box": "0.4rem",
|
||||
"--rounded-btn": "0.4rem",
|
||||
"--rounded-badge": "0.4rem",
|
||||
},
|
||||
"[data-theme=synthwave]": {
|
||||
"color-scheme": "dark",
|
||||
"primary": "#e779c1",
|
||||
"secondary": "#58c7f3",
|
||||
"accent": "#f3cc30",
|
||||
"neutral": "#221551",
|
||||
"neutral-content": "#f9f7fd",
|
||||
"base-100": "#1a103d",
|
||||
"base-content": "#f9f7fd",
|
||||
"info": "#53c0f3",
|
||||
"info-content": "#201047",
|
||||
"success": "#71ead2",
|
||||
"success-content": "#201047",
|
||||
"warning": "#f3cc30",
|
||||
"warning-content": "#201047",
|
||||
"error": "#e24056",
|
||||
"error-content": "#f9f7fd",
|
||||
},
|
||||
"[data-theme=valentine]": {
|
||||
"color-scheme": "light",
|
||||
"primary": "#e96d7b",
|
||||
"secondary": "#a991f7",
|
||||
"accent": "#88dbdd",
|
||||
"neutral": "#af4670",
|
||||
"neutral-content": "#f0d6e8",
|
||||
"base-100": "#f0d6e8",
|
||||
"base-content": "#632c3b",
|
||||
"info": "#2563eb",
|
||||
"success": "#16a34a",
|
||||
"warning": "#d97706",
|
||||
"error": "#dc2626",
|
||||
"--rounded-btn": "1.9rem",
|
||||
},
|
||||
"[data-theme=wireframe]": {
|
||||
"color-scheme": "light",
|
||||
"fontFamily": 'Chalkboard,comic sans ms,"sanssecondaryerif"',
|
||||
"primary": "#b8b8b8",
|
||||
"secondary": "#b8b8b8",
|
||||
"accent": "#b8b8b8",
|
||||
"neutral": "#ebebeb",
|
||||
"base-100": "#ffffff",
|
||||
"base-200": "#eeeeee",
|
||||
"base-300": "#dddddd",
|
||||
"info": "#0000ff",
|
||||
"success": "#008000",
|
||||
"warning": "#a6a659",
|
||||
"error": "#ff0000",
|
||||
"--rounded-box": "0.2rem",
|
||||
"--rounded-btn": "0.2rem",
|
||||
"--rounded-badge": "0.2rem",
|
||||
"--tab-radius": "0.2rem",
|
||||
},
|
||||
"[data-theme=autumn]": {
|
||||
"color-scheme": "light",
|
||||
"primary": "#8C0327",
|
||||
"secondary": "#D85251",
|
||||
"accent": "#D59B6A",
|
||||
"neutral": "#826A5C",
|
||||
"base-100": "#f1f1f1",
|
||||
"info": "#42ADBB",
|
||||
"success": "#499380",
|
||||
"warning": "#E97F14",
|
||||
"error": "#DF1A2F",
|
||||
},
|
||||
"[data-theme=business]": {
|
||||
"color-scheme": "dark",
|
||||
"primary": "#1C4E80",
|
||||
"secondary": "#7C909A",
|
||||
"accent": "#EA6947",
|
||||
"neutral": "#23282E",
|
||||
"base-100": "#202020",
|
||||
"info": "#0091D5",
|
||||
"success": "#6BB187",
|
||||
"warning": "#DBAE59",
|
||||
"error": "#AC3E31",
|
||||
"--rounded-box": "0.25rem",
|
||||
"--rounded-btn": ".125rem",
|
||||
"--rounded-badge": ".125rem",
|
||||
},
|
||||
"[data-theme=acid]": {
|
||||
"color-scheme": "light",
|
||||
"primary": "#FF00F4",
|
||||
"secondary": "#FF7400",
|
||||
"accent": "#CBFD03",
|
||||
"neutral": "#191A3F",
|
||||
"base-100": "#fafafa",
|
||||
"info": "#3194F6",
|
||||
"success": "#5FC992",
|
||||
"warning": "#F7DE2D",
|
||||
"error": "#E60300",
|
||||
"--rounded-box": "1.25rem",
|
||||
"--rounded-btn": "1rem",
|
||||
"--rounded-badge": "1rem",
|
||||
},
|
||||
"[data-theme=lemonade]": {
|
||||
"color-scheme": "light",
|
||||
"primary": "#519903",
|
||||
"secondary": "#E9E92E",
|
||||
"accent": "#F7F9CA",
|
||||
"neutral": "#191A3F",
|
||||
"base-100": "#ffffff",
|
||||
"info": "#C8E1E7",
|
||||
"success": "#DEF29F",
|
||||
"warning": "#F7E589",
|
||||
"error": "#F2B6B5",
|
||||
},
|
||||
"[data-theme=night]": {
|
||||
"color-scheme": "dark",
|
||||
"primary": "#38bdf8",
|
||||
"secondary": "#818CF8",
|
||||
"accent": "#F471B5",
|
||||
"neutral": "#1E293B",
|
||||
"neutral-focus": "#273449",
|
||||
"base-100": "#0F172A",
|
||||
"info": "#0CA5E9",
|
||||
"info-content": "#000000",
|
||||
"success": "#2DD4BF",
|
||||
"warning": "#F4BF50",
|
||||
"error": "#FB7085",
|
||||
},
|
||||
"[data-theme=coffee]": {
|
||||
"color-scheme": "dark",
|
||||
"primary": "#DB924B",
|
||||
"secondary": "#263E3F",
|
||||
"accent": "#10576D",
|
||||
"neutral": "#120C12",
|
||||
"base-100": "#20161F",
|
||||
"base-content": "#756E63",
|
||||
"info": "#8DCAC1",
|
||||
"success": "#9DB787",
|
||||
"warning": "#FFD25F",
|
||||
"error": "#FC9581",
|
||||
},
|
||||
"[data-theme=winter]": {
|
||||
"color-scheme": "light",
|
||||
"primary": "#047AFF",
|
||||
"secondary": "#463AA2",
|
||||
"accent": "#C148AC",
|
||||
"neutral": "#021431",
|
||||
"base-100": "#ffffff",
|
||||
"base-200": "#F2F7FF",
|
||||
"base-300": "#E3E9F4",
|
||||
"base-content": "#394E6A",
|
||||
"info": "#93E7FB",
|
||||
"success": "#81CFD1",
|
||||
"warning": "#EFD7BB",
|
||||
"error": "#E58B8B",
|
||||
},
|
||||
}
|
Reference in New Issue
Block a user