Skip to content

Commit 2539103

Browse files
committed
feat(web): apply Dimidium colour theme
Replace the default blue-based light/dark palette in index.css with the Dimidium light/dark palette (backgrounds, foregrounds, accent green, semantic colours) across the root theme and both sidebar variants. Fonts are unchanged.
1 parent f6e6df5 commit 2539103

1 file changed

Lines changed: 69 additions & 69 deletions

File tree

‎apps/web/src/index.css‎

Lines changed: 69 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -673,33 +673,34 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
673673
:root {
674674
color-scheme: light;
675675
--radius: 0.625rem;
676-
--background: var(--color-white);
676+
/* Dimidium Light */
677+
--background: #f5f3f1;
677678
--app-chrome-background: var(--background);
678679
--surface-raised: var(--secondary);
679-
--foreground: var(--color-neutral-800);
680-
--card: var(--color-white);
681-
--card-foreground: var(--color-neutral-800);
682-
--popover: var(--color-white);
683-
--popover-foreground: var(--color-neutral-800);
684-
--primary: oklch(0.488 0.217 264);
685-
--primary-foreground: var(--color-white);
686-
--secondary: --alpha(var(--color-black) / 4%);
687-
--secondary-foreground: var(--color-neutral-800);
688-
--muted: --alpha(var(--color-black) / 4%);
689-
--muted-foreground: color-mix(in srgb, var(--color-neutral-500) 90%, var(--color-black));
690-
--accent: --alpha(var(--color-black) / 4%);
691-
--accent-foreground: var(--color-neutral-800);
692-
--destructive: var(--color-red-500);
693-
--border: --alpha(var(--color-black) / 8%);
694-
--input: --alpha(var(--color-black) / 10%);
695-
--ring: oklch(0.488 0.217 264);
696-
--destructive-foreground: var(--color-red-700);
697-
--info: var(--color-blue-500);
698-
--info-foreground: var(--color-blue-700);
699-
--success: var(--color-emerald-500);
700-
--success-foreground: var(--color-emerald-700);
701-
--warning: var(--color-amber-500);
702-
--warning-foreground: var(--color-amber-700);
680+
--foreground: #1c1918;
681+
--card: #ede9e6;
682+
--card-foreground: #1c1918;
683+
--popover: #eae5e1;
684+
--popover-foreground: #1c1918;
685+
--primary: #1a8e46;
686+
--primary-foreground: #f5f3f1;
687+
--secondary: rgb(0 0 0 / 4%);
688+
--secondary-foreground: #1c1918;
689+
--muted: rgb(0 0 0 / 4%);
690+
--muted-foreground: #6b6663;
691+
--accent: rgb(0 0 0 / 4%);
692+
--accent-foreground: #1c1918;
693+
--destructive: #cf494c;
694+
--border: rgb(0 0 0 / 8%);
695+
--input: rgb(0 0 0 / 10%);
696+
--ring: #1a8e46;
697+
--destructive-foreground: #8c2a2a;
698+
--info: #4060d8;
699+
--info-foreground: #2a4090;
700+
--success: #2e7318;
701+
--success-foreground: #1a4d0e;
702+
--warning: #8c6200;
703+
--warning-foreground: #5c4000;
703704
/* Fallbacks for standalone sidebar primitives. App sidebars override these
704705
roles on their own root so the surface hierarchy stays out of page content. */
705706
--sidebar: var(--card);
@@ -713,35 +714,34 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
713714

714715
@variant dark {
715716
color-scheme: dark;
716-
/* Keep the workspace in the same neutral-black family as sidebar v2.
717-
Surfaces lift from this base instead of starting from a milky gray. */
718-
--background: var(--color-neutral-950);
717+
/* Dimidium Dark */
718+
--background: #141414;
719719
--app-chrome-background: var(--background);
720720
--surface-raised: var(--secondary);
721-
--foreground: var(--color-neutral-100);
722-
--card: color-mix(in srgb, var(--background) 97%, var(--color-white));
723-
--card-foreground: var(--color-neutral-100);
724-
--popover: color-mix(in srgb, var(--background) 94%, var(--color-white));
725-
--popover-foreground: var(--color-neutral-100);
726-
--primary: oklch(0.588 0.217 264);
727-
--primary-foreground: var(--color-white);
728-
--secondary: --alpha(var(--color-white) / 4%);
729-
--secondary-foreground: var(--color-neutral-100);
730-
--muted: --alpha(var(--color-white) / 4%);
731-
--muted-foreground: color-mix(in srgb, var(--color-neutral-500) 90%, var(--color-white));
732-
--accent: --alpha(var(--color-white) / 4%);
733-
--accent-foreground: var(--color-neutral-100);
734-
--destructive: color-mix(in srgb, var(--color-red-500) 90%, var(--color-white));
735-
--border: --alpha(var(--color-white) / 6%);
736-
--input: --alpha(var(--color-white) / 8%);
737-
--ring: oklch(0.588 0.217 264);
738-
--destructive-foreground: var(--color-red-400);
739-
--info: var(--color-blue-500);
740-
--info-foreground: var(--color-blue-400);
741-
--success: var(--color-emerald-500);
742-
--success-foreground: var(--color-emerald-400);
743-
--warning: var(--color-amber-500);
744-
--warning-foreground: var(--color-amber-400);
721+
--foreground: #bab7b6;
722+
--card: #111111;
723+
--card-foreground: #bab7b6;
724+
--popover: #0f0f0f;
725+
--popover-foreground: #bab7b6;
726+
--primary: #37e57b;
727+
--primary-foreground: #141414;
728+
--secondary: rgb(255 255 255 / 4%);
729+
--secondary-foreground: #bab7b6;
730+
--muted: rgb(255 255 255 / 4%);
731+
--muted-foreground: #817e7e;
732+
--accent: rgb(255 255 255 / 4%);
733+
--accent-foreground: #dee3e4;
734+
--destructive: #cf494c;
735+
--border: rgb(255 255 255 / 8%);
736+
--input: rgb(255 255 255 / 12%);
737+
--ring: #37e57b;
738+
--destructive-foreground: #ff643b;
739+
--info: #688dfd;
740+
--info-foreground: #0575d8;
741+
--success: #60b442;
742+
--success-foreground: #37e57b;
743+
--warning: #db9c11;
744+
--warning-foreground: #fccd1a;
745745
}
746746
}
747747

