Skip to content

Commit ac34274

Browse files
committed
rename border tokens
1 parent 5728b06 commit ac34274

File tree

15 files changed

+32
-36
lines changed

15 files changed

+32
-36
lines changed

apps/svelte.dev/src/lib/components/PageControls.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
6262
.controls {
6363
max-width: calc(var(--sk-page-content-width) + 1rem);
64-
border-top: 1px solid var(--sk-border-medium);
64+
border-top: 1px solid var(--sk-border);
6565
padding: 1rem 0 0 0;
6666
margin: 1rem 0 0 0;
6767
text-wrap: balance;

apps/svelte.dev/src/routes/(authed)/apps/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
padding: 0.5rem 1rem;
210210
line-height: 1;
211211
display: flex;
212-
border: 1px solid var(--sk-border-medium);
212+
border: 1px solid var(--sk-border);
213213
border-radius: var(--sk-border-radius);
214214
z-index: 2;
215215
font: var(--sk-font-ui-large);

apps/svelte.dev/src/routes/(authed)/playground/[id]/AppControls.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@
303303
304304
input {
305305
background: transparent;
306-
border: 1px solid var(--sk-border-medium);
306+
border: 1px solid var(--sk-border);
307307
border-radius: var(--sk-border-radius);
308308
color: currentColor;
309309
width: 0;

apps/svelte.dev/src/routes/tutorial/[...slug]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@
369369
/* we transform the default state, rather than the editor state, because otherwise
370370
the positioning of tooltips is wrong (doesn't take into account transforms) */
371371
transform: translate(50%, 0);
372-
border-top: 1px solid var(--sk-border-medium);
372+
border-top: 1px solid var(--sk-border);
373373
}
374374
375375
.top.offset {

apps/svelte.dev/src/routes/tutorial/[...slug]/Chrome.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
input {
7575
flex: 1;
7676
padding: 0.2rem 0.6rem;
77-
border: 1px solid var(--sk-border-medium);
77+
border: 1px solid var(--sk-border);
7878
/* TODO this should apply to all buttons/inputs? */
7979
border-radius: var(--sk-border-radius);
8080
color: var(--sk-fg-1);

packages/editor/src/lib/codemirror.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@
129129

130130
&.cm-panels-top,
131131
&.cm-panels-bottom {
132-
border-top: 1px solid var(--sk-border-medium);
133-
border-bottom: 1px solid var(--sk-border-medium);
132+
border-top: 1px solid var(--sk-border);
133+
border-bottom: 1px solid var(--sk-border);
134134
}
135135
}
136136

packages/repl/src/lib/Output/console/ConsoleTable.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
margin: 8px;
9797
overflow: auto;
9898
max-height: 200px;
99-
border: 1px solid var(--sk-border-medium);
99+
border: 1px solid var(--sk-border);
100100
border-radius: 2px;
101101
overscroll-behavior: none;
102102
}

packages/repl/src/lib/Repl.svelte

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,6 @@
234234
}
235235
}
236236
237-
.divider::after {
238-
background-color: var(--sk-bg-5);
239-
}
240-
241237
[data-pane='main'] > .divider::after {
242238
height: calc(100% - var(--sk-pane-controls-height));
243239
top: var(--sk-pane-controls-height);

packages/site-kit/src/lib/components/ScreenToggle.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
justify-content: center;
4242
width: 100%;
4343
height: var(--sk-pane-controls-height);
44-
border-top: 1px solid var(--sk-border-medium);
44+
border-top: 1px solid var(--sk-border);
4545
font: var(--sk-font-ui-small);
4646
z-index: 2;
4747
}

packages/site-kit/src/lib/components/Text.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
.code-block {
114114
position: relative;
115115
background: var(--sk-bg-2);
116-
border: 1px solid var(--sk-border-medium);
116+
border: 1px solid var(--sk-border);
117117
border-radius: var(--sk-border-radius);
118118
overflow: hidden;
119119
margin: calc(0.5 * var(--sk-line-height-body)) 0;

0 commit comments

Comments
 (0)