Skip to content

Commit cf329fe

Browse files
[autofix.ci] apply automated fixes
1 parent bd58279 commit cf329fe

File tree

1 file changed

+55
-55
lines changed

1 file changed

+55
-55
lines changed

lunaria/styles.ts

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const BaseStyles = html`
99
Segoe UI Emoji;
1010
--ln-font-body: 'Geist', var(--ln-font-fallback);
1111
--ln-font-mono: 'Geist Mono', monospace;
12-
12+
1313
/* Light theme colors */
1414
--ln-color-white: #f9fafb;
1515
--ln-color-gray-1: #f3f4f6;
@@ -23,7 +23,7 @@ export const BaseStyles = html`
2323
--ln-color-blue: #3b82f6;
2424
--ln-color-orange: #f97316;
2525
--ln-color-purple: #a855f7;
26-
26+
2727
/** Contextual colors */
2828
--ln-color-background: var(--ln-color-white);
2929
--ln-color-link: var(--ln-color-blue);
@@ -33,7 +33,7 @@ export const BaseStyles = html`
3333
--ln-color-table-border: var(--ln-color-gray-3);
3434
--ln-color-table-background: var(--ln-color-gray-1);
3535
}
36-
36+
3737
@media (prefers-color-scheme: dark) {
3838
:root {
3939
/* Dark theme colors */
@@ -51,17 +51,17 @@ export const BaseStyles = html`
5151
--ln-color-purple: #c084fc;
5252
}
5353
}
54-
54+
5555
* {
5656
box-sizing: border-box;
5757
margin: 0;
5858
}
59-
59+
6060
html {
6161
background: var(--ln-color-background);
6262
scrollbar-gutter: stable;
6363
}
64-
64+
6565
body {
6666
color: var(--ln-color-black);
6767
display: flex;
@@ -72,7 +72,7 @@ export const BaseStyles = html`
7272
margin-block: 2rem;
7373
margin-inline: 1rem;
7474
}
75-
75+
7676
h1,
7777
h2,
7878
h3,
@@ -85,116 +85,116 @@ export const BaseStyles = html`
8585
letter-spacing: -0.025em;
8686
line-height: 1.3;
8787
}
88-
88+
8989
h1,
9090
h2 {
9191
max-width: 40ch;
9292
}
93-
93+
9494
h1 {
9595
font-size: 2.25rem;
9696
font-weight: 900;
9797
}
98-
98+
9999
h2 {
100100
font-size: 1.875rem;
101101
margin-top: 4rem;
102102
}
103-
103+
104104
h3,
105105
h4 {
106106
margin-top: 3rem;
107107
}
108-
108+
109109
h5,
110110
h6 {
111111
margin-top: 2rem;
112112
}
113-
113+
114114
main {
115115
max-width: 60ch;
116116
margin-inline: auto;
117117
}
118-
118+
119119
p + p {
120120
margin-top: 1.25rem;
121121
}
122-
122+
123123
a {
124124
color: var(--ln-color-link);
125125
text-decoration: none;
126126
}
127-
127+
128128
h2 a {
129129
color: inherit;
130130
}
131-
131+
132132
a:hover {
133133
text-decoration: underline;
134134
}
135-
135+
136136
ul {
137137
font-size: 0.875rem;
138138
}
139-
139+
140140
.progress-details {
141141
margin-bottom: 1.25rem;
142142
}
143-
143+
144144
details summary {
145145
cursor: pointer;
146146
user-select: none;
147147
}
148-
148+
149149
details summary:hover strong,
150150
details summary:hover::marker {
151151
color: var(--ln-color-gray-5);
152152
}
153-
153+
154154
details p {
155155
margin-top: 1.2rem;
156156
}
157-
157+
158158
details h3 {
159159
margin-top: 1.2rem;
160160
font-size: 0.8rem;
161161
}
162-
162+
163163
details h4 {
164164
margin-top: 1rem;
165165
font-size: 0.8rem;
166166
}
167-
167+
168168
details > :last-child {
169169
margin-bottom: 1rem;
170170
}
171-
171+
172172
.create-button {
173173
padding: 0.1em 0.5em;
174174
font-weight: bold;
175175
font-size: 0.75rem;
176176
}
177-
177+
178178
.status-by-file {
179179
margin-bottom: 1rem;
180180
border-collapse: collapse;
181181
border: 1px solid var(--ln-color-table-border);
182182
font-size: 0.8125rem;
183183
column-gap: 64px;
184184
}
185-
185+
186186
.status-by-file tr:first-of-type td {
187187
padding-top: 0.5rem;
188188
}
189-
189+
190190
.status-by-file tr:last-of-type td {
191191
padding-bottom: 0.5rem;
192192
}
193-
193+
194194
.status-by-file tr td:first-of-type {
195195
padding-inline: 1rem;
196196
}
197-
197+
198198
.status-by-file th {
199199
border-bottom: 1px solid var(--ln-color-table-border);
200200
background: var(--ln-color-table-background);
@@ -203,75 +203,75 @@ export const BaseStyles = html`
203203
white-space: nowrap;
204204
padding-inline: 0.3rem;
205205
}
206-
206+
207207
.status-by-file th,
208208
.status-by-file td {
209209
padding-block: 0.2rem;
210210
}
211-
211+
212212
.status-by-file tbody tr:hover td {
213213
background: var(--ln-color-table-background);
214214
}
215-
215+
216216
.status-by-file th:first-of-type,
217217
.status-by-file td:first-of-type {
218218
text-align: left;
219219
padding-inline-start: 1rem;
220220
}
221-
221+
222222
.status-by-file th:last-of-type,
223223
.status-by-file td:last-of-type {
224224
text-align: center;
225225
padding-inline-end: 1rem;
226226
}
227-
227+
228228
.status-by-file td:not(:first-of-type) {
229229
min-width: 2rem;
230230
text-align: center;
231231
cursor: default;
232232
}
233-
233+
234234
.status-by-file td:not(:first-of-type) a {
235235
text-decoration: none;
236236
}
237-
237+
238238
.progress-summary {
239239
font-size: 0.8125rem;
240240
}
241-
241+
242242
.progress-bar {
243243
display: flex;
244244
flex-direction: row;
245245
margin-top: 0.5rem;
246246
}
247-
247+
248248
.progress-bar div:first-of-type {
249249
border-radius: 36px 0px 0px 36px;
250250
}
251-
251+
252252
.progress-bar div:last-of-type {
253253
border-radius: 0px 36px 36px 0px;
254254
}
255-
255+
256256
.up-to-date-bar,
257257
.outdated-bar,
258258
.missing-bar {
259259
width: 1rem;
260260
height: 1rem;
261261
}
262-
262+
263263
.up-to-date-bar {
264264
background-color: var(--ln-color-done);
265265
}
266-
266+
267267
.outdated-bar {
268268
background-color: var(--ln-color-outdated);
269269
}
270-
270+
271271
.missing-bar {
272272
background-color: var(--ln-color-missing);
273273
}
274-
274+
275275
.capitalize {
276276
text-transform: capitalize;
277277
}
@@ -284,15 +284,15 @@ export const CustomStyles = html`
284284
--theme-navbar-height: 6rem;
285285
--theme-mobile-toc-height: 4rem;
286286
--theme-accent-secondary: hsla(22, 100%, 60%, 1);
287-
287+
288288
--fg: oklch(98.5% 0 0);
289289
--fg-muted: oklch(70.9% 0 0);
290290
--bg: oklch(14.5% 0 0);
291291
--bg-subtle: oklch(17.8% 0 0);
292292
--border: oklch(26.9% 0 0);
293293
--border-subtle: oklch(23.9% 0 0);
294294
--border-hover: oklch(37.1% 0 0);
295-
295+
296296
--ln-color-link: #539bf5;
297297
--ln-color-table-background: var(--bg-subtle);
298298
--ln-color-table-border: var(--border);
@@ -302,11 +302,11 @@ export const CustomStyles = html`
302302
--ln-color-outdated: #fb923c;
303303
--ln-color-done: #c084fc;
304304
}
305-
305+
306306
html {
307307
background-color: var(--bg);
308308
}
309-
309+
310310
h1,
311311
h2,
312312
h3,
@@ -315,25 +315,25 @@ export const CustomStyles = html`
315315
color: var(--fg);
316316
font-weight: 500;
317317
}
318-
318+
319319
.progress-summary {
320320
color: var(--fg-muted);
321321
}
322-
322+
323323
p {
324324
color: var(--fg-muted);
325325
}
326-
326+
327327
p a {
328328
color: var(--fg);
329329
text-decoration: underline;
330330
}
331-
331+
332332
.status-by-file a,
333333
.progress-details a {
334334
color: var(--fg);
335335
}
336-
336+
337337
.create-button {
338338
background-color: hsl(213deg 89% 64% / 20%);
339339
border-radius: 0.5em;

0 commit comments

Comments
 (0)