Skip to content

Commit

Permalink
updated starting project - with proper global styles
Browse files Browse the repository at this point in the history
  • Loading branch information
maxschwarzmueller committed Feb 17, 2021
1 parent 735bbf4 commit 0784977
Showing 1 changed file with 54 additions and 8 deletions.
62 changes: 54 additions & 8 deletions styles/globals.css
Original file line number Diff line number Diff line change
@@ -1,18 +1,64 @@
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@700&family=Open+Sans:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&family=Roboto&family=Source+Sans+Pro:wght@300&display=swap');

* {
box-sizing: border-box;
}

body {
font-family: 'Open Sans', 'Lato', sans-serif;
--color-grey-50: hsl(265, 55%, 96%);
--color-grey-100: hsl(265, 19%, 88%);
--color-grey-200: hsl(265, 7%, 70%);
--color-grey-300: hsl(265, 6%, 66%);
--color-grey-400: hsl(265, 4%, 57%);
--color-grey-500: hsl(265, 3%, 53%);
--color-grey-600: hsl(265, 4%, 42%);
--color-grey-700: hsl(265, 4%, 31%);
--color-grey-800: hsl(276, 5%, 20%);
--color-grey-900: hsl(280, 5%, 13%);

--color-primary-50: #c8b3ce;
--color-primary-100: #a07aaa;
--color-primary-200: #884c97;
--color-primary-300: #843897;
--color-primary-400: #732392;
--color-primary-500: #5a097a;
--color-primary-600: #480264;
--color-primary-700: #3d0264;

--color-success-100: #a2f0bc;
--color-success-500: #12bd4b;

--color-error-100: #f1acc9;
--color-error-500: #a10c4a;

--size-1: 0.25rem;
--size-2: 0.5rem;
--size-3: 0.75rem;
--size-4: 1rem;
--size-5: 1.25rem;
--size-6: 1.5rem;
--size-8: 2rem;
--size-16: 4rem;
--size-20: 5rem;
--size-40: 10rem;

margin: 0;
background-color: var(--color-grey-500);
color: #252525;
font-family: 'Roboto', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Lato', sans-serif;
}
h3 {
font-family: 'Oswald', 'Roboto', sans-serif;
}

a {
text-decoration: none;
}

button {
font: inherit;
cursor: pointer;
}

0 comments on commit 0784977

Please sign in to comment.