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

Add theme provider #312

Open
wants to merge 4 commits into
base: staging
Choose a base branch
from
Open

Add theme provider #312

wants to merge 4 commits into from

Conversation

AlmeAld
Copy link
Contributor

@AlmeAld AlmeAld commented Mar 30, 2021

  • Cree un objeto theme con la paleta de colores.
  • En styles.js del componente HomePage encontraran dos ejemplos para usar theme 🙌.

@vercel
Copy link

vercel bot commented Mar 30, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/openpolitica/votupe/3y9VTiD4Nc2M4mhtxSTKoVaxKwnK
✅ Preview: https://votupe-git-fork-almeald-theme-openpolitica.vercel.app

Copy link
Contributor

@wixo wixo left a comment

Choose a reason for hiding this comment

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

Muy buena iniciativa, gracias! 🙌

@@ -0,0 +1,55 @@
const theme = {
colors: {
Copy link
Contributor

Choose a reason for hiding this comment

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

Genial! 🙌

300: '#E3F9E1',
200: '#F7FDF6',
},
warning300: {
Copy link
Contributor

Choose a reason for hiding this comment

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

por qué 300? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ups aquí debería ser sólo warning y error 😅

400: '#DEDEDE',
300: '#F3F3F3',
},
white: '#FFFFFF',
Copy link
Contributor

Choose a reason for hiding this comment

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

aquí, así como black recomendaría usar otros nombres, porque si luego queremos cambiar black por white, tendríamos que hacer cambio de nombres en el uso. Recomendaría ir con el nombre luminosity donde incluya tanto blanco, negro y escala de grises.

Copy link
Contributor

@wixo wixo left a comment

Choose a reason for hiding this comment

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

Hola @AlmeAld, solo una pregunta, gracias!

500: '#B1B1B1',
400: '#DEDEDE',
300: '#F3F3F3',
200: '#FFFFFF',
Copy link
Contributor

Choose a reason for hiding this comment

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

Perdón por demorarme en llegar a este comentario pero #FFFFFF al ser blanco no debería ser 0?, no me imagino que valor podría tener 100 o 50 en esa nomenclatura. También: negro debería ser 1000?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@wixo me estoy guiando de nuestra paleta de colores, donde nuestro máximo valor es 700

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants