Cleaning up the old theme. (#2720)

This commit is contained in:
Alexander Platov
2023-03-10 07:08:04 +07:00
committed by GitHub
parent 1d1ad2e8a1
commit 013c09ada2
158 changed files with 599 additions and 578 deletions
@@ -30,7 +30,12 @@
const dispatch = createEventDispatcher()
function pickColor (evt: MouseEvent) {
showPopup(ColorsPopup, {}, eventToHTMLElement(evt), (newColor) => (value.color = newColor))
showPopup(
ColorsPopup,
{ selected: value.color ? getPlatformColor(value.color) : undefined },
eventToHTMLElement(evt),
(newColor) => (value.color = newColor)
)
}
$: canSave = !isSaving && (value.name ?? '').length > 0
@@ -321,14 +321,14 @@
position: absolute;
content: '';
inset: 0;
border-top: 1px solid var(--theme-bg-check);
border-top: 1px solid var(--caret-color);
}
&.is-dragged-over-down::before {
position: absolute;
content: '';
inset: 0;
border-bottom: 1px solid var(--theme-bg-check);
border-bottom: 1px solid var(--caret-color);
}
}