fix: color issues
Some checks are pending
V3 Preview Deployment / Deploy-Preview (push) Waiting to run

This commit is contained in:
Kentai Radiquum 2025-04-04 03:44:12 +05:00
parent 442a046043
commit 6cc9cdaa9e
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
2 changed files with 3 additions and 38 deletions

View file

@ -28,6 +28,7 @@ export const ProfileWatchDynamic = (props: { watchDynamic: Array<any> }) => {
}, },
tooltip: { tooltip: {
enabled: true, enabled: true,
theme:"dark",
x: { x: {
show: false, show: false,
}, },

View file

@ -69,13 +69,13 @@ export const SettingsModal = (props: { isOpen: boolean; setIsOpen: any }) => {
<p className=" dark:text-white">Тема</p> <p className=" dark:text-white">Тема</p>
<ButtonGroup> <ButtonGroup>
<Button <Button
color={computedMode == "light" ? "blue" : "gray"} color={computedMode == "light" ? "blue" : "light"}
onClick={() => setMode("light")} onClick={() => setMode("light")}
> >
Светлая Светлая
</Button> </Button>
<Button <Button
color={computedMode == "dark" ? "blue" : "gray"} color={computedMode == "dark" ? "blue" : "light"}
onClick={() => setMode("dark")} onClick={() => setMode("dark")}
> >
Темная Темная
@ -89,15 +89,6 @@ export const SettingsModal = (props: { isOpen: boolean; setIsOpen: any }) => {
</p> </p>
<ToggleSwitch <ToggleSwitch
color="blue" color="blue"
theme={{
toggle: {
checked: {
color: {
blue: "border-blue-700 bg-blue-700",
},
},
},
}}
onChange={() => onChange={() =>
preferenceStore.setParams({ preferenceStore.setParams({
skipToCategory: { skipToCategory: {
@ -250,15 +241,6 @@ export const SettingsModal = (props: { isOpen: boolean; setIsOpen: any }) => {
<p className=" dark:text-white">Показывать список изменений</p> <p className=" dark:text-white">Показывать список изменений</p>
<ToggleSwitch <ToggleSwitch
color="blue" color="blue"
theme={{
toggle: {
checked: {
color: {
blue: "border-blue-700 bg-blue-700",
},
},
},
}}
onChange={() => onChange={() =>
preferenceStore.setFlags({ preferenceStore.setFlags({
showChangelog: !preferenceStore.flags.showChangelog, showChangelog: !preferenceStore.flags.showChangelog,
@ -276,15 +258,6 @@ export const SettingsModal = (props: { isOpen: boolean; setIsOpen: any }) => {
</div> </div>
<ToggleSwitch <ToggleSwitch
color="blue" color="blue"
theme={{
toggle: {
checked: {
color: {
blue: "border-blue-700 bg-blue-700",
},
},
},
}}
onChange={() => onChange={() =>
preferenceStore.setFlags({ preferenceStore.setFlags({
enableAnalytics: !preferenceStore.flags.enableAnalytics, enableAnalytics: !preferenceStore.flags.enableAnalytics,
@ -307,15 +280,6 @@ export const SettingsModal = (props: { isOpen: boolean; setIsOpen: any }) => {
</div> </div>
<ToggleSwitch <ToggleSwitch
color="blue" color="blue"
theme={{
toggle: {
checked: {
color: {
blue: "border-blue-700 bg-blue-700",
},
},
},
}}
onChange={() => onChange={() =>
preferenceStore.setParams({ preferenceStore.setParams({
experimental: { experimental: {