update theme variables

This commit is contained in:
2025-11-10 08:49:14 +03:00
parent 60a20b4583
commit 96fc04e71e
4 changed files with 235 additions and 213 deletions

View File

@@ -0,0 +1,18 @@
.languageSwitch {
display: flex;
flex-direction: row;
justify-content: end;
padding: 0 16px;
gap: 10px;
position: absolute;
top: 50px;
z-index: 1000;
}
:global(.ant-app-rtl) .languageSwitch {
left: 0;
}
:global(.ant-app-ltr) .languageSwitch {
right: 0;
}

View File

@@ -5,6 +5,7 @@ import { useTransition } from "react";
import { useDispatch } from "react-redux";
import { useAppSelector } from "redux/hooks";
import ProText from "../ProText";
import styles from "./LanguageSwitch.module.css";
export function LanguageSwitch() {
const dispatch = useDispatch();
@@ -23,20 +24,7 @@ export function LanguageSwitch() {
};
return (
<div
style={{
display: "flex",
flexDirection: "row",
justifyContent: "end",
padding: "0 16px",
gap: 10,
position: "absolute",
top: "15%",
[isRTL ? "left" : "right"]: 0,
marginBottom: "10%",
zIndex: 1000,
}}
>
<div className={styles.languageSwitch}>
<GlobalOutlined
style={{
color: themeName === "dark" ? "#fff" : "#434E5C",