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;
|
||||
class?: string;
|
||||
}
|
||||
let { title = 'Details', transparent = false, children, open = $bindable(false), class: _class }:
|
||||
Props = $props();
|
||||
let {
|
||||
title = 'Details',
|
||||
transparent = false,
|
||||
children,
|
||||
open = $bindable(false),
|
||||
class: _class
|
||||
}: Props = $props();
|
||||
</script>
|
||||
|
||||
<details
|
||||
class:transparent
|
||||
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>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user