Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions app/src/lib/artifacts/tokens.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
--border: oklch(0.108 0.042 264.7 / 10%);
--input: oklch(0.108 0.042 264.7 / 10%);
--ring: oklch(0.638 0.167 276.1);
--chart-1: oklch(0.46 0.2 264);
--chart-2: oklch(0.66 0.146 66);
--chart-3: oklch(0.62 0.122 170);
--chart-4: oklch(0.5 0.2 18);
--chart-5: oklch(0.6 0.2 286);
--chart-1: oklch(0.52 0.11 264);
--chart-2: oklch(0.63 0.11 75);
--chart-3: oklch(0.63 0.1 170);
--chart-4: oklch(0.54 0.1 20);
--chart-5: oklch(0.65 0.1 300);
--empty-pattern-color: oklch(0.746 0.117 279.9);
--sidebar: oklch(0.948 0.01 251.8);
--sidebar-foreground: oklch(0.108 0.042 264.7);
Expand Down Expand Up @@ -61,11 +61,11 @@
--border: oklch(0.956 0.004 252 / 12%);
--input: oklch(0.956 0.004 252 / 12%);
--ring: oklch(0.713 0.151 277.7);
--chart-1: oklch(0.58 0.2 264);
--chart-2: oklch(0.76 0.168 66);
--chart-3: oklch(0.86 0.17 170);
--chart-4: oklch(0.6 0.2 18);
--chart-5: oklch(0.76 0.128 286);
--chart-1: oklch(0.62 0.13 264);
--chart-2: oklch(0.72 0.1 75);
--chart-3: oklch(0.73 0.1 170);
--chart-4: oklch(0.64 0.11 20);
--chart-5: oklch(0.73 0.1 300);
--empty-pattern-color: oklch(0.832 0.085 281.4);
--sidebar: oklch(0.156 0.017 252);
--sidebar-foreground: oklch(0.956 0.004 252);
Expand Down
20 changes: 10 additions & 10 deletions app/src/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
--border: oklch(0.108 0.042 264.7 / 10%);
--input: oklch(0.108 0.042 264.7 / 10%);
--ring: oklch(0.638 0.167 276.1);
--chart-1: oklch(0.46 0.2 264);
--chart-2: oklch(0.66 0.146 66);
--chart-3: oklch(0.62 0.122 170);
--chart-4: oklch(0.5 0.2 18);
--chart-5: oklch(0.6 0.2 286);
--chart-1: oklch(0.52 0.11 264);
--chart-2: oklch(0.63 0.11 75);
--chart-3: oklch(0.63 0.1 170);
--chart-4: oklch(0.54 0.1 20);
--chart-5: oklch(0.65 0.1 300);
--empty-pattern-color: oklch(0.746 0.117 279.9);
--sidebar: oklch(0.948 0.01 251.8);
--sidebar-foreground: oklch(0.108 0.042 264.7);
Expand Down Expand Up @@ -87,11 +87,11 @@
--border: oklch(0.956 0.004 252 / 12%);
--input: oklch(0.956 0.004 252 / 12%);
--ring: oklch(0.713 0.151 277.7);
--chart-1: oklch(0.58 0.2 264);
--chart-2: oklch(0.76 0.168 66);
--chart-3: oklch(0.86 0.17 170);
--chart-4: oklch(0.6 0.2 18);
--chart-5: oklch(0.76 0.128 286);
--chart-1: oklch(0.62 0.13 264);
--chart-2: oklch(0.72 0.1 75);
--chart-3: oklch(0.73 0.1 170);
--chart-4: oklch(0.64 0.11 20);
--chart-5: oklch(0.73 0.1 300);
--empty-pattern-color: oklch(0.832 0.085 281.4);
--sidebar: oklch(0.156 0.017 252);
--sidebar-foreground: oklch(0.956 0.004 252);
Expand Down
20 changes: 10 additions & 10 deletions mobile/src/scheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ export const scheme = {
border: "#0103131a",
input: "#0103131a",
ring: "#727eef",
"chart-1": "#1949c5",
"chart-2": "#cd7d04",
"chart-3": "#049d7b",
"chart-4": "#ba0135",
"chart-5": "#7b65ef",
"chart-1": "#4867a8",
"chart-2": "#b07f32",
"chart-3": "#3d9d80",
"chart-4": "#a15556",
"chart-5": "#9981c3",
"empty-pattern-color": "#9ea4f5",
sidebar: "#e9eef4",
"sidebar-foreground": "#010313",
Expand Down Expand Up @@ -59,11 +59,11 @@ export const scheme = {
border: "#eef1f31f",
input: "#eef1f31f",
ring: "#8d97ff",
"chart-1": "#3a70ee",
"chart-2": "#f79807",
"chart-3": "#03f4c0",
"chart-4": "#de3951",
"chart-5": "#aaa4ff",
"chart-1": "#5d83d4",
"chart-2": "#c99b5a",
"chart-3": "#5fbc9e",
"chart-4": "#c66f70",
"chart-5": "#b199de",
"empty-pattern-color": "#bec2ff",
sidebar: "#070d14",
"sidebar-foreground": "#eef1f3",
Expand Down
30 changes: 16 additions & 14 deletions tokens/src/scheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,18 @@ const light: Palette = {
input: "oklch(0.108 0.042 264.7 / 10%)",
ring: "oklch(0.638 0.167 276.1)",
/*
* The chart series are OpenBot's own hues: the brand blue, warning's amber, success's teal,
* destructive's rose and the sidebar's violet. Each is clearly colourful and at least 3:1 against
* the card in its mode, and the order keeps neighbours apart for protan, deutan and tritan
* colour vision (tokens/tests/chart.test.ts holds both).
* The chart series: indigo, ochre, sage, dusty rose and lavender, one family at an even lightness
* and about half the chroma the first set had, so a dashboard of charts reads as calm rather than
* as five saturated primaries. Each is still clearly colourful and at least 3:1 against the card
* in its mode, and the five stay apart for typical, protan, deutan and tritan colour vision
* (tokens/tests/chart.test.ts holds all three). None is a state colour: red and green mean
* something here (`destructive`, `success`), and these are only which series is which.
*/
"chart-1": "oklch(0.46 0.2 264)",
"chart-2": "oklch(0.66 0.146 66)",
"chart-3": "oklch(0.62 0.122 170)",
"chart-4": "oklch(0.5 0.2 18)",
"chart-5": "oklch(0.6 0.2 286)",
"chart-1": "oklch(0.52 0.11 264)",
"chart-2": "oklch(0.63 0.11 75)",
"chart-3": "oklch(0.63 0.1 170)",
"chart-4": "oklch(0.54 0.1 20)",
"chart-5": "oklch(0.65 0.1 300)",
"empty-pattern-color": "oklch(0.746 0.117 279.9)",
sidebar: "oklch(0.948 0.01 251.8)",
"sidebar-foreground": "oklch(0.108 0.042 264.7)",
Expand Down Expand Up @@ -140,11 +142,11 @@ const dark: Palette = {
border: "oklch(0.956 0.004 252 / 12%)",
input: "oklch(0.956 0.004 252 / 12%)",
ring: "oklch(0.713 0.151 277.7)",
"chart-1": "oklch(0.58 0.2 264)",
"chart-2": "oklch(0.76 0.168 66)",
"chart-3": "oklch(0.86 0.17 170)",
"chart-4": "oklch(0.6 0.2 18)",
"chart-5": "oklch(0.76 0.128 286)",
"chart-1": "oklch(0.62 0.13 264)",
"chart-2": "oklch(0.72 0.1 75)",
"chart-3": "oklch(0.73 0.1 170)",
"chart-4": "oklch(0.64 0.11 20)",
"chart-5": "oklch(0.73 0.1 300)",
"empty-pattern-color": "oklch(0.832 0.085 281.4)",
sidebar: "oklch(0.156 0.017 252)",
"sidebar-foreground": "oklch(0.956 0.004 252)",
Expand Down
Loading