mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 05:00:30 +08:00
adjust the light mode color
This commit is contained in:
parent
cb6b167fd5
commit
e68411a020
@ -41,9 +41,9 @@ function App(): JSX.Element {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="w-full h-[100vh] flex">
|
<div className="w-full h-[100vh] flex">
|
||||||
<div className="side w-[250px] h-full border-r border-neutral-700">
|
<div className="side w-[250px] h-full border-r border-default-200">
|
||||||
<div className="flex justify-between h-[32px] m-2">
|
<div className="flex justify-between h-[32px] m-2">
|
||||||
<h3 className="select-none text-lg font-bold leading-[32px]">出站</h3>
|
<h3 className="select-none text-lg font-bold leading-[32px]">出站模式</h3>
|
||||||
<Button
|
<Button
|
||||||
size="sm"
|
size="sm"
|
||||||
isIconOnly
|
isIconOnly
|
||||||
@ -59,7 +59,7 @@ function App(): JSX.Element {
|
|||||||
<OutboundModeSwitcher />
|
<OutboundModeSwitcher />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h3 className="select-none text-lg font-bold m-2">代理</h3>
|
<h3 className="select-none text-lg font-bold m-2">代理模式</h3>
|
||||||
<div className="flex justify-between mx-2">
|
<div className="flex justify-between mx-2">
|
||||||
<SysproxySwitcher />
|
<SysproxySwitcher />
|
||||||
<TunSwitcher />
|
<TunSwitcher />
|
||||||
|
|||||||
@ -10,5 +10,26 @@ module.exports = {
|
|||||||
extend: {}
|
extend: {}
|
||||||
},
|
},
|
||||||
darkMode: 'class',
|
darkMode: 'class',
|
||||||
plugins: [nextui()]
|
plugins: [
|
||||||
|
nextui({
|
||||||
|
themes: {
|
||||||
|
dark: {
|
||||||
|
colors: {
|
||||||
|
primary: {
|
||||||
|
DEFAULT: '#006FEE',
|
||||||
|
foreground: '#FFFFFF'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
light: {
|
||||||
|
colors: {
|
||||||
|
primary: {
|
||||||
|
DEFAULT: '#41C3F8',
|
||||||
|
foreground: '#000000'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user