Compare commits
2 Commits
fe127e5581
...
840fac46dc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
840fac46dc | ||
| 5cb67355fb |
76
frontend/pnpm-lock.yaml
generated
76
frontend/pnpm-lock.yaml
generated
@ -26,7 +26,7 @@ importers:
|
|||||||
devDependencies:
|
devDependencies:
|
||||||
'@eslint/js':
|
'@eslint/js':
|
||||||
specifier: ^9.39.1
|
specifier: ^9.39.1
|
||||||
version: 9.39.1
|
version: 9.39.2
|
||||||
'@types/node':
|
'@types/node':
|
||||||
specifier: ^24.10.1
|
specifier: ^24.10.1
|
||||||
version: 24.10.1
|
version: 24.10.1
|
||||||
@ -41,13 +41,13 @@ importers:
|
|||||||
version: 5.1.2(rolldown-vite@7.2.5(@types/node@24.10.1))
|
version: 5.1.2(rolldown-vite@7.2.5(@types/node@24.10.1))
|
||||||
eslint:
|
eslint:
|
||||||
specifier: ^9.39.1
|
specifier: ^9.39.1
|
||||||
version: 9.39.1
|
version: 9.39.2
|
||||||
eslint-plugin-react-hooks:
|
eslint-plugin-react-hooks:
|
||||||
specifier: ^7.0.1
|
specifier: ^7.0.1
|
||||||
version: 7.0.1(eslint@9.39.1)
|
version: 7.0.1(eslint@9.39.2)
|
||||||
eslint-plugin-react-refresh:
|
eslint-plugin-react-refresh:
|
||||||
specifier: ^0.4.24
|
specifier: ^0.4.24
|
||||||
version: 0.4.24(eslint@9.39.1)
|
version: 0.4.24(eslint@9.39.2)
|
||||||
globals:
|
globals:
|
||||||
specifier: ^16.5.0
|
specifier: ^16.5.0
|
||||||
version: 16.5.0
|
version: 16.5.0
|
||||||
@ -59,7 +59,7 @@ importers:
|
|||||||
version: 5.9.3
|
version: 5.9.3
|
||||||
typescript-eslint:
|
typescript-eslint:
|
||||||
specifier: ^8.48.1
|
specifier: ^8.48.1
|
||||||
version: 8.48.1(eslint@9.39.1)(typescript@5.9.3)
|
version: 8.48.1(eslint@9.39.2)(typescript@5.9.3)
|
||||||
vite:
|
vite:
|
||||||
specifier: npm:rolldown-vite@7.2.5
|
specifier: npm:rolldown-vite@7.2.5
|
||||||
version: rolldown-vite@7.2.5(@types/node@24.10.1)
|
version: rolldown-vite@7.2.5(@types/node@24.10.1)
|
||||||
@ -187,8 +187,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-Kr+LPIUVKz2qkx1HAMH8q1q6azbqBAsXJUxBl/ODDuVPX45Z9DfwB8tPjTi6nNZ8BuM3nbJxC5zCAg5elnBUTQ==}
|
resolution: {integrity: sha512-Kr+LPIUVKz2qkx1HAMH8q1q6azbqBAsXJUxBl/ODDuVPX45Z9DfwB8tPjTi6nNZ8BuM3nbJxC5zCAg5elnBUTQ==}
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||||
|
|
||||||
'@eslint/js@9.39.1':
|
'@eslint/js@9.39.2':
|
||||||
resolution: {integrity: sha512-S26Stp4zCy88tH94QbBv3XCuzRQiZ9yXofEILmglYTh/Ug/a9/umqvgFtYBAo3Lp0nsI/5/qH1CCrbdK3AP1Tw==}
|
resolution: {integrity: sha512-q1mjIoW1VX4IvSocvM/vbTiveKC4k9eLrajNEuSsmjymSDEbpGddtpfOoN7YGAqBK3NG+uqo8ia4PDTt8buCYA==}
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||||
|
|
||||||
'@eslint/object-schema@2.1.7':
|
'@eslint/object-schema@2.1.7':
|
||||||
@ -425,7 +425,7 @@ packages:
|
|||||||
resolution: {integrity: sha512-EcA07pHJouywpzsoTUqNh5NwGayl2PPVEJKUSinGGSxFGYn+shYbqMGBg6FXDqgXum9Ou/ecb+411ssw8HImJQ==}
|
resolution: {integrity: sha512-EcA07pHJouywpzsoTUqNh5NwGayl2PPVEJKUSinGGSxFGYn+shYbqMGBg6FXDqgXum9Ou/ecb+411ssw8HImJQ==}
|
||||||
engines: {node: ^20.19.0 || >=22.12.0}
|
engines: {node: ^20.19.0 || >=22.12.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0
|
vite: npm:rolldown-vite@7.2.5
|
||||||
|
|
||||||
acorn-jsx@5.3.2:
|
acorn-jsx@5.3.2:
|
||||||
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
|
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
|
||||||
@ -562,8 +562,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==}
|
resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==}
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||||
|
|
||||||
eslint@9.39.1:
|
eslint@9.39.2:
|
||||||
resolution: {integrity: sha512-BhHmn2yNOFA9H9JmmIVKJmd288g9hrVRDkdoIgRCRuSySRUHH7r/DI6aAXW9T1WwUuY3DFgrcaqB+deURBLR5g==}
|
resolution: {integrity: sha512-LEyamqS7W5HB3ujJyvi0HQK/dtVINZvd5mAAp9eT5S/ujByGjiZLCzPcHVzuXbpJDJF/cxwHlfceVUDZ2lnSTw==}
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@ -1185,9 +1185,9 @@ snapshots:
|
|||||||
tslib: 2.8.1
|
tslib: 2.8.1
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@eslint-community/eslint-utils@4.9.0(eslint@9.39.1)':
|
'@eslint-community/eslint-utils@4.9.0(eslint@9.39.2)':
|
||||||
dependencies:
|
dependencies:
|
||||||
eslint: 9.39.1
|
eslint: 9.39.2
|
||||||
eslint-visitor-keys: 3.4.3
|
eslint-visitor-keys: 3.4.3
|
||||||
|
|
||||||
'@eslint-community/regexpp@4.12.2': {}
|
'@eslint-community/regexpp@4.12.2': {}
|
||||||
@ -1222,7 +1222,7 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@eslint/js@9.39.1': {}
|
'@eslint/js@9.39.2': {}
|
||||||
|
|
||||||
'@eslint/object-schema@2.1.7': {}
|
'@eslint/object-schema@2.1.7': {}
|
||||||
|
|
||||||
@ -1362,15 +1362,15 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
csstype: 3.2.3
|
csstype: 3.2.3
|
||||||
|
|
||||||
'@typescript-eslint/eslint-plugin@8.48.1(@typescript-eslint/parser@8.48.1(eslint@9.39.1)(typescript@5.9.3))(eslint@9.39.1)(typescript@5.9.3)':
|
'@typescript-eslint/eslint-plugin@8.48.1(@typescript-eslint/parser@8.48.1(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(typescript@5.9.3)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@eslint-community/regexpp': 4.12.2
|
'@eslint-community/regexpp': 4.12.2
|
||||||
'@typescript-eslint/parser': 8.48.1(eslint@9.39.1)(typescript@5.9.3)
|
'@typescript-eslint/parser': 8.48.1(eslint@9.39.2)(typescript@5.9.3)
|
||||||
'@typescript-eslint/scope-manager': 8.48.1
|
'@typescript-eslint/scope-manager': 8.48.1
|
||||||
'@typescript-eslint/type-utils': 8.48.1(eslint@9.39.1)(typescript@5.9.3)
|
'@typescript-eslint/type-utils': 8.48.1(eslint@9.39.2)(typescript@5.9.3)
|
||||||
'@typescript-eslint/utils': 8.48.1(eslint@9.39.1)(typescript@5.9.3)
|
'@typescript-eslint/utils': 8.48.1(eslint@9.39.2)(typescript@5.9.3)
|
||||||
'@typescript-eslint/visitor-keys': 8.48.1
|
'@typescript-eslint/visitor-keys': 8.48.1
|
||||||
eslint: 9.39.1
|
eslint: 9.39.2
|
||||||
graphemer: 1.4.0
|
graphemer: 1.4.0
|
||||||
ignore: 7.0.5
|
ignore: 7.0.5
|
||||||
natural-compare: 1.4.0
|
natural-compare: 1.4.0
|
||||||
@ -1379,14 +1379,14 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@typescript-eslint/parser@8.48.1(eslint@9.39.1)(typescript@5.9.3)':
|
'@typescript-eslint/parser@8.48.1(eslint@9.39.2)(typescript@5.9.3)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/scope-manager': 8.48.1
|
'@typescript-eslint/scope-manager': 8.48.1
|
||||||
'@typescript-eslint/types': 8.48.1
|
'@typescript-eslint/types': 8.48.1
|
||||||
'@typescript-eslint/typescript-estree': 8.48.1(typescript@5.9.3)
|
'@typescript-eslint/typescript-estree': 8.48.1(typescript@5.9.3)
|
||||||
'@typescript-eslint/visitor-keys': 8.48.1
|
'@typescript-eslint/visitor-keys': 8.48.1
|
||||||
debug: 4.4.3
|
debug: 4.4.3
|
||||||
eslint: 9.39.1
|
eslint: 9.39.2
|
||||||
typescript: 5.9.3
|
typescript: 5.9.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
@ -1409,13 +1409,13 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
typescript: 5.9.3
|
typescript: 5.9.3
|
||||||
|
|
||||||
'@typescript-eslint/type-utils@8.48.1(eslint@9.39.1)(typescript@5.9.3)':
|
'@typescript-eslint/type-utils@8.48.1(eslint@9.39.2)(typescript@5.9.3)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/types': 8.48.1
|
'@typescript-eslint/types': 8.48.1
|
||||||
'@typescript-eslint/typescript-estree': 8.48.1(typescript@5.9.3)
|
'@typescript-eslint/typescript-estree': 8.48.1(typescript@5.9.3)
|
||||||
'@typescript-eslint/utils': 8.48.1(eslint@9.39.1)(typescript@5.9.3)
|
'@typescript-eslint/utils': 8.48.1(eslint@9.39.2)(typescript@5.9.3)
|
||||||
debug: 4.4.3
|
debug: 4.4.3
|
||||||
eslint: 9.39.1
|
eslint: 9.39.2
|
||||||
ts-api-utils: 2.1.0(typescript@5.9.3)
|
ts-api-utils: 2.1.0(typescript@5.9.3)
|
||||||
typescript: 5.9.3
|
typescript: 5.9.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
@ -1438,13 +1438,13 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@typescript-eslint/utils@8.48.1(eslint@9.39.1)(typescript@5.9.3)':
|
'@typescript-eslint/utils@8.48.1(eslint@9.39.2)(typescript@5.9.3)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@eslint-community/eslint-utils': 4.9.0(eslint@9.39.1)
|
'@eslint-community/eslint-utils': 4.9.0(eslint@9.39.2)
|
||||||
'@typescript-eslint/scope-manager': 8.48.1
|
'@typescript-eslint/scope-manager': 8.48.1
|
||||||
'@typescript-eslint/types': 8.48.1
|
'@typescript-eslint/types': 8.48.1
|
||||||
'@typescript-eslint/typescript-estree': 8.48.1(typescript@5.9.3)
|
'@typescript-eslint/typescript-estree': 8.48.1(typescript@5.9.3)
|
||||||
eslint: 9.39.1
|
eslint: 9.39.2
|
||||||
typescript: 5.9.3
|
typescript: 5.9.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
@ -1557,20 +1557,20 @@ snapshots:
|
|||||||
|
|
||||||
escape-string-regexp@4.0.0: {}
|
escape-string-regexp@4.0.0: {}
|
||||||
|
|
||||||
eslint-plugin-react-hooks@7.0.1(eslint@9.39.1):
|
eslint-plugin-react-hooks@7.0.1(eslint@9.39.2):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/core': 7.28.5
|
'@babel/core': 7.28.5
|
||||||
'@babel/parser': 7.28.5
|
'@babel/parser': 7.28.5
|
||||||
eslint: 9.39.1
|
eslint: 9.39.2
|
||||||
hermes-parser: 0.25.1
|
hermes-parser: 0.25.1
|
||||||
zod: 4.1.13
|
zod: 4.1.13
|
||||||
zod-validation-error: 4.0.2(zod@4.1.13)
|
zod-validation-error: 4.0.2(zod@4.1.13)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
eslint-plugin-react-refresh@0.4.24(eslint@9.39.1):
|
eslint-plugin-react-refresh@0.4.24(eslint@9.39.2):
|
||||||
dependencies:
|
dependencies:
|
||||||
eslint: 9.39.1
|
eslint: 9.39.2
|
||||||
|
|
||||||
eslint-scope@8.4.0:
|
eslint-scope@8.4.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -1581,15 +1581,15 @@ snapshots:
|
|||||||
|
|
||||||
eslint-visitor-keys@4.2.1: {}
|
eslint-visitor-keys@4.2.1: {}
|
||||||
|
|
||||||
eslint@9.39.1:
|
eslint@9.39.2:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@eslint-community/eslint-utils': 4.9.0(eslint@9.39.1)
|
'@eslint-community/eslint-utils': 4.9.0(eslint@9.39.2)
|
||||||
'@eslint-community/regexpp': 4.12.2
|
'@eslint-community/regexpp': 4.12.2
|
||||||
'@eslint/config-array': 0.21.1
|
'@eslint/config-array': 0.21.1
|
||||||
'@eslint/config-helpers': 0.4.2
|
'@eslint/config-helpers': 0.4.2
|
||||||
'@eslint/core': 0.17.0
|
'@eslint/core': 0.17.0
|
||||||
'@eslint/eslintrc': 3.3.3
|
'@eslint/eslintrc': 3.3.3
|
||||||
'@eslint/js': 9.39.1
|
'@eslint/js': 9.39.2
|
||||||
'@eslint/plugin-kit': 0.4.1
|
'@eslint/plugin-kit': 0.4.1
|
||||||
'@humanfs/node': 0.16.7
|
'@humanfs/node': 0.16.7
|
||||||
'@humanwhocodes/module-importer': 1.0.1
|
'@humanwhocodes/module-importer': 1.0.1
|
||||||
@ -1956,13 +1956,13 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
prelude-ls: 1.2.1
|
prelude-ls: 1.2.1
|
||||||
|
|
||||||
typescript-eslint@8.48.1(eslint@9.39.1)(typescript@5.9.3):
|
typescript-eslint@8.48.1(eslint@9.39.2)(typescript@5.9.3):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/eslint-plugin': 8.48.1(@typescript-eslint/parser@8.48.1(eslint@9.39.1)(typescript@5.9.3))(eslint@9.39.1)(typescript@5.9.3)
|
'@typescript-eslint/eslint-plugin': 8.48.1(@typescript-eslint/parser@8.48.1(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(typescript@5.9.3)
|
||||||
'@typescript-eslint/parser': 8.48.1(eslint@9.39.1)(typescript@5.9.3)
|
'@typescript-eslint/parser': 8.48.1(eslint@9.39.2)(typescript@5.9.3)
|
||||||
'@typescript-eslint/typescript-estree': 8.48.1(typescript@5.9.3)
|
'@typescript-eslint/typescript-estree': 8.48.1(typescript@5.9.3)
|
||||||
'@typescript-eslint/utils': 8.48.1(eslint@9.39.1)(typescript@5.9.3)
|
'@typescript-eslint/utils': 8.48.1(eslint@9.39.2)(typescript@5.9.3)
|
||||||
eslint: 9.39.1
|
eslint: 9.39.2
|
||||||
typescript: 5.9.3
|
typescript: 5.9.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|||||||
@ -35,10 +35,23 @@ function App() {
|
|||||||
const [isLoading, setIsLoading] = useState(false);
|
const [isLoading, setIsLoading] = useState(false);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (theme !== "default") {
|
if (theme !== "default" && theme !== "sakura") {
|
||||||
|
document.body.classList.remove("sakura-theme");
|
||||||
document.body.classList.add("shader-theme");
|
document.body.classList.add("shader-theme");
|
||||||
|
if (theme === "clouds" || theme === "blackhole" || theme === "ball") {
|
||||||
|
document.body.classList.add("black-theme");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
document.body.classList.remove("black-theme");
|
||||||
} else {
|
} else {
|
||||||
document.body.classList.remove("shader-theme");
|
document.body.classList.remove("shader-theme");
|
||||||
|
document.body.classList.remove("black-theme");
|
||||||
|
|
||||||
|
if (theme === "sakura") {
|
||||||
|
document.body.classList.add("sakura-theme");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
document.body.classList.remove("sakura-theme");
|
||||||
}
|
}
|
||||||
}, [theme]);
|
}, [theme]);
|
||||||
|
|
||||||
@ -97,6 +110,7 @@ function App() {
|
|||||||
{ id: "ball", label: "Ball", icon: "⚽" },
|
{ id: "ball", label: "Ball", icon: "⚽" },
|
||||||
{ id: "reflect", label: "Reflect", icon: "🪞" },
|
{ id: "reflect", label: "Reflect", icon: "🪞" },
|
||||||
{ id: "clouds", label: "Clouds", icon: "☁️" },
|
{ id: "clouds", label: "Clouds", icon: "☁️" },
|
||||||
|
{ id: "sakura", label: "Sakura", icon: "🌸" },
|
||||||
];
|
];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@ -1,15 +1,21 @@
|
|||||||
:root {
|
:root {
|
||||||
--primary-bg: #23283d;
|
--primary-bg-rgb: 35 40 61;
|
||||||
--secondary-bg: #1e2233;
|
--secondary-bg-rgb: 30 34 51;
|
||||||
--secondary-alt-bg: #191f2e;
|
--secondary-alt-bg-rgb: 25 31 46;
|
||||||
--tertiary-bg: #101320;
|
--tertiary-bg-rgb: 16 19 32;
|
||||||
--accent-color: #096dc0;
|
--accent-color-rgb: 9 109 192;
|
||||||
--secondary-accent: #0a4f8c;
|
--secondary-accent-rgb: 10 79 140;
|
||||||
|
--border-color-rgb: 42 48 69;
|
||||||
--text-color: #ffffff;
|
--text-color: #ffffff;
|
||||||
--text-muted: #a0a0a0;
|
--text-muted: #a0a0a0;
|
||||||
--border-color: #2a3045;
|
|
||||||
|
|
||||||
font-family: 'Inter', system-ui, Avenir, Helvetica, Arial, sans-serif;
|
--primary-bg: rgb(var(--primary-bg-rgb));
|
||||||
|
--secondary-bg: rgb(var(--secondary-bg-rgb));
|
||||||
|
--secondary-alt-bg: rgb(var(--tertiary-bg-rgb));
|
||||||
|
--tertiary-bg: rgb(var(--border-color-rgb));
|
||||||
|
--border-color: rgb(var(--text-color-rgb));
|
||||||
|
|
||||||
|
font-family: "Inter", system-ui, Avenir, Helvetica, Arial, sans-serif;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|
||||||
@ -32,7 +38,12 @@ body {
|
|||||||
background-color: var(--primary-bg);
|
background-color: var(--primary-bg);
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5,
|
||||||
|
h6 {
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
@ -74,7 +85,8 @@ button:focus-visible {
|
|||||||
outline: 4px auto -webkit-focus-ring-color;
|
outline: 4px auto -webkit-focus-ring-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
input, select {
|
input,
|
||||||
|
select {
|
||||||
background-color: var(--secondary-alt-bg);
|
background-color: var(--secondary-alt-bg);
|
||||||
border: 1px solid var(--border-color);
|
border: 1px solid var(--border-color);
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
@ -85,17 +97,18 @@ input, select {
|
|||||||
transition: all 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
input:focus, select:focus {
|
input:focus,
|
||||||
|
select:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
border-color: var(--accent-color);
|
border-color: var(--accent-color);
|
||||||
box-shadow: 0 0 0 2px rgba(9, 109, 192, 0.2);
|
box-shadow: 0 0 0 2px rgb(9, 109, 192, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
|
transition: background-color 0.3s ease, border-color 0.3s ease,
|
||||||
|
color 0.3s ease, box-shadow 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@ -103,15 +116,21 @@ ul {
|
|||||||
|
|
||||||
.shader-theme {
|
.shader-theme {
|
||||||
--primary-bg: transparent; /* Let the shader show through */
|
--primary-bg: transparent; /* Let the shader show through */
|
||||||
--secondary-bg: rgba(0, 0, 0, 0.7); /* Translucent cards */
|
--secondary-bg: rgb(var(--secondary-bg-rgb) / 0.7); /* Translucent cards */
|
||||||
--secondary-alt-bg: rgba(20, 20, 20, 0.6); /* Translucent inputs */
|
--secondary-alt-bg: rgb(
|
||||||
--tertiary-bg: rgba(40, 40, 40, 0.8);
|
var(--secondary-alt-bg-rgb) / 0.6
|
||||||
--border-color: rgba(255, 255, 255, 0.15);
|
); /* Translucent inputs */
|
||||||
|
--tertiary-bg: rgb(var(--tertiary-bg-rgb) / 0.8);
|
||||||
|
--border-color: rgb(var(--border-color-rgb) / 0.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
.black-theme {
|
||||||
|
--primary-bg: transparent; /* Let the shader show through */
|
||||||
|
--secondary-bg: rgb(0, 0, 0, 0.7); /* Translucent cards */
|
||||||
|
--secondary-alt-bg: rgb(20, 20, 20, 0.6); /* Translucent inputs */
|
||||||
|
--tertiary-bg: rgb(40, 40, 40, 0.8);
|
||||||
|
--border-color: rgb(255, 255, 255, 0.15);
|
||||||
--text-color: #ffffff;
|
--text-color: #ffffff;
|
||||||
--accent-color: #121212;
|
--accent-color: #121212;
|
||||||
--secondary-accent: #212121;
|
--secondary-accent: #212121;
|
||||||
}
|
}
|
||||||
|
|
||||||
.shader-theme body {
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user