Files
radicle-explorer/src/Placeholder.svelte
T
Rūdolfs OšiņšandBrandon Oxendine b35d46752f Add theme switching button
Co-authored-by: Brandon Oxendine <brandon.oxendine@gmail.com>
Signed-off-by: Brandon Oxendine <brandon.oxendine@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-15 12:45:56 +02:00

29 lines
604 B
Svelte

<script lang="ts">
export let icon: string;
</script>
<style>
.placeholder {
text-align: center;
border-radius: var(--border-radius-small);
padding-bottom: 2rem;
color: var(--color-foreground-5) !important;
background-color: var(--color-foreground-1);
}
.placeholder header {
padding: 1rem 0;
font-weight: var(--font-weight-bold);
}
.placeholder .icon {
margin-bottom: 1rem;
}
</style>
<div class="error error-message placeholder">
<header>
<div class="icon txt-large">{icon}</div>
<slot name="title" />
</header>
<slot name="body" />
</div>