Update font family to make design consistent in all platforms (#318)
* Add inter font, remove modal header bg * Remove unnecessary font files * Fix codeclimate issues, remove letter-spacing attribute
This commit is contained in:
parent
6c653e9ef3
commit
6e911e69f8
26 changed files with 82 additions and 16 deletions
BIN
app/javascript/shared/assets/fonts/Inter-Bold.woff
Normal file
BIN
app/javascript/shared/assets/fonts/Inter-Bold.woff
Normal file
Binary file not shown.
BIN
app/javascript/shared/assets/fonts/Inter-Bold.woff2
Normal file
BIN
app/javascript/shared/assets/fonts/Inter-Bold.woff2
Normal file
Binary file not shown.
BIN
app/javascript/shared/assets/fonts/Inter-Italic.woff
Normal file
BIN
app/javascript/shared/assets/fonts/Inter-Italic.woff
Normal file
Binary file not shown.
BIN
app/javascript/shared/assets/fonts/Inter-Italic.woff2
Normal file
BIN
app/javascript/shared/assets/fonts/Inter-Italic.woff2
Normal file
Binary file not shown.
BIN
app/javascript/shared/assets/fonts/Inter-Light-BETA.woff
Normal file
BIN
app/javascript/shared/assets/fonts/Inter-Light-BETA.woff
Normal file
Binary file not shown.
BIN
app/javascript/shared/assets/fonts/Inter-Light-BETA.woff2
Normal file
BIN
app/javascript/shared/assets/fonts/Inter-Light-BETA.woff2
Normal file
Binary file not shown.
BIN
app/javascript/shared/assets/fonts/Inter-Medium.woff
Normal file
BIN
app/javascript/shared/assets/fonts/Inter-Medium.woff
Normal file
Binary file not shown.
BIN
app/javascript/shared/assets/fonts/Inter-Medium.woff2
Normal file
BIN
app/javascript/shared/assets/fonts/Inter-Medium.woff2
Normal file
Binary file not shown.
BIN
app/javascript/shared/assets/fonts/Inter-Regular.woff
Normal file
BIN
app/javascript/shared/assets/fonts/Inter-Regular.woff
Normal file
Binary file not shown.
BIN
app/javascript/shared/assets/fonts/Inter-Regular.woff2
Normal file
BIN
app/javascript/shared/assets/fonts/Inter-Regular.woff2
Normal file
Binary file not shown.
BIN
app/javascript/shared/assets/fonts/Inter-SemiBold.woff
Normal file
BIN
app/javascript/shared/assets/fonts/Inter-SemiBold.woff
Normal file
Binary file not shown.
BIN
app/javascript/shared/assets/fonts/Inter-SemiBold.woff2
Normal file
BIN
app/javascript/shared/assets/fonts/Inter-SemiBold.woff2
Normal file
Binary file not shown.
BIN
app/javascript/shared/assets/fonts/Inter-Thin-BETA.woff
Normal file
BIN
app/javascript/shared/assets/fonts/Inter-Thin-BETA.woff
Normal file
Binary file not shown.
BIN
app/javascript/shared/assets/fonts/Inter-Thin-BETA.woff2
Normal file
BIN
app/javascript/shared/assets/fonts/Inter-Thin-BETA.woff2
Normal file
Binary file not shown.
62
app/javascript/shared/assets/fonts/inter.scss
Normal file
62
app/javascript/shared/assets/fonts/inter.scss
Normal file
|
@ -0,0 +1,62 @@
|
|||
@font-face {
|
||||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 100;
|
||||
font-display: swap;
|
||||
src: url('~shared/assets/fonts/Inter-Thin-BETA.woff2?v=3.11') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Thin-BETA.woff?v=3.11') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-display: swap;
|
||||
src: url('~shared/assets/fonts/Inter-Light-BETA.woff2?v=3.11') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Light-BETA.woff?v=3.11') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url('~shared/assets/fonts/Inter-Regular.woff2?v=3.11') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Regular.woff?v=3.11') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Inter';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url('~shared/assets/fonts/Inter-Italic.woff2?v=3.11') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Italic.woff?v=3.11') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-display: swap;
|
||||
src: url('~shared/assets/fonts/Inter-Medium.woff2?v=3.11') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Medium.woff?v=3.11') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-display: swap;
|
||||
src: url('~shared/assets/fonts/Inter-SemiBold.woff2?v=3.11') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-SemiBold.woff?v=3.11') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
src: url('~shared/assets/fonts/Inter-Bold.woff2?v=3.11') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Bold.woff?v=3.11') format('woff');
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue