Skip to content

Commit

Permalink
Turns out semibold font-weight for Segoe is 600 not 500
Browse files Browse the repository at this point in the history
  • Loading branch information
Madelena committed Nov 4, 2022
1 parent fac2674 commit 481329b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions themes/metro.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ ________________________________________Common Base (Do Not Use): &common-colors
body-font-weight: normal
body-line-height: normal

This comment has been minimized.

Copy link
@tomek27225

tomek27225 Nov 28, 2022

body-font-weight: normal

This comment has been minimized.

Copy link
@Madelena

Madelena Nov 28, 2022

Author Owner

P.S. The -font-weight / -line-height variables are what I use in my personal configs, so they aren't necessary to be added.

card-title-font-size: 1.5rem
card-title-font-weight: 500
card-title-font-weight: 600
card-title-line-height: normal
title-font-size: 3.5rem
subtitle-font-size: 1rem
Expand All @@ -91,7 +91,7 @@ ________________________________________Common Base (Do Not Use): &common-colors
h1-font-weight: 100
h2-font-weight: 100
h3-font-weight: 100
h4-font-weight: 500
h4-font-weight: 600
h5-font-weight: 400
h6-font-weight: 400

Expand All @@ -105,7 +105,7 @@ ________________________________________Common Base (Do Not Use): &common-colors
h6-font: "var(--h6-font-weight) var(--h6-font-size) var(--font-stack)"

paper-font-headline_-_font-size: 3.5rem
paper-font-headline_-_font-weight: 500
paper-font-headline_-_font-weight: 600
paper-font-headline_-_letter-spacing: 0
paper-font-headline_-_line-height: 5rem

Expand All @@ -114,13 +114,13 @@ ________________________________________Common Base (Do Not Use): &common-colors
material-button-font-size: 1rem

mush-title-font-size: var(--title-font-size)
mush-title-font-weight: 500
mush-title-font-weight: 600
mush-title-padding: 24px 16px 16px
mush-subtitle-font-size: var(--subtitle-font-size)
mush-subtitle-font-weight: 500
mush-subtitle-font-weight: 600
mush-card-primary-font-size: var(--body-font-size)
mush-card-secondary-font-size: var(--small-font-size)
mush-card-primary-font-weight: 500
mush-card-primary-font-weight: 600
mush-card-secondary-font-weight: normal
mush-chip-font-size: var(--body-font-size)
mush-chip-font-weight: normal
Expand Down Expand Up @@ -446,7 +446,7 @@ ________________________________________Common Base 3 (Do Not Use): &common-card
.mdc-top-app-bar__title, .main-title {
text-transform: uppercase;
font-size: var(--body-font-size);
font-weight: 500;
font-weight: 600;
line-height: 1.1;
overflow: inherit;
white-space: normal;
Expand Down Expand Up @@ -537,7 +537,7 @@ ________________________________________Common Base 3 (Do Not Use): &common-card
card-mod-sidebar: &card-mod-sidebar |
.menu .title {
font-weight: 500;
font-weight: 600;
}
:host([expanded]) paper-icon-item {
width: 100%;
Expand All @@ -557,13 +557,13 @@ ________________________________________Common Base 3 (Do Not Use): &common-card
card-mod-view: &card-mod-view |
.main-title {
font-size: 10pt;
font-weight: 500;
font-weight: 600;
text-transform: uppercase;
}
#tabbar {
font-size: 10pt;
text-transform: uppercase;
font-weight: 500;
font-weight: 600;
}
#tabbar:not(.bottom-bar) {
justify-content: left;
Expand Down
2 changes: 1 addition & 1 deletion www/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

@font-face {
font-family: "SegoeUI";
font-weight: 500;
font-weight: 600;
src: url("/local/seguisb.ttf");
}

Expand Down

0 comments on commit 481329b

Please sign in to comment.