mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-12 16:03:22 +03:00
aa8e3dbfb4
* include Inter natively on legacy & custom themes * fix theming of beta button * fix beta pill skinning properly * switch back to accent-alt for beta pills Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
39 lines
1.3 KiB
SCSS
39 lines
1.3 KiB
SCSS
/*
|
|
* Nunito.
|
|
* Includes extended Latin and Vietnamese character sets
|
|
* Current URLs are taken from
|
|
* https://github.com/alexeiva/NunitoFont/releases/tag/v3.500
|
|
* ...in order to include cyrillic.
|
|
*
|
|
* Previously, they were
|
|
* https://fonts.googleapis.com/css?family=Nunito:400,400i,600,600i,700,700i&subset=latin-ext,vietnamese
|
|
*
|
|
* We explicitly do not include Nunito's italic variants, as they are not italic enough
|
|
* and it's better to rely on the browser's built-in obliquing behaviour.
|
|
*/
|
|
|
|
// Grab the other fonts from the current theme, so we can override to Inter
|
|
// in custom fonts if needed.
|
|
@import "../../light/css/_fonts.scss";
|
|
|
|
// Nunito as the default, for old time's sake on legacy themes.
|
|
/* the 'src' links are relative to the bundle.css, which is in a subdirectory.
|
|
*/
|
|
@font-face {
|
|
font-family: 'Nunito';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url('$(res)/fonts/Nunito/Nunito-Regular.ttf') format('truetype');
|
|
}
|
|
@font-face {
|
|
font-family: 'Nunito';
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
src: url('$(res)/fonts/Nunito/Nunito-SemiBold.ttf') format('truetype');
|
|
}
|
|
@font-face {
|
|
font-family: 'Nunito';
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
src: url('$(res)/fonts/Nunito/Nunito-Bold.ttf') format('truetype');
|
|
}
|