feat(ui): make details stand out
Some checks failed
🚀 Lint & Test & Deploy / release (pull_request) Failing after 2m6s
Some checks failed
🚀 Lint & Test & Deploy / release (pull_request) Failing after 2m6s
This commit is contained in:
@@ -7,14 +7,19 @@
|
|||||||
open?: boolean;
|
open?: boolean;
|
||||||
class?: string;
|
class?: string;
|
||||||
}
|
}
|
||||||
let { title = 'Details', transparent = false, children, open = $bindable(false), class: _class }:
|
let {
|
||||||
Props = $props();
|
title = 'Details',
|
||||||
|
transparent = false,
|
||||||
|
children,
|
||||||
|
open = $bindable(false),
|
||||||
|
class: _class
|
||||||
|
}: Props = $props();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<details
|
<details
|
||||||
class:transparent
|
class:transparent
|
||||||
bind:open
|
bind:open
|
||||||
class="text-text outline-1 outline-outline bg-layer-1 {_class}"
|
class="text-text outline-1 outline-outline bg-layer-2 {_class}"
|
||||||
>
|
>
|
||||||
<summary>{title}</summary>
|
<summary>{title}</summary>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Reference in New Issue
Block a user