Repository navigation
M02: tema Sertão, tema por edição e componentes base do app - #193
Open
tecrodrigocastro wants to merge 2 commits into
Open
tecrodrigocastro wants to merge 2 commits into
tecrodrigocastro wants to merge 2 commits into
Conversation
… cópia offline, componentes base, barra inferior com 5 destinos, estados e catálogo de componentes, com testes de widget e golden
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.
Closes #170
O que muda
Tema (
lib/src/core/theme/)PhColors: os tokens do tema Sertão do design (--ph-*), lidos comcontext.ph.PhTheme.build:ThemeDatacom Lexend 400, 500 e 600;assets/fonts/lexend/, com a licença OFL, para funcionar sem internet;contrast.dart: calcula o contraste entre duas cores.Tema por edição (
features/edition_theme/, nas camadas do template)GET /public/editions/{id}/themee guarda no aparelho. Sem internet, usa a cópia.#RRGGBBe logo sem https são ignoradas.EditionThemeBlocaplica o tema noAppWidget. A escolha da edição (M05) é quem vai disparar o tema.Componentes (
lib/src/core/ui/)/_dev/componentes, só em debug, com a troca entre o Sertão e um tema de edição de exemplo.Como foi verificado
flutter analyze: nenhum problema.flutter test: 161 testes passaram, 29 deles novos: