Implement the 018-combatant-concentration feature that adds a per-combatant concentration toggle with Brain icon, purple border accent, and damage pulse animation in the encounter tracker

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Lukas
2026-03-06 14:34:28 +01:00
parent febe892e15
commit e59fd83292
19 changed files with 779 additions and 7 deletions

View File

@@ -19,6 +19,42 @@
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}
@keyframes concentration-shake {
0% {
translate: 0;
}
20% {
translate: -3px;
}
40% {
translate: 3px;
}
60% {
translate: -2px;
}
80% {
translate: 1px;
}
100% {
translate: 0;
}
}
@keyframes concentration-glow {
0% {
box-shadow: 0 0 4px 2px #c084fc;
}
100% {
box-shadow: 0 0 0 0 transparent;
}
}
@utility animate-concentration-pulse {
animation:
concentration-shake 450ms ease-out,
concentration-glow 1200ms ease-out;
}
body {
background-color: var(--color-background);
color: var(--color-foreground);