Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #36 from 30-seconds/font-cleanup
Browse files Browse the repository at this point in the history
Reduce number of font resources
Resolves #31
  • Loading branch information
Chalarangelo authored Jan 2, 2020
2 parents 5c38dd2 + 7525b2a commit 65d65e8
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 38 deletions.
1 change: 0 additions & 1 deletion src/atoms/anchor/linkBackAnchor/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ a.link-back {
line-height: 1.35;
display: block;
margin: 0.8125rem 1.25rem 1.5rem;
font-weight: 500;
padding-left: 24px;
background-image: generate-icon-background("arrow-left", $fore-color-dark-light, 'none', 2, 20);
background-position: 0 center;
Expand Down
3 changes: 1 addition & 2 deletions src/atoms/button/regularButton/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ $button-fore-color: #FFFFFF;
cursor: pointer;
border: none;
border-radius: 1rem;
font-weight: 500;
font-size: 1.125rem;
line-height: 1.4;
transition: 0.3s ease all;
Expand All @@ -43,4 +42,4 @@ $button-fore-color: #FFFFFF;
&.secondary {
background: var(--button-back-color-secondary);
}
}
}
2 changes: 0 additions & 2 deletions src/atoms/card/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
.card-title {
font-size: 1.25rem;
line-height: 1.75rem;
font-weight: 500;
margin: 0.625rem 0.5rem 0.125rem;
transition: 0.3s ease all;
color: var(--card-fore-color);
Expand All @@ -47,7 +46,6 @@
font-size: 0.875rem;
color: var(--card-fore-color-light);
line-height: 1.35;
font-weight: 500;

> p {
margin: 0.8125rem 0.5rem 1.5rem;
Expand Down
1 change: 0 additions & 1 deletion src/organisms/shell/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ h1.website-title {
transition: 0.3s ease all;
font-size: 1rem;
line-height: 1.375;
font-weight: 500;
> a {
&, &:link, &:visited {
color: var(--fore-color-lighter);
Expand Down
32 changes: 0 additions & 32 deletions src/styles/_fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,6 @@
src: local('Noto Sans Light'), local('NotoSans-Light'), url(../assets/NotoSans-Light.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Noto Sans';
font-style: italic;
font-weight: 300;
font-display: swap;
src: local('Noto Sans LightItalic'), local('NotoSans-LightItalic'), url(../assets/NotoSans-LightItalic.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Noto Sans';
font-style: normal;
Expand All @@ -55,22 +47,6 @@
src: local('Noto Sans Italic'), local('NotoSans-Italic'), url(../assets/NotoSans-Italic.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 500;
font-display: swap;
src: local('Noto Sans Medium'), local('NotoSans-Medium'), url(../assets/NotoSans-Medium.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Noto Sans';
font-style: italic;
font-weight: 500;
font-display: swap;
src: local('Noto Sans Medium Italic'), local('NotoSans-MediumItalic'), url(../assets/NotoSans-MediumItalic.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Noto Sans';
font-style: normal;
Expand All @@ -79,11 +55,3 @@
src: local('Noto Sans SemiBold'), local('NotoSans-SemiBold'), url(../assets/NotoSans-SemiBold.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Noto Sans';
font-style: italic;
font-weight: 600;
font-display: swap;
src: local('Noto Sans SemiBold Italic'), local('NotoSans-SemiBoldItalic'), url(../assets/NotoSans-SemiBoldItalic.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

0 comments on commit 65d65e8

Please sign in to comment.