modulariza css e refina paleta do snake game#8
Merged
Conversation
- troca h-full overflow-hidden por min-h-full no container - reduz padding vertical em breakpoints menores - permite scroll natural no main quando o jogo nao cabe
- extrai todas as classes snake-* de theme.css para src/features/snake-game/styles/snake-game.css - tokeniza cores e transicoes em custom properties (--sg-*) - organiza por secoes: buttons, tabs, arrows, combo, keyframes, reduced-motion - importa o css inline no SnakeGame.tsx para code splitting via lazy - deixa theme.css apenas com base styles globais do portfolio
- aplica snake-btn-primary success ghost nos botoes do overlay e pause menu - aplica snake-tab active-green active-purple nos tabs de dificuldade e modo - aplica snake-arrow-btn nos controles direcionais - remove paleta laranja do CTA primary usando roxo do sistema - HighScoreBadge em cyan para harmonizar com food - food class type em pink - countdown em roxo claro para contrastar com cobra verde - pontos do score em cyan e pausado em roxo claro - afasta painel lateral e adiciona padding nos tabs do topo - unifica botoes via classes semanticas ao inves de classes utilitarias repetidas
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary