mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-21 09:07:50 +02:00
Cleaning up the old theme. (#2720)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user