support color

This commit is contained in:
vcoppe
2024-04-25 14:42:19 +02:00
parent a23e73e82a
commit 3441dffde7
3 changed files with 7 additions and 14 deletions

View File

@@ -31,6 +31,8 @@
--destructive: 0 72.2% 50.6%; --destructive: 0 72.2% 50.6%;
--destructive-foreground: 210 40% 98%; --destructive-foreground: 210 40% 98%;
--support: 220 15 130;
--ring: 222.2 84% 4.9%; --ring: 222.2 84% 4.9%;
--radius: 0.5rem; --radius: 0.5rem;

View File

@@ -2,17 +2,7 @@
import * as Menubar from '$lib/components/ui/menubar/index.js'; import * as Menubar from '$lib/components/ui/menubar/index.js';
import { Button } from '$lib/components/ui/button'; import { Button } from '$lib/components/ui/button';
import Logo from './Logo.svelte'; import Logo from './Logo.svelte';
import { import { Plus, Copy, Download, Undo2, Redo2, Trash2, Upload, Cloud, Heart } from 'lucide-svelte';
Plus,
Copy,
Download,
Undo2,
Redo2,
Trash2,
HeartHandshake,
Upload,
Cloud
} from 'lucide-svelte';
import { import {
files, files,
@@ -153,8 +143,8 @@
variant="ghost" variant="ghost"
href="https://ko-fi.com/gpxstudio" href="https://ko-fi.com/gpxstudio"
target="_blank" target="_blank"
class="cursor-default h-fit rounded-sm" class="cursor-default h-fit rounded-sm font-bold text-support hover:text-support"
>{$_('menu.donate')} <HeartHandshake size="16" class="ml-1" /></Button >{$_('menu.donate')} <Heart size="16" class="ml-1" fill="rgb(var(--support))" /></Button
> >
</div> </div>
</div> </div>

View File

@@ -47,7 +47,8 @@ const config = {
card: { card: {
DEFAULT: "hsl(var(--card) / <alpha-value>)", DEFAULT: "hsl(var(--card) / <alpha-value>)",
foreground: "hsl(var(--card-foreground) / <alpha-value>)" foreground: "hsl(var(--card-foreground) / <alpha-value>)"
} },
support: "rgb(var(--support))",
}, },
borderRadius: { borderRadius: {
lg: "var(--radius)", lg: "var(--radius)",