2
2
: root {
3
3
--color-type-shared : rgba (47 , 135 , 212 , 1 );
4
4
--color-type-shared-background : rgba (117 , 117 , 255 , 0.05 );
5
- --color-type-shared-background-high : rgba (117 , 117 , 255 , 0.5 );
5
+ --color-type-shared-background-high-dark : rgb (39 , 112 , 175 );
6
+ --color-type-shared-background-high-light : rgba (50 , 159 , 255 , 0.549 );
6
7
--color-type-client : rgba (221 , 91 , 91 , 1 );
7
8
--color-type-client-background : rgba (255 , 50 , 50 , 0.05 );
8
- --color-type-client-background-high : rgba (255 , 50 , 50 , 0.5 );
9
+ --color-type-client-background-high-dark : rgba (255 , 50 , 50 , 0.5 );
10
+ --color-type-client-background-high-light : rgba (255 , 50 , 50 , 0.5 );
9
11
--color-type-server : rgba (212 , 154 , 47 , 1 );
10
12
--color-type-server-background : rgba (232 , 115 , 0 , 0.05 );
11
- --color-type-server-background-high : rgba (193 , 131 , 18 , 1 );
13
+ --color-type-server-background-high-dark : rgb (193 , 131 , 18 );
14
+ --color-type-server-background-high-light : rgba (255 , 154 , 50 , 0.502 );
12
15
--color-mta-orange : rgba (232 , 115 , 0 , 1 );
13
16
14
17
/* Override Starlight styling */
118
121
}
119
122
120
123
.tab-btn .active {
121
- color : white ;
124
+ color : var ( --sl-color-text ) ;
122
125
font-weight : bold;
123
126
}
124
127
137
140
.tab-content {
138
141
display : flex;
139
142
flex-direction : column;
140
- background-color : var (--sl-color-bg-nav );
143
+ background-color : var (--sl-color-bg-nav ) !important ;
144
+ border : 2px solid;
141
145
box-shadow : 0.2rem 0.2rem 0.2rem # 0000005b ;
142
146
}
143
147
146
150
border-color : var (--color-type-client );
147
151
}
148
152
149
- .side-client .active {
150
- background-color : var (--color-type-client-background-high );
153
+ : root[data-theme = 'dark' ] .side-client .active {
154
+ background-color : var (--color-type-client-background-high-dark );
155
+ }
156
+
157
+ : root[data-theme = 'light' ] .side-client .active {
158
+ background-color : var (--color-type-client-background-high-light );
151
159
}
152
160
153
161
.side-server {
154
162
background-color : var (--color-type-server-background );
155
163
border-color : var (--color-type-server );
156
164
}
157
165
158
- .side-server .active {
159
- background-color : var (--color-type-server-background-high );
166
+ : root[data-theme = 'dark' ] .side-server .active {
167
+ background-color : var (--color-type-server-background-high-dark );
168
+ }
169
+
170
+ : root[data-theme = 'light' ] .side-server .active {
171
+ background-color : var (--color-type-server-background-high-light );
160
172
}
161
173
162
174
.side-shared {
163
175
background-color : var (--color-type-shared-background );
164
176
border-color : var (--color-type-shared );
165
177
}
166
178
167
- .side-shared .active {
168
- background-color : var (--color-type-shared-background-high );
179
+ : root[data-theme = 'dark' ] .side-shared .active {
180
+ background-color : var (--color-type-shared-background-high-dark );
181
+ }
182
+
183
+ : root[data-theme = 'light' ] .side-shared .active {
184
+ background-color : var (--color-type-shared-background-high-light );
169
185
}
0 commit comments