-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.ts
More file actions
53 lines (48 loc) · 1.04 KB
/
Copy pathexample.ts
File metadata and controls
53 lines (48 loc) · 1.04 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Hex colors (6-digit)
export const chartColors = [
"#9567bd",
"#ff800f",
"#e93324",
"#00a86b",
"#007aff",
"#5856d6",
"#af52de",
"#ff2d55",
"#4cd964",
"#ffcc00",
"#8e8e93",
"#34c759",
"#5ac8fa",
"#ff9500",
"#ff3b30",
] as const;
// Hex colors with alpha (8-digit)
export const colorsWithAlpha = [
"#9567bd80", // 50% opacity
"#ff800fff", // Full opacity
"#e9332480", // 50% opacity
"#00a86bcc", // 80% opacity
] as const;
// Short hex colors (3-digit)
export const shortHexColors = ["#abc", "#def", "#123", "#456"] as const;
// Short hex colors with alpha (4-digit)
export const shortHexWithAlpha = [
"#abcd", // #aabbccdd
"#1234", // #11223344
] as const;
// RGB colors
export const rgbColors = [
"rgb(149, 103, 189)",
"rgb(255, 128, 15)",
"rgb(233, 51, 36)",
"rgb(0, 168, 107)",
"rgb(0, 122, 255)",
] as const;
// RGBA colors
export const rgbaColors = [
"rgba(149, 103, 189, 0.5)",
"rgba(255, 128, 15, 0.8)",
"rgba(233, 51, 36, 1.0)",
"rgba(0, 168, 107, 0.3)",
"rgba(0, 122, 255, 0.9)",
] as const;