forked from codinit-dev/codinit-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheditor.scss
More file actions
158 lines (116 loc) · 4.95 KB
/
Copy patheditor.scss
File metadata and controls
158 lines (116 loc) · 4.95 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
:root {
/* Base colors */
--cm-backgroundColor: #0d1117; /* editor background */
--cm-textColor: #f0f6fc; /* primary text */
/* Gutter */
--cm-gutter-backgroundColor: #0d1117;
--cm-gutter-textColor: #8b949e; /* muted gray */
--cm-gutter-activeLineTextColor: #f0f6fc;
/* Fold Gutter */
--cm-foldGutter-textColor: #8b949e;
--cm-foldGutter-textColorHover: #f0f6fc;
/* Active Line */
--cm-activeLineBackgroundColor: rgba(255, 255, 255, 0.04); /* subtle */
/* Cursor */
--cm-cursor-width: 2px;
--cm-cursor-backgroundColor: #9ca3af;
/* Matching Brackets */
--cm-matching-bracket: rgba(80, 160, 255, 0.25);
/* Selection */
--cm-selection-backgroundColorFocused: #42b4ff;
--cm-selection-backgroundOpacityFocused: 0.25;
--cm-selection-backgroundColorBlured: #286b97;
--cm-selection-backgroundOpacityBlured: 0.2;
/* Panels */
--cm-panels-borderColor: rgba(255, 255, 255, 0.06);
/* Search */
--cm-search-backgroundColor: #0d1117;
--cm-search-textColor: #f0f6fc;
--cm-search-closeButton-backgroundColor: transparent;
--cm-search-closeButton-backgroundColorHover: rgba(255, 255, 255, 0.08);
--cm-search-closeButton-textColor: #9ca3af;
--cm-search-closeButton-textColorHover: #ffffff;
--cm-search-button-backgroundColor: #2c2c2f;
--cm-search-button-backgroundColorHover: rgba(255, 255, 255, 0.08);
--cm-search-button-textColor: #cbd5e1;
--cm-search-button-textColorHover: #ffffff;
--cm-search-button-borderColor: transparent;
--cm-search-button-borderColorHover: rgba(255, 255, 255, 0.15);
--cm-search-button-borderColorFocused: rgba(66, 180, 255, 0.8);
--cm-search-input-backgroundColor: #2c2c31;
--cm-search-input-textColor: white;
--cm-search-input-borderColor: rgba(255, 255, 255, 0.12);
--cm-search-input-borderColorFocused: rgba(66, 180, 255, 0.9);
/* Tooltip */
--cm-tooltip-backgroundColor: #161b22;
--cm-tooltip-textColor: #f0f6fc;
--cm-tooltip-backgroundColorSelected: rgba(66, 180, 255, 0.2);
--cm-tooltip-textColorSelected: #ffffff;
--cm-tooltip-borderColor: rgba(255, 255, 255, 0.08);
/* Search highlight */
--cm-searchMatch-backgroundColor: rgba(234, 92, 0, 0.4);
}
/* Light theme overrides */
html[data-theme='light'] {
/* Base colors */
--cm-backgroundColor: #ffffff; /* editor background */
--cm-textColor: #1f2937; /* primary text */
/* Gutter */
--cm-gutter-backgroundColor: #ffffff;
--cm-gutter-textColor: #9ca3af; /* muted gray */
--cm-gutter-activeLineTextColor: #374151;
/* Fold Gutter */
--cm-foldGutter-textColor: #9ca3af;
--cm-foldGutter-textColorHover: #374151;
/* Active Line */
--cm-activeLineBackgroundColor: rgba(0, 0, 0, 0.04); /* subtle */
/* Cursor */
--cm-cursor-width: 2px;
--cm-cursor-backgroundColor: #6b7280;
/* Matching Brackets */
--cm-matching-bracket: rgba(59, 130, 246, 0.25);
/* Selection */
--cm-selection-backgroundColorFocused: #3b82f6;
--cm-selection-backgroundOpacityFocused: 0.25;
--cm-selection-backgroundColorBlured: #93c5fd;
--cm-selection-backgroundOpacityBlured: 0.2;
/* Panels */
--cm-panels-borderColor: rgba(0, 0, 0, 0.06);
/* Search */
--cm-search-backgroundColor: #ffffff;
--cm-search-textColor: #374151;
--cm-search-closeButton-backgroundColor: transparent;
--cm-search-closeButton-backgroundColorHover: rgba(0, 0, 0, 0.08);
--cm-search-closeButton-textColor: #6b7280;
--cm-search-closeButton-textColorHover: #1f2937;
--cm-search-button-backgroundColor: #f3f4f6;
--cm-search-button-backgroundColorHover: rgba(0, 0, 0, 0.08);
--cm-search-button-textColor: #374151;
--cm-search-button-textColorHover: #1f2937;
--cm-search-button-borderColor: transparent;
--cm-search-button-borderColorHover: rgba(0, 0, 0, 0.15);
--cm-search-button-borderColorFocused: rgba(59, 130, 246, 0.8);
--cm-search-input-backgroundColor: #f9fafb;
--cm-search-input-textColor: #1f2937;
--cm-search-input-borderColor: rgba(0, 0, 0, 0.12);
--cm-search-input-borderColorFocused: rgba(59, 130, 246, 0.9);
/* Tooltip */
--cm-tooltip-backgroundColor: #ffffff;
--cm-tooltip-textColor: #1f2937;
--cm-tooltip-backgroundColorSelected: rgba(59, 130, 246, 0.2);
--cm-tooltip-textColorSelected: #1f2937;
--cm-tooltip-borderColor: rgba(0, 0, 0, 0.08);
/* Search highlight */
--cm-searchMatch-backgroundColor: rgba(245, 101, 101, 0.4);
}
/* Dark theme overrides - pure neutral gray */
html[data-theme='dark'] {
--cm-backgroundColor: #1f1f1f; /* Matches depth-2 for distinction from main background */
--cm-gutter-backgroundColor: #1f1f1f; /* Consistent with editor background */
--cm-activeLineBackgroundColor: rgba(255, 255, 255, 0.08); /* Subtle neutral highlight */
--cm-selection-backgroundColorFocused: #cccccc; /* Neutral gray selection */
--cm-selection-backgroundOpacityFocused: 0.25;
--cm-tooltip-backgroundColor: #252525; /* Matches depth-3 */
--cm-tooltip-borderColor: rgba(153, 153, 153, 0.2); /* Neutral border */
--cm-panels-borderColor: rgba(153, 153, 153, 0.1); /* Neutral panel borders */
}