fixed backend errors, added delete and more configuration

This commit is contained in:
2026-03-25 13:20:04 +01:00
parent d47f30a53a
commit 3ec009c86d
7 changed files with 606 additions and 154 deletions

View File

@@ -1,38 +1,87 @@
@import "tailwindcss";
@theme {
--color-crust: #11111b;
--color-mantle: #181825;
--color-base: #1e1e2e;
--color-surface0: #313244;
--color-surface1: #45475a;
--color-surface2: #585b70;
--color-overlay0: #6c7086;
--color-overlay1: #7f849c;
--color-overlay2: #9399b2;
--color-text: #cdd6f4;
--color-subtext0: #a6adc8;
--color-subtext1: #bac2de;
--color-blue: #8caaee;
--color-lavender: #b4befe;
--color-sapphire: #85c1dc;
--color-sky: #99d1db;
--color-teal: #81c8be;
--color-green: #a6d189;
--color-yellow: #e5c890;
--color-peach: #ef9f76;
--color-maroon: #ea999c;
--color-red: #e78284;
--color-mauve: #ca9ee6;
--color-pink: #f4b8e4;
--color-flamingo: #eebebe;
--color-rosewater: #f2d5cf;
--color-crust: var(--crust);
--color-mantle: var(--mantle);
--color-base: var(--base);
--color-surface0: var(--surface0);
--color-surface1: var(--surface1);
--color-surface2: var(--surface2);
--color-overlay0: var(--overlay0);
--color-overlay1: var(--overlay1);
--color-overlay2: var(--overlay2);
--color-text: var(--text);
--color-subtext0: var(--subtext0);
--color-subtext1: var(--subtext1);
--color-blue: var(--blue);
--color-lavender: var(--lavender);
--color-sapphire: var(--sapphire);
--color-sky: var(--sky);
--color-teal: var(--teal);
--color-green: var(--green);
--color-yellow: var(--yellow);
--color-peach: var(--peach);
--color-maroon: var(--maroon);
--color-red: var(--red);
--color-mauve: var(--mauve);
--color-pink: var(--pink);
--color-flamingo: var(--flamingo);
--color-rosewater: var(--rosewater);
}
:root, .mocha {
--crust: #11111b; --mantle: #181825; --base: #1e1e2e;
--surface0: #313244; --surface1: #45475a; --surface2: #585b70;
--overlay0: #6c7086; --overlay1: #7f849c; --overlay2: #9399b2;
--text: #cdd6f4; --subtext0: #a6adc8; --subtext1: #bac2de;
--blue: #89b4fa; --lavender: #b4befe; --sapphire: #74c7ec;
--sky: #89dceb; --teal: #94e2d5; --green: #a6e3a1;
--yellow: #f9e2af; --peach: #fab387; --maroon: #eba0ac;
--red: #f38ba8; --mauve: #cba6f7; --pink: #f5c2e7;
--flamingo: #f2cdcd; --rosewater: #f5e0dc;
}
.macchiato {
--crust: #181926; --mantle: #1e2030; --base: #24273a;
--surface0: #363a4f; --surface1: #494d64; --surface2: #5b6078;
--overlay0: #6e738d; --overlay1: #8087a2; --overlay2: #939ab7;
--text: #cad3f5; --subtext0: #a5adcb; --subtext1: #b8c0e0;
--blue: #8aadf4; --lavender: #b7bdf8; --sapphire: #7dc4e4;
--sky: #91d7e3; --teal: #8bd5ca; --green: #a6da95;
--yellow: #eed49f; --peach: #f5a97f; --maroon: #ee99a0;
--red: #ed8796; --mauve: #c6a0f6; --pink: #f5bde6;
--flamingo: #f0c1c1; --rosewater: #f4dbd6;
}
.frappe {
--crust: #232634; --mantle: #292c3c; --base: #303446;
--surface0: #414559; --surface1: #51576d; --surface2: #626880;
--overlay0: #737994; --overlay1: #838ba7; --overlay2: #949cbb;
--text: #c6d0f5; --subtext0: #a5adce; --subtext1: #b5bfe3;
--blue: #8caaee; --lavender: #babbf1; --sapphire: #85c1dc;
--sky: #99d1db; --teal: #81c8be; --green: #a6d189;
--yellow: #e5c890; --peach: #ef9f76; --maroon: #ea999c;
--red: #e78284; --mauve: #ca9ee6; --pink: #f4b8e4;
--flamingo: #eebebe; --rosewater: #f2d5cf;
}
.latte {
--crust: #dce0e8; --mantle: #e6e9ef; --base: #eff1f5;
--surface0: #ccd0da; --surface1: #bcc0cc; --surface2: #acb0be;
--overlay0: #9ca0b0; --overlay1: #8c8fa1; --overlay2: #7c7f93;
--text: #4c4f69; --subtext0: #5c5f77; --subtext1: #6c6f85;
--blue: #1e66f5; --lavender: #7287fd; --sapphire: #209fb5;
--sky: #04a5e5; --teal: #179299; --green: #40a02b;
--yellow: #df8e1d; --peach: #fe640b; --maroon: #e64553;
--red: #d20f39; --mauve: #8839ef; --pink: #ea76cb;
--flamingo: #dd7878; --rosewater: #dc8a78;
}
body {
background-color: var(--color-base);
color: var(--color-text);
background-color: var(--base);
color: var(--text);
min-height: 100vh;
transition: background-color 0.3s ease, color 0.3s ease;
}
/* Typography styles for Markdown */
@@ -49,7 +98,7 @@ body {
.prose img { @apply max-w-full h-auto rounded-xl shadow-lg border border-white/5 my-8; }
.glass {
background-color: color-mix(in srgb, var(--color-surface0) 60%, transparent);
background-color: color-mix(in srgb, var(--surface0) 60%, transparent);
backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.05);
box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);