From cd7e45b4389af433793bf9783d413440e8626c98 Mon Sep 17 00:00:00 2001 From: Davis SHYAKA <87414827+davis-shyaka@users.noreply.github.com> Date: Thu, 3 Oct 2024 17:26:01 +0200 Subject: [PATCH] more --- src/lib/assets/icons/index.ts | 4 ++++ src/lib/assets/icons/shield-globe.svg | 7 ++++++ src/lib/assets/icons/user-plus.svg | 3 +++ src/lib/components/ui/snippet/index.ts | 2 ++ src/routes/+page.svelte | 32 +++++++++++++++++++++++++- 5 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 src/lib/assets/icons/shield-globe.svg create mode 100644 src/lib/assets/icons/user-plus.svg diff --git a/src/lib/assets/icons/index.ts b/src/lib/assets/icons/index.ts index 3d3ee0e..5364f6f 100644 --- a/src/lib/assets/icons/index.ts +++ b/src/lib/assets/icons/index.ts @@ -66,6 +66,7 @@ import Paperclip from './paperclip.svg?component'; import PencilEdit from './pencil-edit.svg?component'; import Router from './router.svg?component'; import SettingsSliders from './settings-sliders.svg?component'; +import ShieldGlobe from './shield-globe.svg?component'; import Shield from './shield.svg?component'; import Star from './star.svg?component'; import Status from './status.svg?component'; @@ -74,6 +75,7 @@ import Tabs from './tabs.svg?component'; import ThemeSwitchDark from './theme-switch-dark.svg?component'; import ThemeSwitchLight from './theme-switch-light.svg?component'; import ThemeSwitchSystem from './theme-switch-system.svg?component'; +import UserPlus from './user-plus.svg?component'; import Warning from './warning.svg?component'; export const Icons = { @@ -145,6 +147,7 @@ export const Icons = { PencilEdit, Router, SettingsSliders, + ShieldGlobe, Shield, Star, Status, @@ -153,5 +156,6 @@ export const Icons = { ThemeSwitchDark, ThemeSwitchLight, ThemeSwitchSystem, + UserPlus, Warning }; diff --git a/src/lib/assets/icons/shield-globe.svg b/src/lib/assets/icons/shield-globe.svg new file mode 100644 index 0000000..5680812 --- /dev/null +++ b/src/lib/assets/icons/shield-globe.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/lib/assets/icons/user-plus.svg b/src/lib/assets/icons/user-plus.svg new file mode 100644 index 0000000..b625bf5 --- /dev/null +++ b/src/lib/assets/icons/user-plus.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/src/lib/components/ui/snippet/index.ts b/src/lib/components/ui/snippet/index.ts index 781c453..4c39897 100644 --- a/src/lib/components/ui/snippet/index.ts +++ b/src/lib/components/ui/snippet/index.ts @@ -7,6 +7,7 @@ export const snippet_variants = tv({ variant: { default: 'border-gray-alpha-400', success: 'bg-blue-100 text-blue-900', + secondary: 'bg-gray-100 text-gray-900', error: 'bg-red-100 text-red-900', warning: 'bg-amber-100 text-amber-900' } @@ -19,6 +20,7 @@ export const copy_button_variants = tv({ variant: { default: 'text-gray-1000', success: 'text-blue-900', + secondary: 'text-gray-900', error: 'text-red-900', warning: 'text-amber-900' } diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index ebf9b48..3784f56 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,6 +1,9 @@