Updated mooncore styles. Adjusted theme editor and theme loading. Changed versions Upgraded mooncore.blazor.flyonui. Made moonlight flyonui/daisyui compatible

This commit is contained in:
2025-10-27 08:23:02 +00:00
parent 2f21806bea
commit 0cc35300f1
19 changed files with 341 additions and 163 deletions

View File

@@ -1,33 +1,35 @@
@theme {
--mooncore-color-background: #0c0f18;
--mooncore-color-base-100: #1e2b47;
--mooncore-color-base-150: #1a2640;
--mooncore-color-base-200: #101a2e;
--mooncore-color-base-250: #0f1729;
--mooncore-color-base-300: #0c1221;
--mooncore-color-base-content: #dde5f5;
--mooncore-color-primary: oklch(.511 .262 276.966);
--mooncore-color-primary-content: #dde5f5;
--mooncore-color-secondary: oklch(37% 0.034 259.733);
--mooncore-color-secondary-content: #dde5f5;
--mooncore-color-accent: oklch(49.1% 0.27 292.581);
--mooncore-color-accent-content: #dde5f5;
--mooncore-color-neutral: oklch(27% 0.041 260.031);
--mooncore-color-neutral-content: oklch(92% 0.004 286.32);
--mooncore-color-info: oklch(.546 .245 262.881);
--mooncore-color-info-content: #dde5f5;
--mooncore-color-success: oklch(.627 .194 149.214);
--mooncore-color-success-content: #dde5f5;
--mooncore-color-warning: oklch(.828 .189 84.429);
--mooncore-color-warning-content: #dde5f5;
--mooncore-color-error: oklch(.586 .253 17.585);
--mooncore-color-error-content: #dde5f5;
--mooncore-radius-selector: 0.25rem;
--mooncore-radius-field: 0.5rem;
--mooncore-radius-box: 0.5rem;
--mooncore-size-selector: 0.25rem;
--mooncore-size-field: 0.25rem;
--mooncore-border: 1px;
--mooncore-depth: 0;
--mooncore-noise: 0;
@plugin "flyonui/theme" {
name: "moonlight";
prefersdark: true;
color-scheme: "dark";
--color-base-100: #192032;
--color-base-200: #101522;
--color-base-300: #070a14;
--color-base-content: #dde5f5;
--color-primary: oklch(.511 .262 276.966);
--color-primary-content: #dde5f5;
--color-secondary: oklch(37% 0.034 259.733);
--color-secondary-content: #dde5f5;
--color-accent: oklch(49.1% 0.27 292.581);
--color-accent-content: #dde5f5;
--color-neutral: oklch(27% 0.041 260.031);
--color-neutral-content: oklch(92% 0.004 286.32);
--color-info: oklch(.546 .245 262.881);
--color-info-content: #dde5f5;
--color-success: oklch(.627 .194 149.214);
--color-success-content: #dde5f5;
--color-warning: oklch(.828 .189 84.429);
--color-warning-content: #dde5f5;
--color-error: oklch(.586 .253 17.585);
--color-error-content: #dde5f5;
--radius-selector: 0.25rem;
--radius-field: 0.5rem;
--radius-box: 0.5rem;
--size-selector: 0.25rem;
--size-field: 0.25rem;
--border: 1px;
--depth: 0;
--noise: 0;
}