1+ /*
2+ Example UniGit theme preset.
3+
4+ This file is documentation and reference material.
5+ It is not loaded automatically by the app today.
6+
7+ Use it when:
8+ - adding a new built-in theme preset to src/styles.css
9+ - designing a theme that needs selector-level treatment beyond JSON variable overrides
10+ */
11+
12+ : root [data-theme = "aurora-glass" ] {
13+ color-scheme : dark;
14+ --bg-0 : # 071018 ;
15+ --bg-1 : rgba (13 , 21 , 32 , 0.76 );
16+ --bg-3 : rgba (255 , 255 , 255 , 0.08 );
17+ --line : rgba (255 , 255 , 255 , 0.14 );
18+ --line-soft : rgba (255 , 255 , 255 , 0.11 );
19+ --line-softer : rgba (255 , 255 , 255 , 0.08 );
20+ --line-subtle : rgba (255 , 255 , 255 , 0.1 );
21+ --line-strong : rgba (143 , 198 , 255 , 0.38 );
22+ --text-1 : # f2f7ff ;
23+ --text-2 : rgba (229 , 238 , 255 , 0.78 );
24+ --text-3 : rgba (219 , 232 , 255 , 0.56 );
25+ --accent : # 8fc6ff ;
26+ --accent-2 : # 7ff5db ;
27+ --app-background :
28+ radial-gradient (circle at 14% 10% , rgba (86 , 150 , 255 , 0.18 ), transparent 22% ),
29+ radial-gradient (circle at 82% 18% , rgba (68 , 233 , 202 , 0.14 ), transparent 24% ),
30+ radial-gradient (circle at 52% 76% , rgba (117 , 94 , 255 , 0.12 ), transparent 30% ),
31+ linear-gradient (180deg , # 16232b 0% , # 0c141d 42% , # 071018 100% );
32+ --panel-bg-start : rgba (31 , 42 , 58 , 0.54 );
33+ --panel-bg-end : rgba (10 , 17 , 28 , 0.28 );
34+ --panel-shadow : 0 26px 84px rgba (0 , 0 , 0 , 0.42 ), inset 0 1px 0 rgba (255 , 255 , 255 , 0.16 ), inset 0 -1px 0 rgba (255 , 255 , 255 , 0.04 );
35+ --elevated-shadow : 0 16px 42px rgba (0 , 0 , 0 , 0.36 ), inset 0 1px 0 rgba (255 , 255 , 255 , 0.14 );
36+ --surface-section : rgba (255 , 255 , 255 , 0.08 );
37+ --surface-row : rgba (255 , 255 , 255 , 0.1 );
38+ --surface-card : rgba (255 , 255 , 255 , 0.1 );
39+ --surface-muted : rgba (255 , 255 , 255 , 0.14 );
40+ --surface-input : rgba (10 , 17 , 28 , 0.44 );
41+ --surface-menu-start : rgba (32 , 43 , 58 , 0.64 );
42+ --surface-menu-end : rgba (10 , 17 , 28 , 0.42 );
43+ --surface-selection : rgba (143 , 198 , 255 , 0.18 );
44+ --surface-selection-soft : rgba (143 , 198 , 255 , 0.14 );
45+ --surface-selection-subtle : rgba (143 , 198 , 255 , 0.1 );
46+ --surface-overlay : rgba (4 , 9 , 15 , 0.5 );
47+ --surface-fullscreen-start : rgba (16 , 24 , 35 , 0.72 );
48+ --surface-fullscreen-end : rgba (7 , 12 , 18 , 0.44 );
49+ --surface-frame : rgba (9 , 15 , 24 , 0.3 );
50+ --surface-viewport :
51+ radial-gradient (circle at 18% 20% , rgba (143 , 198 , 255 , 0.18 ), transparent 24% ),
52+ radial-gradient (circle at 84% 74% , rgba (127 , 245 , 219 , 0.12 ), transparent 24% ),
53+ rgba (7 , 12 , 20 , 0.34 );
54+ --surface-tab-active : linear-gradient (180deg , rgba (143 , 198 , 255 , 0.18 ), rgba (255 , 255 , 255 , 0.06 ));
55+ --surface-chip : rgba (255 , 255 , 255 , 0.1 );
56+ --surface-chip-strong : rgba (255 , 255 , 255 , 0.14 );
57+ --surface-button : rgba (255 , 255 , 255 , 0.12 );
58+ --surface-button-strong : rgba (255 , 255 , 255 , 0.18 );
59+ --surface-button-active : rgba (143 , 198 , 255 , 0.18 );
60+ --text-inverse : # 08121c ;
61+ --text-code : # e4eeff ;
62+ --scrollbar-thumb : rgba (143 , 198 , 255 , 0.22 );
63+ --scrollbar-thumb-strong : rgba (143 , 198 , 255 , 0.34 );
64+ --scrollbar-track : rgba (255 , 255 , 255 , 0.08 );
65+ --ref-pill-bg : rgba (255 , 255 , 255 , 0.16 );
66+ --ref-pill-text : # eef4ff ;
67+ --ref-pill-primary : rgba (143 , 198 , 255 , 0.22 );
68+ --control-accent : # 8fc6ff ;
69+ --panel-backdrop-filter : blur (34px ) saturate (180% );
70+ --surface-backdrop-filter : blur (28px ) saturate (165% );
71+ --control-backdrop-filter : blur (22px ) saturate (160% );
72+ --glass-surface-highlight : linear-gradient (180deg , rgba (255 , 255 , 255 , 0.18 ), rgba (255 , 255 , 255 , 0.05 ) 36% , rgba (255 , 255 , 255 , 0.01 ) 62% , rgba (255 , 255 , 255 , 0.03 ));
73+ --glass-control-highlight : linear-gradient (180deg , rgba (255 , 255 , 255 , 0.18 ), rgba (255 , 255 , 255 , 0.05 ) 48% , rgba (255 , 255 , 255 , 0.02 ));
74+ --glass-surface-shadow : 0 18px 44px rgba (0 , 0 , 0 , 0.22 ), inset 0 1px 0 rgba (255 , 255 , 255 , 0.14 ), inset 0 -1px 0 rgba (255 , 255 , 255 , 0.03 );
75+ --glass-control-shadow : 0 12px 28px rgba (0 , 0 , 0 , 0.24 ), inset 0 1px 0 rgba (255 , 255 , 255 , 0.14 );
76+ --glass-rim : rgba (255 , 255 , 255 , 0.16 );
77+ }
78+
79+ : root [data-theme = "aurora-glass" ] .panel ,
80+ : root [data-theme = "aurora-glass" ] .repo-tab ,
81+ : root [data-theme = "aurora-glass" ] .repo-manager-section ,
82+ : root [data-theme = "aurora-glass" ] .repo-manager-row ,
83+ : root [data-theme = "aurora-glass" ] .lane ,
84+ : root [data-theme = "aurora-glass" ] .change-card ,
85+ : root [data-theme = "aurora-glass" ] .selection-card ,
86+ : root [data-theme = "aurora-glass" ] .commit-box ,
87+ : root [data-theme = "aurora-glass" ] .preview-frame ,
88+ : root [data-theme = "aurora-glass" ] .branch-panel ,
89+ : root [data-theme = "aurora-glass" ] .branch-row ,
90+ : root [data-theme = "aurora-glass" ] .graph-viewport {
91+ backdrop-filter : var (--surface-backdrop-filter );
92+ box-shadow : var (--glass-surface-shadow );
93+ border-color : var (--glass-rim );
94+ }
95+
96+ : root [data-theme = "aurora-glass" ] .icon-button ,
97+ : root [data-theme = "aurora-glass" ] .ghost-button ,
98+ : root [data-theme = "aurora-glass" ] .branch-chip ,
99+ : root [data-theme = "aurora-glass" ] .sync-chip ,
100+ : root [data-theme = "aurora-glass" ] .changes-filter ,
101+ : root [data-theme = "aurora-glass" ] .changes-select ,
102+ : root [data-theme = "aurora-glass" ] .commit-box__input ,
103+ : root [data-theme = "aurora-glass" ] .history-filter ,
104+ : root [data-theme = "aurora-glass" ] .history-ref-pill {
105+ backdrop-filter : var (--control-backdrop-filter );
106+ box-shadow : var (--glass-control-shadow );
107+ border-color : var (--glass-rim );
108+ }
109+
110+ : root [data-theme = "aurora-glass" ] .repo-tab--active ,
111+ : root [data-theme = "aurora-glass" ] .change-card--selected ,
112+ : root [data-theme = "aurora-glass" ] .branch-row--selected ,
113+ : root [data-theme = "aurora-glass" ] .ghost-button--active {
114+ box-shadow : 0 16px 34px rgba (3 , 6 , 12 , 0.28 ), inset 0 1px 0 rgba (255 , 255 , 255 , 0.2 );
115+ }
0 commit comments