Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pega tema do sistema do usuário, remove piscada quando tema escuro #219

Merged
merged 7 commits into from
Oct 18, 2024

Conversation

george-gca
Copy link
Contributor

@george-gca george-gca commented Oct 16, 2024

Descrição de PR

Removi arquivos inutilizados, resolvi piscada quando o tema escuro é o que está selecionado (ao atualizar a página) e adicionei suporte a pegar tema do sistema.

Issue relacionado

Motivações

Já que eu estava com a mão na massa (implementando uma versão da tradução no #217), vi que ia ser tranquilo resolver a #173 e acabei junto resolvendo a outra.

Informações adicionais

Eu apaguei vários arquivos css, já que o sass compila tudo no style.css. Também criei um arquivo pro tema claro, pra ficar mais separado onde as cores dos temas são tratadas.

Signed-off-by: George Araújo <george.gcac@gmail.com>
Signed-off-by: George Araújo <george.gcac@gmail.com>
Copy link

netlify bot commented Oct 16, 2024

Deploy Preview for diciotech ready!

Name Link
🔨 Latest commit d91b535
🔍 Latest deploy log https://app.netlify.com/sites/diciotech/deploys/6712925bfddfc20008ffcaba
😎 Deploy Preview https://deploy-preview-219--diciotech.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Signed-off-by: George Araújo <george.gcac@gmail.com>
Signed-off-by: George Araújo <george.gcac@gmail.com>
@levxyca levxyca self-requested a review October 18, 2024 16:28
@levxyca levxyca added bug Something isn't working enhancement New feature or request labels Oct 18, 2024
@levxyca levxyca added this to the v2 milestone Oct 18, 2024
Copy link
Owner

@levxyca levxyca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Obrigada pela contribuição 🚀

@levxyca
Copy link
Owner

levxyca commented Oct 18, 2024

@george-gca se tu conseguir dar um check nos conflitos 🫰🏻

@george-gca
Copy link
Contributor Author

Então, o #218 mudou os arquivos css, mas na verdade é pra gente mexer nos sass e regerar os css. Vou ver se consigo pegar a mudança dele e botar no sass.

@george-gca
Copy link
Contributor Author

@levxyca foi o/

@levxyca
Copy link
Owner

levxyca commented Oct 18, 2024

@george-gca boaaaaaaaa

@levxyca levxyca merged commit e91e47a into levxyca:main Oct 18, 2024
5 checks passed
@george-gca george-gca deleted the device_theme branch October 22, 2024 18:18
@levxyca levxyca linked an issue Oct 23, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Modo escuro atualmente dá um flash ao atualizar a página Detectar automaticamente tema do sistema
2 participants