2/n Fixing dark mode bugs
This commit is contained in:
parent
8d886e0961
commit
33c8b11c6e
15 changed files with 78 additions and 96 deletions
|
|
@ -184,7 +184,8 @@ export const ConfigModal: React.FC<{
|
|||
const isActive = t === tab;
|
||||
let classNames = "text-slate-300";
|
||||
if (isActive) {
|
||||
classNames = "text-slate-800 border-b-2 border-blue-800";
|
||||
classNames =
|
||||
"text-slate-800 border-b-2 border-blue-800 dark:border-blue-200 dark:text-white";
|
||||
}
|
||||
return (
|
||||
<button
|
||||
|
|
|
|||
|
|
@ -4,8 +4,5 @@ export default {
|
|||
"./src/**/*.{js,ts,jsx,tsx,mdx}",
|
||||
"../crates/librqbit/webui/src/**/*.{js,ts,jsx,tsx,mdx}",
|
||||
],
|
||||
theme: {
|
||||
extend: {},
|
||||
},
|
||||
plugins: [],
|
||||
darkMode: "class",
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue