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 globals and resets #5

Merged
merged 10 commits into from
Oct 30, 2023
Merged

Conversation

bigotes0invisibles
Copy link
Collaborator

No description provided.

@netlify
Copy link

netlify bot commented Oct 30, 2023

Deploy Preview for conejos-voladores-202309-bcn ready!

Name Link
🔨 Latest commit 03a3ea3
🔍 Latest deploy log https://app.netlify.com/sites/conejos-voladores-202309-bcn/deploys/653ffad48dce860008b571f3
😎 Deploy Preview https://deploy-preview-5--conejos-voladores-202309-bcn.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.

HugoVS26
HugoVS26 previously approved these changes Oct 30, 2023
package.json Outdated
@@ -15,6 +15,7 @@
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"styled-components": "^6.1.0"
Copy link
Collaborator

Choose a reason for hiding this comment

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

cambiar a dependencia de desarrollo

box-sizing: border-box;
}

h1,h2,body{
Copy link
Collaborator

Choose a reason for hiding this comment

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

falta un espacio entre los elmentos, así prittier te los pondrá en vertical

Copy link
Collaborator

Choose a reason for hiding this comment

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

también espacio antes de la llave

Copy link
Collaborator

Choose a reason for hiding this comment

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

debes intalar styled component para que estas cosas no ocurran o te avise de que no esta bien, hazlo y revisa los archivos una vez instalado

const GlobalStyle = createGlobalStyle`
*,
::after,
::before{
Copy link
Collaborator

Choose a reason for hiding this comment

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

espacio antes de la llave

padding:0;
}

button{
Copy link
Collaborator

Choose a reason for hiding this comment

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

espacio antes de la llave

padding: 0;
}

ul{
Copy link
Collaborator

Choose a reason for hiding this comment

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

espacio antes de la llave

const mainTheme: DefaultTheme = {
color: {
main: "#fbd000",
secondary: "#049cd8",
Copy link
Collaborator

Choose a reason for hiding this comment

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

main-background

Copy link
Collaborator

Choose a reason for hiding this comment

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

falta un background #fff, el de los inputs del formulario. Aunque no sé si es yagni
input-background

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

👍 🍸 💯 ;cool :okelevoyaponerinput

main: "#fbd000",
secondary: "#049cd8",
"error-background": "#e52521",
"check-background": "#43b047",
Copy link
Collaborator

Choose a reason for hiding this comment

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

successfull-background, para que concorde con el figma

Copy link
Collaborator

Choose a reason for hiding this comment

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

falta arreglar éste

secondary: "#049cd8",
"error-background": "#e52521",
"check-background": "#43b047",
font: "#fff",
Copy link
Collaborator

Choose a reason for hiding this comment

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

la blanca es la secondary-font-color, realmente se usa en los mensajes de server down de background rojo y en algun icon.

"error-background": "#e52521",
"check-background": "#43b047",
font: "#fff",
"secondary-font": "#000",
Copy link
Collaborator

Choose a reason for hiding this comment

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

main-font-color, realmente se usa en toda la letra del documento

Copy link
Collaborator

Choose a reason for hiding this comment

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

Arreglar con la revisión de naming del mainTheme

barbara28bgb
barbara28bgb previously approved these changes Oct 30, 2023
Copy link
Collaborator

@barbara28bgb barbara28bgb left a comment

Choose a reason for hiding this comment

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

good now

HugoVS26
HugoVS26 previously approved these changes Oct 30, 2023
Copy link
Collaborator

@annarosesmarti annarosesmarti left a comment

Choose a reason for hiding this comment

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

revisaremos la linea que sobra en la 37, pero es lo único que falta

index.html Outdated
@@ -6,6 +6,7 @@
<link rel="shortcut icon" href="/favicon.webp" type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="Mario Smashers" content="Web about Mario Smashers characters">
<link href="https://fonts.cdnfonts.com/css/new-super-mario-font-u" rel="stylesheet">
Copy link
Collaborator

Choose a reason for hiding this comment

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

tienes que instalarte la dependencia de la fuente, no el link

}


`;
Copy link
Collaborator

Choose a reason for hiding this comment

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

sobran las líneas 35 y 36

const mainTheme: DefaultTheme = {
color: {
"container-background": "#fbd000",
"main-background": "#049cd8",
Copy link
Collaborator

Choose a reason for hiding this comment

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

ponlos por orden jerárquico: primero el main, después el container please, para que se entienda rápido

main: "#fbd000",
secondary: "#049cd8",
"error-background": "#e52521",
"check-background": "#43b047",
Copy link
Collaborator

Choose a reason for hiding this comment

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

falta arreglar éste

"secondary-font-family": "'New Super Mario Font U', sans-serif",
size: "1,1875rem",
Copy link
Collaborator

Choose a reason for hiding this comment

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

cambiar "size" a main-font-size
Añadir:
secondary-font-size: 2.875rem
form-title-font-size
form-input-font-size
pop-up: font-size

main: "#fbd000",
secondary: "#049cd8",
"container-background": "#fbd000",
"main-background": "#049cd8",
"error-background": "#e52521",
"check-background": "#43b047",
font: "#fff",
"secondary-font": "#000",
},
typography: {
Copy link
Collaborator

Choose a reason for hiding this comment

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

falta un enter en la 12

"error-background": "#e52521",
"check-background": "#43b047",
font: "#fff",
"secondary-font": "#000",
},
typography: {
"main-font-fammily": "Verdana, Geneva, Tahoma, sans-serif",
"main-font-family": "Verdana, Geneva, Tahoma, sans-serif",
"secondary-font-family": "'New Super Mario Font U', sans-serif",
Copy link
Collaborator

Choose a reason for hiding this comment

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

instalar la fuente, no ponerlo en el html

main: string;
secondary: string;
"container-background": "#fbd000";
"main-background": "#049cd8";
Copy link
Collaborator

Choose a reason for hiding this comment

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

poner el main encima de container para respetar la jerarquía

main: string;
secondary: string;
"container-background": "#fbd000";
"main-background": "#049cd8";
"error-background": string;
"check-background": string;
Copy link
Collaborator

Choose a reason for hiding this comment

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

esto no es check, es successfull para que concorde con el figma

"secondary-font-family": string;
size: string;
Copy link
Collaborator

Choose a reason for hiding this comment

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

review las font-size

@bigotes0invisibles bigotes0invisibles merged commit 46772bd into main Oct 30, 2023
6 of 7 checks passed
@bigotes0invisibles bigotes0invisibles deleted the feature/styles-globals-reset branch October 30, 2023 18:58
Copy link

sonarcloud bot commented Nov 18, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

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.

5 participants