Skip to content

Commit b590a29

Browse files
committed
Replaced variable names with new names in recently added code
1 parent 806ce73 commit b590a29

1 file changed

Lines changed: 35 additions & 35 deletions

File tree

packages/create/src/frameworks/react/project/base/src/styles.css.ejs

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ pre code {
204204
width: min(1080px, calc(100% - 2rem));
205205
margin-inline: auto;
206206
padding-block: clamp(2.25rem, 6vw, 4.5rem);
207-
color: var(--sea-ink);
207+
color: var(--color-sea-ink);
208208
}
209209
210210
.demo-page-wide {
@@ -220,10 +220,10 @@ pre code {
220220
221221
.demo-panel,
222222
.demo-card {
223-
border: 1px solid var(--line);
224-
background: linear-gradient(165deg, var(--surface-strong), var(--surface));
223+
border: 1px solid var(--color-line);
224+
background: linear-gradient(165deg, var(--color-surface-strong), var(--color-surface));
225225
box-shadow:
226-
0 1px 0 var(--inset-glint) inset,
226+
0 1px 0 var(--color-inset-glint) inset,
227227
0 18px 34px rgba(30, 90, 72, 0.1),
228228
0 4px 14px rgba(23, 58, 64, 0.06);
229229
backdrop-filter: blur(4px);
@@ -241,7 +241,7 @@ pre code {
241241
242242
.demo-title {
243243
margin: 0;
244-
color: var(--sea-ink);
244+
color: var(--color-sea-ink);
245245
font-size: clamp(1.75rem, 4vw, 2.75rem);
246246
line-height: 1.05;
247247
font-weight: 800;
@@ -250,23 +250,23 @@ pre code {
250250
251251
.demo-section-title {
252252
margin: 0;
253-
color: var(--sea-ink);
253+
color: var(--color-sea-ink);
254254
font-size: 1rem;
255255
font-weight: 700;
256256
}
257257
258258
.demo-muted {
259-
color: var(--sea-ink-soft);
259+
color: var(--color-sea-ink-soft);
260260
}
261261
262262
.demo-input,
263263
.demo-select,
264264
.demo-textarea {
265265
width: 100%;
266-
border: 1px solid var(--line);
266+
border: 1px solid var(--color-line);
267267
border-radius: 0.75rem;
268-
background: color-mix(in oklab, var(--surface-strong) 88%, white 12%);
269-
color: var(--sea-ink);
268+
background: color-mix(in oklab, var(--color-surface-strong) 88%, white 12%);
269+
color: var(--color-sea-ink);
270270
outline: none;
271271
transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
272272
}
@@ -289,19 +289,19 @@ pre code {
289289
.demo-input:focus,
290290
.demo-select:focus,
291291
.demo-textarea:focus {
292-
border-color: color-mix(in oklab, var(--lagoon-deep) 58%, var(--line));
293-
box-shadow: 0 0 0 3px color-mix(in oklab, var(--lagoon) 24%, transparent);
292+
border-color: color-mix(in oklab, var(--color-lagoon-deep) 58%, var(--color-line));
293+
box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-lagoon) 24%, transparent);
294294
}
295295
296296
.demo-button {
297297
display: inline-flex;
298298
align-items: center;
299299
justify-content: center;
300300
gap: 0.5rem;
301-
border: 1px solid color-mix(in oklab, var(--lagoon-deep) 34%, var(--line));
301+
border: 1px solid color-mix(in oklab, var(--color-lagoon-deep) 34%, var(--color-line));
302302
border-radius: 0.85rem;
303-
background: color-mix(in oklab, var(--lagoon) 22%, var(--surface-strong));
304-
color: var(--sea-ink);
303+
background: color-mix(in oklab, var(--color-lagoon) 22%, var(--color-surface-strong));
304+
color: var(--color-sea-ink);
305305
padding: 0.72rem 1rem;
306306
font-size: 0.9rem;
307307
font-weight: 700;
@@ -311,7 +311,7 @@ pre code {
311311
312312
.demo-button:hover {
313313
transform: translateY(-1px);
314-
background: color-mix(in oklab, var(--lagoon) 30%, var(--surface-strong));
314+
background: color-mix(in oklab, var(--color-lagoon) 30%, var(--color-surface-strong));
315315
}
316316
317317
.demo-button:disabled {
@@ -321,9 +321,9 @@ pre code {
321321
}
322322
323323
.demo-button-secondary {
324-
border-color: var(--line);
325-
background: color-mix(in oklab, var(--surface-strong) 74%, transparent);
326-
color: var(--sea-ink-soft);
324+
border-color: var(--color-line);
325+
background: color-mix(in oklab, var(--color-surface-strong) 74%, transparent);
326+
color: var(--color-sea-ink-soft);
327327
}
328328
329329
.demo-button-danger {
@@ -333,20 +333,20 @@ pre code {
333333
}
334334
335335
.demo-list-item {
336-
border: 1px solid var(--line);
336+
border: 1px solid var(--color-line);
337337
border-radius: 0.9rem;
338-
background: color-mix(in oklab, var(--chip-bg) 82%, transparent);
338+
background: color-mix(in oklab, var(--color-chip-bg) 82%, transparent);
339339
padding: 0.9rem 1rem;
340340
}
341341
342342
.demo-pill {
343343
display: inline-flex;
344344
align-items: center;
345345
gap: 0.35rem;
346-
border: 1px solid var(--chip-line);
346+
border: 1px solid var(--color-chip-line);
347347
border-radius: 999px;
348-
background: var(--chip-bg);
349-
color: var(--sea-ink-soft);
348+
background: var(--color-chip-bg);
349+
color: var(--color-sea-ink-soft);
350350
padding: 0.35rem 0.65rem;
351351
font-size: 0.75rem;
352352
font-weight: 700;
@@ -356,7 +356,7 @@ pre code {
356356
border: 1px solid rgba(193, 126, 42, 0.3);
357357
border-radius: 1rem;
358358
background: rgba(193, 126, 42, 0.1);
359-
color: var(--sea-ink);
359+
color: var(--color-sea-ink);
360360
padding: 1rem;
361361
}
362362
@@ -366,41 +366,41 @@ pre code {
366366
}
367367
368368
.demo-code-block {
369-
border: 1px solid var(--line);
369+
border: 1px solid var(--color-line);
370370
border-radius: 1rem;
371-
background: color-mix(in oklab, var(--chip-bg) 88%, transparent);
372-
color: var(--sea-ink);
371+
background: color-mix(in oklab, var(--color-chip-bg) 88%, transparent);
372+
color: var(--color-sea-ink);
373373
padding: 1rem;
374374
}
375375
376376
.demo-table-shell {
377377
overflow-x: auto;
378-
border: 1px solid var(--line);
378+
border: 1px solid var(--color-line);
379379
border-radius: 1rem;
380-
background: color-mix(in oklab, var(--surface-strong) 78%, transparent);
380+
background: color-mix(in oklab, var(--color-surface-strong) 78%, transparent);
381381
}
382382
383383
.demo-table {
384384
width: 100%;
385385
border-collapse: collapse;
386-
color: var(--sea-ink);
386+
color: var(--color-sea-ink);
387387
}
388388
389389
.demo-table th,
390390
.demo-table td {
391-
border-bottom: 1px solid var(--line);
391+
border-bottom: 1px solid var(--color-line);
392392
padding: 0.75rem 1rem;
393393
text-align: left;
394394
}
395395
396396
.demo-table th {
397-
background: color-mix(in oklab, var(--chip-bg) 88%, transparent);
398-
color: var(--sea-ink);
397+
background: color-mix(in oklab, var(--color-chip-bg) 88%, transparent);
398+
color: var(--color-sea-ink);
399399
font-weight: 700;
400400
}
401401
402402
.demo-table tr:hover td {
403-
background: color-mix(in oklab, var(--lagoon) 8%, transparent);
403+
background: color-mix(in oklab, var(--color-lagoon) 8%, transparent);
404404
}
405405
406406
button,

0 commit comments

Comments
 (0)