Skip to content

Commit 5faf1c6

Browse files
committed
tidy up
1 parent 59125b0 commit 5faf1c6

File tree

10 files changed

+2
-15
lines changed

10 files changed

+2
-15
lines changed

apps/svelte.dev/src/routes/_home/Video.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,5 @@
246246
.video-player input:focus-visible ~ img {
247247
outline: 2px solid var(--sk-theme-1);
248248
outline-offset: 2px;
249-
border-radius: var(--sk-border-radius);
250249
}
251250
</style>

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
a:focus-visible,
7878
button:focus-visible,
7979
input:focus-visible {
80-
border-radius: var(--sk-border-radius);
8180
outline-offset: -2px;
8281
}
8382

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,6 @@
404404
a:focus-visible,
405405
.exercises button:focus-visible {
406406
outline-offset: -2px;
407-
border-radius: var(--sk-border-radius);
408407
}
409408
410409
@media screen and (max-width: 800px) {

apps/svelte.dev/src/routes/tutorial/[slug]/filetree/Item.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@
125125
126126
:focus-visible {
127127
outline-offset: -2px;
128-
border-radius: 2px;
129128
}
130129
131130
input {

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@
144144
align-items: center;
145145
height: calc(var(--height) - 0.6rem);
146146
outline-offset: 0;
147-
border-radius: var(--sk-border-radius);
148147
padding: 0 0.4rem;
149148
150149
&::before,

packages/site-kit/src/lib/docs/DocsContents.svelte

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,11 @@
6868
height: 100%;
6969
bottom: auto;
7070
width: 100%;
71-
/* columns: 2; */
7271
margin: 0;
7372
}
7473
7574
li {
7675
display: block;
77-
/* line-height: 1.2; */
7876
margin: 0;
7977
margin-bottom: 4rem;
8078
}
@@ -108,7 +106,6 @@
108106
}
109107
110108
[aria-current='page'] {
111-
/* font-weight: 700; */
112109
color: var(--sk-theme-1);
113110
text-decoration: underline;
114111
}

packages/site-kit/src/lib/nav/Nav.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ Top navigation bar for the application. It provides a slot for the left side, th
189189
display: flex;
190190
align-items: center;
191191
text-decoration: none;
192+
outline-offset: -2px;
192193
193194
&:hover {
194195
box-shadow: inset 0 -1px 0 0 var(--sk-back-5);

packages/site-kit/src/lib/search/SearchBox.svelte

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,6 @@ It appears when the user clicks on the `Search` component or presses the corresp
322322
}
323323
324324
&:focus-visible {
325-
border-radius: var(--sk-border-radius);
326325
outline-offset: -3px;
327326
}
328327
}
@@ -335,7 +334,6 @@ It appears when the user clicks on the `Search` component or presses the corresp
335334
width: 5rem;
336335
height: 6rem;
337336
background: none;
338-
border-radius: var(--sk-border-radius);
339337
color: var(--sk-text-2);
340338
opacity: 0.3;
341339
@@ -388,7 +386,6 @@ It appears when the user clicks on the `Search` component or presses the corresp
388386
}
389387
390388
&:focus {
391-
border-radius: var(--sk-border-radius);
392389
outline-offset: -3px;
393390
}
394391
}
@@ -413,7 +410,6 @@ It appears when the user clicks on the `Search` component or presses the corresp
413410
414411
&:focus-visible {
415412
opacity: 1;
416-
border-radius: var(--sk-border-radius);
417413
outline-offset: -3px;
418414
}
419415
}

packages/site-kit/src/lib/search/SearchResultList.svelte

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@
8888
user-select: none;
8989
9090
&:focus-visible {
91-
border-radius: var(--sk-border-radius);
9291
outline-offset: -3px;
9392
}
9493
@@ -154,7 +153,6 @@
154153
}
155154
156155
&:focus {
157-
border-radius: var(--sk-border-radius);
158156
outline-offset: -3px;
159157
}
160158

packages/site-kit/src/lib/styles/base.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ body {
4242

4343
*:focus-visible {
4444
outline: 2px solid hsla(var(--sk-theme-1-hsl), 0.6);
45-
transition: 0.1s ease;
45+
border-radius: var(--sk-border-radius);
4646
}
4747

4848
p,

0 commit comments

Comments
 (0)