[Rt-commit] rt branch, 4.6/tweak-elevator-themes, updated. rt-4.4.4-413-g57dd010e2
? sunnavy
sunnavy at bestpractical.com
Tue Oct 15 17:03:53 EDT 2019
The branch, 4.6/tweak-elevator-themes has been updated
via 57dd010e2c34799fe84d8ef175a3a01528b4e58c (commit)
from 6fbd1396ec485ccc4e0e2a820e3ff041277cda85 (commit)
Summary of changes:
share/static/css/elevator-light/inter.css | 45 -------------------------------
1 file changed, 45 deletions(-)
- Log -----------------------------------------------------------------
commit 57dd010e2c34799fe84d8ef175a3a01528b4e58c
Author: sunnavy <sunnavy at bestpractical.com>
Date: Wed Oct 16 04:24:51 2019 +0800
Drop unused inter css rules for variable fonts
Currently we don't use variable fonts and they are not included in core
yet(e.g. Inter.var.woff2), it's good to keep things consistent to avoid
confusion.
diff --git a/share/static/css/elevator-light/inter.css b/share/static/css/elevator-light/inter.css
index be46efc5b..2b5d1fad3 100644
--- a/share/static/css/elevator-light/inter.css
+++ b/share/static/css/elevator-light/inter.css
@@ -132,48 +132,3 @@
src: url("../../../static/css/fonts/inter/Inter-BlackItalic.woff2") format("woff2"),
url("../../../static/css/fonts/inter/Inter-BlackItalic.woff") format("woff");
}
-
-/* -------------------------------------------------------
-Variable font.
-Usage:
-
- html { font-family: 'Inter', sans-serif; }
- @supports (font-variation-settings: normal) {
- html { font-family: 'Inter var', sans-serif; }
- }
-*/
- at font-face {
- font-family: 'Inter var';
- font-weight: 100 900;
- font-style: normal;
- font-named-instance: 'Regular';
- src: url("../../../static/css/fonts/inter/Inter-upright.var.woff2") format("woff2");
-}
- at font-face {
- font-family: 'Inter var';
- font-weight: 100 900;
- font-style: italic;
- font-named-instance: 'Italic';
- src: url("../../../static/css/fonts/inter/Inter-italic.var.woff2") format("woff2");
-}
-
-
-/* --------------------------------------------------------------------------
-[EXPERIMENTAL] Multi-axis, single variable font.
-
-Slant axis is not yet widely supported (as of February 2019) and thus this
-multi-axis single variable font is opt-in rather than the default.
-
-When using this, you will probably need to set font-variation-settings
-explicitly, e.g.
-
- * { font-variation-settings: "slnt" 0deg }
- .italic { font-variation-settings: "slnt" 10deg }
-
-*/
- at font-face {
- font-family: 'Inter var experimental';
- font-weight: 100 900;
- font-style: oblique 0deg 10deg;
- src: url("../../../static/css/fonts/inter/Inter.var.woff2") format("woff2");
-}
-----------------------------------------------------------------------
More information about the rt-commit
mailing list