mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 18:20:30 +08:00
Clean up icons
This commit is contained in:
@@ -5,12 +5,12 @@
|
||||
import config from "virtual:config";
|
||||
import Command from "./Command.svelte";
|
||||
import ExternalLink from "./ExternalLink.svelte";
|
||||
import Icon from "./Icon.svelte";
|
||||
import IconLarge from "./IconLarge.svelte";
|
||||
|
||||
export let title: string;
|
||||
export let description: string;
|
||||
export let error: ErrorParam = undefined;
|
||||
export let icon: ComponentProps<Icon>["name"] = "alert";
|
||||
export let icon: ComponentProps<IconLarge>["name"] = "alert";
|
||||
</script>
|
||||
|
||||
<style>
|
||||
@@ -53,7 +53,7 @@
|
||||
</style>
|
||||
|
||||
<div class="error">
|
||||
<Icon name={icon} size="48" />
|
||||
<IconLarge name={icon} />
|
||||
<div class="txt-medium txt-bold">
|
||||
{title}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user