Skip to content

Commit

Permalink
refactor(style): use smaller font-size (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
colinlienard authored Sep 7, 2023
1 parent e8f1d7a commit b99317e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/routes/(tray)/tray/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@
</main>

<style lang="scss">
:global(html) {
font-size: 16px;
}
.main {
height: 100vh;
}
Expand Down
2 changes: 2 additions & 0 deletions src/styles/_base.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
html {
font-size: 15px;

@include screens.mobile {
font-size: 14px;
}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/_reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ h3,
h4,
h5,
h6 {
font-size: initial;
font-size: inherit;
font-weight: normal;
}

Expand Down
6 changes: 3 additions & 3 deletions src/styles/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
}

@mixin small {
font-size: 0.875rem;
font-size: 0.875em;
}

@mixin heading-1 {
@include bold;

font-size: 1.5rem;
font-size: 1.5em;
}

@mixin heading-2 {
@include bold;

font-size: 1.25rem;
font-size: 1.25em;
}

@mixin base {
Expand Down

0 comments on commit b99317e

Please sign in to comment.