Skip to content

Commit

Permalink
dark mode style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
usual2970 committed Oct 9, 2024
1 parent 217ba85 commit 30ef584
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ui/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Certimate - Your Trusted SSL Automation Partner</title>
<script type="module" crossorigin src="/assets/index-47M77bCI.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-ClQTEWmX.css">
<script type="module" crossorigin src="/assets/index-8E76olt7.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DOft-CKV.css">
</head>
<body class="bg-background">
<div id="root"></div>
Expand Down
11 changes: 7 additions & 4 deletions ui/src/components/certimate/StringList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const StringList = ({
</div>
}
>
<div className="border rounded-md p-3 text-sm mt-2 text-gray-700 space-y-2">
<div className="border rounded-md p-3 text-sm mt-2 text-gray-700 space-y-2 dark:text-white dark:border-stone-700 dark:bg-stone-950">
{list.map((item, index) => (
<div key={index} className="flex justify-between items-center">
<div>{item}</div>
Expand All @@ -122,7 +122,7 @@ const StringList = ({
trigger={
<Edit
size={16}
className="cursor-pointer text-gray-600"
className="cursor-pointer text-gray-600 dark:text-white"
/>
}
value={item}
Expand Down Expand Up @@ -213,12 +213,15 @@ const StringEdit = ({
}}
>
<DialogTrigger className="text-primary">{trigger}</DialogTrigger>
<DialogContent>
<DialogContent className="dark:text-white">
<DialogHeader>
<DialogTitle>{t(titles[valueType])}</DialogTitle>
<DialogTitle className="dark:text-white">
{t(titles[valueType])}
</DialogTitle>
</DialogHeader>
<Input
value={currentValue}
className="dark:text-white"
onChange={(e) => {
setCurrentValue(e.target.value);
}}
Expand Down
2 changes: 1 addition & 1 deletion ui/src/domain/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "Certimate v0.1.16";
export const version = "Certimate v0.1.17";

0 comments on commit 30ef584

Please sign in to comment.