freya_hooks/theming/
themes.rs

1use super::base::BASE_THEME;
2use crate::{
3    cow_borrowed,
4    theming::*,
5};
6
7pub const DARK_THEME: Theme = Theme {
8    name: "dark",
9    colors: ColorsSheet {
10        primary: cow_borrowed!("rgb(103, 80, 164)"),
11        focused_primary_border: cow_borrowed!("rgb(223, 180, 255)"),
12        secondary: cow_borrowed!("rgb(202, 193, 227)"),
13        tertiary: cow_borrowed!("rgb(79, 61, 130)"),
14        surface: cow_borrowed!("rgb(60, 60, 60)"),
15        secondary_surface: cow_borrowed!("rgb(45, 45, 45)"),
16        neutral_surface: cow_borrowed!("rgb(25, 25, 25)"),
17        focused_surface: cow_borrowed!("rgb(15, 15, 15)"),
18        opposite_surface: cow_borrowed!("rgb(125, 125, 125)"),
19        secondary_opposite_surface: cow_borrowed!("rgb(150, 150, 150)"),
20        tertiary_opposite_surface: cow_borrowed!("rgb(170, 170, 170)"),
21        background: cow_borrowed!("rgb(20, 20, 20)"),
22        focused_border: cow_borrowed!("rgb(110, 110, 110)"),
23        solid: cow_borrowed!("rgb(240, 240, 240)"),
24        color: cow_borrowed!("rgb(250, 250, 250)"),
25        primary_color: cow_borrowed!("white"),
26        placeholder_color: cow_borrowed!("rgb(210, 210, 210)"),
27        highlight_color: cow_borrowed!("rgb(96, 145, 224)"),
28    },
29    ..BASE_THEME
30};
31
32pub const LIGHT_THEME: Theme = Theme {
33    name: "light",
34    colors: ColorsSheet {
35        primary: cow_borrowed!("rgb(103, 80, 164)"),
36        focused_primary_border: cow_borrowed!("rgb(50, 20, 80)"),
37        secondary: cow_borrowed!("rgb(202, 193, 227)"),
38        tertiary: cow_borrowed!("rgb(79, 61, 130)"),
39        surface: cow_borrowed!("rgb(210, 210, 210)"),
40        secondary_surface: cow_borrowed!("rgb(225, 225, 225)"),
41        neutral_surface: cow_borrowed!("rgb(245, 245, 245)"),
42        focused_surface: cow_borrowed!("rgb(235, 235, 235)"),
43        opposite_surface: cow_borrowed!("rgb(135, 135, 135)"),
44        secondary_opposite_surface: cow_borrowed!("rgb(110, 110, 110)"),
45        tertiary_opposite_surface: cow_borrowed!("rgb(90, 90, 90)"),
46        background: cow_borrowed!("rgb(250, 250, 250)"),
47        solid: cow_borrowed!("rgb(35, 35, 35)"),
48        focused_border: cow_borrowed!("rgb(180, 180, 180)"),
49        color: cow_borrowed!("rgb(10, 10, 10)"),
50        primary_color: cow_borrowed!("white"),
51        placeholder_color: cow_borrowed!("rgb(100, 100, 100)"),
52        highlight_color: cow_borrowed!("rgb(38, 89, 170)"),
53    },
54    ..BASE_THEME
55};
56
57pub const BANANA_THEME: Theme = Theme {
58    name: "banana",
59    colors: ColorsSheet {
60        primary: cow_borrowed!("rgb(240, 200, 50)"),
61        focused_primary_border: cow_borrowed!("rgb(100, 50, 15)"),
62        secondary: cow_borrowed!("rgb(255, 250, 160)"),
63        tertiary: cow_borrowed!("rgb(186, 153, 37)"),
64        surface: cow_borrowed!("rgb(240, 229, 189)"),
65        secondary_surface: cow_borrowed!("rgb(250, 240, 210)"),
66        neutral_surface: cow_borrowed!("rgb(255, 245, 220)"),
67        focused_surface: cow_borrowed!("rgb(255, 238, 170)"),
68        opposite_surface: cow_borrowed!("rgb(139, 69, 19)"),
69        secondary_opposite_surface: cow_borrowed!("rgb(120, 80, 20)"),
70        tertiary_opposite_surface: cow_borrowed!("rgb(90, 60, 10)"),
71        background: cow_borrowed!("rgb(255, 255, 224)"),
72        solid: cow_borrowed!("rgb(110, 70, 10)"),
73        focused_border: cow_borrowed!("rgb(255, 239, 151)"),
74        color: cow_borrowed!("rgb(85, 60, 5)"),
75        primary_color: cow_borrowed!("rgb(69, 49, 7)"),
76        placeholder_color: cow_borrowed!("rgb(56, 44, 5)"),
77        highlight_color: cow_borrowed!("rgb(143, 114, 6)"),
78    },
79    ..BASE_THEME
80};