Skip to content

Commit ebab2ea

Browse files
Merge color for spearators and borders
1 parent 3e649c9 commit ebab2ea

File tree

6 files changed

+7
-10
lines changed

6 files changed

+7
-10
lines changed

src/lib/components/inputs/button/loader.svelte

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
}
2828
2929
.dot {
30+
fill: currentColor;
3031
animation: bounce 0.5s ease-in-out infinite;
3132
}
3233
</style>

src/lib/components/inputs/image-picker.svelte

+2-5
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,12 @@
1414
}
1515
1616
function onDragOver(event: DragEvent) {
17-
event.preventDefault();
18-
1917
if (event.dataTransfer) {
2018
event.dataTransfer.dropEffect = 'copy';
2119
}
2220
}
2321
2422
function onDrop(event: DragEvent) {
25-
event.preventDefault();
2623
const file = event.dataTransfer?.files.item(0);
2724
2825
if (file) {
@@ -34,8 +31,8 @@
3431
<label
3532
title={t('components.image-picker')}
3633
class="image-picker"
37-
on:dragover={onDragOver}
38-
on:drop={onDrop}
34+
on:dragover|preventDefault={onDragOver}
35+
on:drop|preventDefault={onDrop}
3936
>
4037
<input
4138
type="file"

src/lib/style/_values.scss

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ $height-regular: 480px;
44
$height-expanded: 720px;
55

66
:root {
7-
--color-separator: gray;
87
--color-border: gray;
98
--color-accent: #ff8243;
109
--color-on-accent: black;

src/routes/navigation.svelte

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
padding-right: 1em;
2626
padding-top: max(1em, env(safe-area-inset-top));
2727
padding-bottom: max(1em, env(safe-area-inset-bottom));
28-
border-inline-end: 2px solid var(--color-separator);
28+
border-inline-end: 2px solid var(--color-border);
2929
3030
@include regular {
3131
display: flex;
@@ -41,7 +41,7 @@
4141
margin-bottom: env(safe-area-inset-bottom);
4242
padding-left: env(safe-area-inset-left);
4343
padding-right: env(safe-area-inset-right);
44-
border-top: 2px solid var(--color-separator);
44+
border-top: 2px solid var(--color-border);
4545
4646
@include regular {
4747
display: none;

src/routes/segments.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
z-index: -1;
4141
width: 100%;
4242
height: 100%;
43-
border: 2px solid var(--color-separator);
43+
border: 2px solid var(--color-border);
4444
border-radius: 2em;
4545
box-sizing: border-box;
4646
}

src/routes/top-bar.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
padding-right: max(1em, env(safe-area-inset-right));
5959
box-sizing: border-box;
6060
align-items: center;
61-
border-bottom: 2px solid var(--color-separator);
61+
border-bottom: 2px solid var(--color-border);
6262
transition: 0.3s;
6363
6464
@include expanded {

0 commit comments

Comments
 (0)