Britanniae
Restrained heraldry. Modern craftsmanship.
Palettes
Britanniae
Color tokens
Arthur- --background
- #fbf7f6
- --foreground
- #2d2227
- --card
- #fffdfc
- --card-foreground
- var(--foreground)
- --popover
- var(--card)
- --popover-foreground
- var(--foreground)
- --primary
- #ad3040
- --primary-foreground
- #ffffff
- --secondary
- color-mix(in srgb, #ad3040, white 90%)
- --secondary-foreground
- var(--foreground)
- --muted
- var(--secondary)
- --muted-foreground
- #645b5f
- --accent
- color-mix(in srgb, #a3404d, white 88%)
- --accent-foreground
- var(--foreground)
- --destructive
- #ae2638
- --border
- rgb(151 113 36 / 26%)
- --input
- var(--border)
- --ring
- #ad3040
- --chart-1
- var(--primary)
- --chart-2
- #987124
- --chart-3
- #68788d
- --chart-4
- #87998e
- --chart-5
- #9c856b
- --sidebar
- var(--card)
- --sidebar-foreground
- var(--foreground)
- --sidebar-primary
- var(--primary)
- --sidebar-primary-foreground
- var(--primary-foreground)
- --sidebar-accent
- var(--accent)
- --sidebar-accent-foreground
- var(--foreground)
- --sidebar-border
- var(--border)
- --sidebar-ring
- var(--ring)
Arthur CSS
/* Britanniae / Arthur: color only; geometry belongs to the theme. */
:root[data-elements-theme="britanniae"][data-elements-palette="arthur"] {
--background: #fbf7f6;
--foreground: #2d2227;
--card: #fffdfc;
--card-foreground: var(--foreground);
--popover: var(--card);
--popover-foreground: var(--foreground);
--primary: #ad3040;
--primary-foreground: #ffffff;
--secondary: color-mix(in srgb, #ad3040, white 90%);
--secondary-foreground: var(--foreground);
--muted: var(--secondary);
--muted-foreground: #645b5f;
--accent: color-mix(in srgb, #a3404d, white 88%);
--accent-foreground: var(--foreground);
--destructive: #ae2638;
--border: rgb(151 113 36 / 26%);
--input: var(--border);
--ring: #ad3040;
--chart-1: var(--primary);
--chart-2: #987124;
--chart-3: #68788d;
--chart-4: #87998e;
--chart-5: #9c856b;
--sidebar: var(--card);
--sidebar-foreground: var(--foreground);
--sidebar-primary: var(--primary);
--sidebar-primary-foreground: var(--primary-foreground);
--sidebar-accent: var(--accent);
--sidebar-accent-foreground: var(--foreground);
--sidebar-border: var(--border);
--sidebar-ring: var(--ring);
}
:root[data-elements-theme="britanniae"][data-elements-palette="arthur"].dark {
--background: #2b171e;
--foreground: #f5f4f7;
--card: color-mix(in srgb, #2b171e, white 5%);
--card-foreground: var(--foreground);
--popover: var(--card);
--popover-foreground: var(--foreground);
--primary: #dd8791;
--primary-foreground: #2b171e;
--secondary: color-mix(in srgb, #2b171e, white 12%);
--secondary-foreground: var(--foreground);
--muted: var(--secondary);
--muted-foreground: #cbbec3;
--accent: color-mix(in srgb, #a3404d, #2b171e 58%);
--accent-foreground: var(--foreground);
--destructive: #ffa6a6;
--border: rgb(225 190 103 / 28%);
--input: var(--border);
--ring: #dd8791;
--chart-1: var(--primary);
--chart-2: #e1be67;
--chart-3: #a5b4c6;
--chart-4: #c9c4d2;
--chart-5: #e0ddd5;
--sidebar: var(--card);
--sidebar-foreground: var(--foreground);
--sidebar-primary: var(--primary);
--sidebar-primary-foreground: var(--primary-foreground);
--sidebar-accent: var(--accent);
--sidebar-accent-foreground: var(--foreground);
--sidebar-border: var(--border);
--sidebar-ring: var(--ring);
}
Design formula
- Spacing
- 4px base unit
- Control heights
- 24 / 28 / 32 / 36px
- Base radius
- 4px, crisp corners and fine inset borders
- Typography
- Georgia throughout, with monospace for code and figures
- States
- Hover, focus, active, disabled, invalid
- Primitives
- Semantic HTML and Base UI
Use this theme
@import "tailwindcss";
@import "@jnpll/elements-ui/themes.css";
@source "../../node_modules/@jnpll/elements-ui/dist";<html data-elements-theme="britanniae" data-elements-palette="arthur">
<!-- application -->
</html>