style: changed colors etc

This commit is contained in:
shahdlala66
2026-04-26 22:13:26 +02:00
parent 671886781e
commit d676288315
9 changed files with 1179 additions and 604 deletions
+31
View File
@@ -1,6 +1,14 @@
.game-shell {
min-height: 100dvh;
padding: clamp(var(--size-md), 2vw, var(--size-xl));
background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-secondary-mint) 100%);
color: var(--color-text-primary);
}
:host-context(html[data-theme='dark']) .game-shell {
background:
radial-gradient(circle at top, rgba(185, 194, 218, 0.16) 0%, transparent 35%),
linear-gradient(180deg, #0f1f2e 0%, #17293d 52%, #0b1420 100%);
}
.game-card {
@@ -13,6 +21,11 @@
box-shadow: var(--shadow-md);
}
:host-context(html[data-theme='dark']) .game-shell .game-card {
background: rgba(26, 47, 71, 0.88);
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}
header {
margin-bottom: var(--size-xl);
}
@@ -103,6 +116,24 @@ h2 {
container-type: size;
}
:host-context(html[data-theme='dark']) .game-shell .board-section,
:host-context(html[data-theme='dark']) .game-shell .timer-card,
:host-context(html[data-theme='dark']) .game-shell .history-card,
:host-context(html[data-theme='dark']) .game-shell .export-card,
:host-context(html[data-theme='dark']) .game-shell .board-theme-card,
:host-context(html[data-theme='dark']) .game-shell .player-timer {
background: rgba(45, 74, 111, 0.72);
}
:host-context(html[data-theme='dark']) .game-shell .export-text {
background: rgba(26, 47, 71, 0.9);
}
:host-context(html[data-theme='dark']) .game-shell .game-completion-alert {
background: linear-gradient(135deg, rgba(74, 124, 124, 0.35) 0%, rgba(90, 111, 165, 0.35) 100%);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}
.timer-card,
.history-card,
.export-card {