-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpalettes.ts
More file actions
32 lines (30 loc) · 811 Bytes
/
Copy pathpalettes.ts
File metadata and controls
32 lines (30 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import { theme, darkTheme } from "nano-theme";
import { palette, ColorPalette } from "./style";
export const light: ColorPalette = {
...palette,
mono1: theme.g(0, 0.84),
mono2: theme.g(0, 1 - 0.32),
mono3: theme.g(0, 1 - 0.64),
number: "#0a8F3F",
float: "#016873",
boolean: "#411888",
nil: theme.g(0, 0.45),
undef: theme.g(0, 0.25),
};
export const dark: ColorPalette = {
...palette,
mono1: darkTheme.g(0, 0.84),
mono2: darkTheme.g(0, 1 - 0.32),
mono3: darkTheme.g(0, 1 - 0.64),
col1: "hsl(187, 47%, 55%)",
col2: "hsl(207, 82%, 66%)",
col3: "hsl(286, 60%, 67%)",
col4: "hsl(95, 38%, 62%)",
col5: "hsl(355, 65%, 65%)",
col6: "hsl(29, 54%, 61%)",
number: "#0FaF4F",
float: "#51a8b3",
boolean: "#9168c8",
nil: darkTheme.g(0, 0.45),
undef: darkTheme.g(0, 0.25),
};