Skip to content

Commit

Permalink
Merge pull request #7 from enflujo/colores-fuentes
Browse files Browse the repository at this point in the history
🦔 colores y fuentes
  • Loading branch information
1cgonza authored Nov 24, 2023
2 parents 04a7649 + ad4c8b1 commit 2d40b61
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plantillas/Plantilla.astro
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ const altImg = imagen ? imagen.alt : nombreProyecto;
<meta charset="UTF-8" />
<meta name="description" content="Descripción de la página" />
<meta name="viewport" content="width=device-width" />

<link rel="preconnect" href="https://rsms.me/" />
<link rel="stylesheet" href="https://rsms.me/inter/inter.css" />

<link rel="icon" href={new URL('favicon.ico', urlBase)} sizes="32x32" />
<link rel="icon" href={new URL('favicon.svg', urlBase)} type="image/svg+xml" />
<link rel="apple-touch-icon" href={new URL('apple-touch-icon.png', urlBase)} />
Expand Down
28 changes: 28 additions & 0 deletions src/scss/estilos.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
@import './normalizar';
@import url('https://fonts.googleapis.com/css2?family=Tourney&display=swap');

:root {
/// Fuentes tipográficas hemochas
---fuenteTitulo: font-family: 'Tourney', 'Garamond', 'Georgia', 'Times', serif;

--fuenteParrafo: 'Inter', 'Helvetica', 'Roboto', 'Arial', 'Tahoma', 'Verdana', sans-serif;
font-feature-settings:
'liga' 1,
'calt' 1; /* fix for Chrome */
@supports (font-variation-settings: normal) {
:root {
font-family: InterVariable, sans-serif;
}
}

//Colores * CSS HEX *
--negro: #0a0908ff;
--linoAntro: #f7efe8ff;
--papelViejo: #f1edeaff;
--pantalonCaqui: #968176ff;
--chalecoCafe: #5e503fff;
--cafeBota: #4a3221ff;
--cafeCaraota: #351303ff;
--bufandaVieja: #22333bff;
--azulBic: #06235fff;
--lavandaFranchute: #858ae3ff;
--rosaPigmento: #ffadc6ff;
--rojoRubor: #ff0a54ff;

--colorFuente: #252424;
}

0 comments on commit 2d40b61

Please sign in to comment.