diff options
| author | schererleander <leander@schererleander.de> | 2025-06-04 03:18:03 +0200 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-06-04 03:18:03 +0200 |
| commit | 9a03f258d4fc59a3db9273b9385eb4dc9aca77bb (patch) | |
| tree | f2e5599d2abe1a105eae569b9d7db1f3a18398a3 /src | |
| parent | 49482a59d334888614212cbe0ecc5fe9e99a3515 (diff) | |
fix wrong svg color
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/ExternalLink.tsx | 2 | ||||
| -rw-r--r-- | src/index.css | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/ExternalLink.tsx b/src/components/ExternalLink.tsx index 2b35a12..22ed7a1 100644 --- a/src/components/ExternalLink.tsx +++ b/src/components/ExternalLink.tsx @@ -1,3 +1,3 @@ export default function ExternalLinkIcon() { - return <svg className="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={2}><path strokeLinecap="round" strokeLinejoin="round" d="M18 13v6a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h6M15 6h4m0 0v4m0-4L10 15" /></svg>; + return <svg className="no-global w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={2}><path strokeLinecap="round" strokeLinejoin="round" d="M18 13v6a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h6M15 6h4m0 0v4m0-4L10 15" /></svg>; }
\ No newline at end of file diff --git a/src/index.css b/src/index.css index 40a7f01..b32d17c 100644 --- a/src/index.css +++ b/src/index.css @@ -6,7 +6,7 @@ @layer base { body { @apply bg-white dark:bg-black/95; } span, p, a, li, code { @apply dark:text-gray-200; } - svg { @apply transform duration-200 ease-in-out hover:scale-110 dark:text-gray-200 hover:text-gray-400 hover:dark:text-white;} + svg:not(.no-global) { @apply transform duration-200 ease-in-out hover:scale-110 dark:text-gray-200 hover:text-gray-400 hover:dark:text-white;} h1 { @apply text-4xl font-bold mb-4 dark:text-gray-200; } h2 { @apply text-2xl font-semibold mb-2 dark:text-gray-200; } h3 { @apply text-xl font-semibold dark:text-gray-200; } |