@@ -750,16 +750,16 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
750750
shared so switching the beta does not switch visual systems. */
751751
[data-sidebar-version="v1"],
752752
[data-sidebar-version="v2"] {
753-
--background: oklch(0.965 0.009 265);
754-
--foreground: oklch(0.27 0.025 265);
755-
--card: oklch(0.945 0.014 265);
753+
--background: #eae5e1;
754+
--foreground: #1c1918;
755+
--card: #ede9e6;
756756
--card-foreground: var(--foreground);
757-
--accent: oklch(0.875 0.008 265);
758-
--accent-foreground: oklch(0.24 0.012 265);
759-
--muted: oklch(0.9 0.018 265);
760-
--muted-foreground: oklch(0.49 0.03 265);
761-
--border: oklch(0.72 0.025 265 / 28%);
762-
--input: oklch(0.62 0.03 265 / 28%);
757+
--accent: rgb(0 0 0 / 6%);
758+
--accent-foreground: #1c1918;
759+
--muted: rgb(0 0 0 / 5%);
760+
--muted-foreground: #6b6663;
761+
--border: rgb(0 0 0 / 10%);
762+
--input: rgb(0 0 0 / 12%);
763763
--sidebar: var(--card);
764764
--sidebar-foreground: var(--foreground);
765765
--sidebar-muted-foreground: var(--muted-foreground);
@@ -774,16 +774,16 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
774774

775775
.dark [data-sidebar-version="v1"],
776776
.dark [data-sidebar-version="v2"] {
777-
--background: #000;
778-
--foreground: #f1f3f7;
779-
--card: #000;
777+
--background: #0f0f0f;
778+
--foreground: #bab7b6;
779+
--card: #0f0f0f;
780780
--card-foreground: var(--foreground);
781-
--accent: #191a1d;
782-
--accent-foreground: #f7f9ff;
783-
--muted: #0a0a0a;
784-
--muted-foreground: #a3a3a3;
781+
--accent: rgb(255 255 255 / 6%);
782+
--accent-foreground: #dee3e4;
783+
--muted: rgb(255 255 255 / 4%);
784+
--muted-foreground: #817e7e;
785785
--border: rgb(255 255 255 / 8%);
786-
--input: rgb(255 255 255 / 18%);
786+
--input: rgb(255 255 255 / 15%);
787787
--sidebar: var(--card);
788788
--sidebar-foreground: var(--foreground);
789789
--sidebar-muted-foreground: var(--muted-foreground);

0 commit comments

Comments
 (0)