mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00

* Add dynamic imports for room configs. * Try to move code editor to imports * Load code editor on demand to save a bundle load. * Load fonts from npm * changelog * lint
14 lines
817 B
SCSS
14 lines
817 B
SCSS
/* Inter unexpectedly contains various codepoints which collide with emoji, even
|
|
when variation-16 is applied to request the emoji variant. From eyeballing
|
|
the emoji picker, these are: 20e3, 23cf, 24c2, 25a0-25c1, 2665, 2764, 2b06, 2b1c.
|
|
Therefore we define a unicode-range to load which excludes the glyphs
|
|
(to avoid having to maintain a fork of Inter). */
|
|
|
|
// Borrowed from https://github.com/matrix-org/matrix-react-sdk/blob/020cdc99a2db1b6c7ac2b1be28a5ccd336011f6a/res/themes/light/css/_fonts.scss
|
|
|
|
$inter-unicode-range: U+0000-20e2,U+20e4-23ce,U+23d0-24c1,U+24c3-259f,U+25c2-2664,U+2666-2763,U+2765-2b05,U+2b07-2b1b,U+2b1d-10FFFF;
|
|
|
|
@import url("@fontsource/inter/400.css");
|
|
@import url("@fontsource/inter/500.css");
|
|
@import url("@fontsource/inter/600.css");
|
|
@import url("@fontsource/inter/700.css"); |