fixed low contrast text

This commit is contained in:
2026-05-09 05:37:40 +02:00
parent f58149d0de
commit 13ae50010a
3 changed files with 4 additions and 4 deletions
@@ -448,7 +448,7 @@ export default function Editor({ editSlug }: Props) {
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>
</button> </button>
</header> </header>
<div className="p-4 md:p-6 overflow-y-auto flex-1 bg-base/50"> <div className="p-4 md:p-6 overflow-y-auto flex-1 bg-bg/50">
<AssetManager mode="select" onSelect={handleAssetSelect} /> <AssetManager mode="select" onSelect={handleAssetSelect} />
</div> </div>
</div> </div>
+2 -2
View File
@@ -66,9 +66,9 @@ const fullTitle = `${title} | ${siteConfig.title}`;
</script> </script>
<slot name="head" /> <slot name="head" />
</head> </head>
<body class="bg-base text-text selection:bg-surface2 selection:text-text"> <body class="bg-bg text-text selection:bg-surface2 selection:text-text">
<!-- Static Mesh Gradient Background --> <!-- Static Mesh Gradient Background -->
<div class="fixed inset-0 z-[-1] overflow-hidden bg-base pointer-events-none"> <div class="fixed inset-0 z-[-1] overflow-hidden bg-bg pointer-events-none">
<div class="absolute top-[-10%] left-[-10%] w-[55%] h-[45%] rounded-full bg-mauve/10 blur-[110px] opacity-60"></div> <div class="absolute top-[-10%] left-[-10%] w-[55%] h-[45%] rounded-full bg-mauve/10 blur-[110px] opacity-60"></div>
<div class="absolute bottom-[-10%] right-[-10%] w-[55%] h-[55%] rounded-full bg-blue/10 blur-[110px] opacity-50"></div> <div class="absolute bottom-[-10%] right-[-10%] w-[55%] h-[55%] rounded-full bg-blue/10 blur-[110px] opacity-50"></div>
<div class="absolute top-[30%] right-[10%] w-[35%] h-[35%] rounded-full bg-teal/8 blur-[90px] opacity-40"></div> <div class="absolute top-[30%] right-[10%] w-[35%] h-[35%] rounded-full bg-teal/8 blur-[90px] opacity-40"></div>
+1 -1
View File
@@ -8,7 +8,7 @@
@theme { @theme {
--color-crust: var(--crust); --color-crust: var(--crust);
--color-mantle: var(--mantle); --color-mantle: var(--mantle);
--color-base: var(--base); --color-bg: var(--base);
--color-surface0: var(--surface0); --color-surface0: var(--surface0);
--color-surface1: var(--surface1); --color-surface1: var(--surface1);
--color-surface2: var(--surface2); --color-surface2: var(--surface2);