mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 05:39:12 +00:00
Add contrast to setting card inputs in dark mode on web app
This commit is contained in:
@@ -523,7 +523,7 @@ function ApiKeyCard() {
|
|||||||
{apiKeys.map((key) => (
|
{apiKeys.map((key) => (
|
||||||
<TableRow key={key.token}>
|
<TableRow key={key.token}>
|
||||||
<TableCell className="pl-0 py-3">{key.name}</TableCell>
|
<TableCell className="pl-0 py-3">{key.name}</TableCell>
|
||||||
<TableCell className="grid grid-flow-col grid-cols-[1fr_auto] bg-secondary rounded-xl p-3 m-1">
|
<TableCell className="grid grid-flow-col grid-cols-[1fr_auto] bg-secondary dark:bg-background rounded-xl p-3 m-1">
|
||||||
<span className="font-mono text-left w-[50px] md:w-[400px]">
|
<span className="font-mono text-left w-[50px] md:w-[400px]">
|
||||||
{visibleApiKeys.has(key.token)
|
{visibleApiKeys.has(key.token)
|
||||||
? key.token
|
? key.token
|
||||||
@@ -611,7 +611,7 @@ export default function SettingsView() {
|
|||||||
const title = "Settings";
|
const title = "Settings";
|
||||||
|
|
||||||
const cardClassName =
|
const cardClassName =
|
||||||
"w-full lg:w-5/12 grid grid-flow-column border border-gray-300 shadow-md rounded-lg border dark:border-none dark:bg-muted border-opacity-50";
|
"w-full lg:w-5/12 grid grid-flow-column border border-gray-300 shadow-md rounded-lg border dark:border-none border-opacity-50 dark:bg-muted";
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
setUserConfig(initialUserConfig);
|
setUserConfig(initialUserConfig);
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ div.phoneInput input {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
border: 1px solid hsla(var(--border));
|
border: 1px solid hsla(var(--border));
|
||||||
|
background-color: hsla(var(--background));
|
||||||
border-radius: 0.25rem;
|
border-radius: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user