[Rt-commit] rt branch, 4.6-theme/inter-font, created. rt-4.4.4-203-g9a3818b06

? sunnavy sunnavy at bestpractical.com
Mon May 20 12:41:32 EDT 2019


The branch, 4.6-theme/inter-font has been created
        at  9a3818b0645a7a828505c78f28b79524bedee70a (commit)

- Log -----------------------------------------------------------------
commit 034714f5f106b6666a600abea8b6d871315664a0
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu May 2 05:12:32 2019 +0800

    Add Inter font(web hinted) 3.5

diff --git a/share/static/css/fonts/inter/Inter-Black.woff b/share/static/css/fonts/inter/Inter-Black.woff
new file mode 100644
index 000000000..081be0968
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-Black.woff differ
diff --git a/share/static/css/fonts/inter/Inter-Black.woff2 b/share/static/css/fonts/inter/Inter-Black.woff2
new file mode 100644
index 000000000..79fb4d6eb
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-Black.woff2 differ
diff --git a/share/static/css/fonts/inter/Inter-BlackItalic.woff b/share/static/css/fonts/inter/Inter-BlackItalic.woff
new file mode 100644
index 000000000..c73f529eb
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-BlackItalic.woff differ
diff --git a/share/static/css/fonts/inter/Inter-BlackItalic.woff2 b/share/static/css/fonts/inter/Inter-BlackItalic.woff2
new file mode 100644
index 000000000..12e96a316
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-BlackItalic.woff2 differ
diff --git a/share/static/css/fonts/inter/Inter-Bold.woff b/share/static/css/fonts/inter/Inter-Bold.woff
new file mode 100644
index 000000000..c5d74d549
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-Bold.woff differ
diff --git a/share/static/css/fonts/inter/Inter-Bold.woff2 b/share/static/css/fonts/inter/Inter-Bold.woff2
new file mode 100644
index 000000000..741454688
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-Bold.woff2 differ
diff --git a/share/static/css/fonts/inter/Inter-BoldItalic.woff b/share/static/css/fonts/inter/Inter-BoldItalic.woff
new file mode 100644
index 000000000..9a014e950
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-BoldItalic.woff differ
diff --git a/share/static/css/fonts/inter/Inter-BoldItalic.woff2 b/share/static/css/fonts/inter/Inter-BoldItalic.woff2
new file mode 100644
index 000000000..73f2434ed
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-BoldItalic.woff2 differ
diff --git a/share/static/css/fonts/inter/Inter-ExtraBold.woff b/share/static/css/fonts/inter/Inter-ExtraBold.woff
new file mode 100644
index 000000000..599f7647a
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-ExtraBold.woff differ
diff --git a/share/static/css/fonts/inter/Inter-ExtraBold.woff2 b/share/static/css/fonts/inter/Inter-ExtraBold.woff2
new file mode 100644
index 000000000..bce4f98cd
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-ExtraBold.woff2 differ
diff --git a/share/static/css/fonts/inter/Inter-ExtraBoldItalic.woff b/share/static/css/fonts/inter/Inter-ExtraBoldItalic.woff
new file mode 100644
index 000000000..94c914dd3
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-ExtraBoldItalic.woff differ
diff --git a/share/static/css/fonts/inter/Inter-ExtraBoldItalic.woff2 b/share/static/css/fonts/inter/Inter-ExtraBoldItalic.woff2
new file mode 100644
index 000000000..179d1e789
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-ExtraBoldItalic.woff2 differ
diff --git a/share/static/css/fonts/inter/Inter-ExtraLight-BETA.woff b/share/static/css/fonts/inter/Inter-ExtraLight-BETA.woff
new file mode 100644
index 000000000..c6de8d940
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-ExtraLight-BETA.woff differ
diff --git a/share/static/css/fonts/inter/Inter-ExtraLight-BETA.woff2 b/share/static/css/fonts/inter/Inter-ExtraLight-BETA.woff2
new file mode 100644
index 000000000..14c5c8f41
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-ExtraLight-BETA.woff2 differ
diff --git a/share/static/css/fonts/inter/Inter-ExtraLightItalic-BETA.woff b/share/static/css/fonts/inter/Inter-ExtraLightItalic-BETA.woff
new file mode 100644
index 000000000..872f8f2bb
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-ExtraLightItalic-BETA.woff differ
diff --git a/share/static/css/fonts/inter/Inter-ExtraLightItalic-BETA.woff2 b/share/static/css/fonts/inter/Inter-ExtraLightItalic-BETA.woff2
new file mode 100644
index 000000000..fb8acd53e
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-ExtraLightItalic-BETA.woff2 differ
diff --git a/share/static/css/fonts/inter/Inter-Italic.woff b/share/static/css/fonts/inter/Inter-Italic.woff
new file mode 100644
index 000000000..79f29b20b
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-Italic.woff differ
diff --git a/share/static/css/fonts/inter/Inter-Italic.woff2 b/share/static/css/fonts/inter/Inter-Italic.woff2
new file mode 100644
index 000000000..68335ba31
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-Italic.woff2 differ
diff --git a/share/static/css/fonts/inter/Inter-Light-BETA.woff b/share/static/css/fonts/inter/Inter-Light-BETA.woff
new file mode 100644
index 000000000..d1dcb9b5c
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-Light-BETA.woff differ
diff --git a/share/static/css/fonts/inter/Inter-Light-BETA.woff2 b/share/static/css/fonts/inter/Inter-Light-BETA.woff2
new file mode 100644
index 000000000..3aa0c661a
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-Light-BETA.woff2 differ
diff --git a/share/static/css/fonts/inter/Inter-LightItalic-BETA.woff b/share/static/css/fonts/inter/Inter-LightItalic-BETA.woff
new file mode 100644
index 000000000..45676f1ac
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-LightItalic-BETA.woff differ
diff --git a/share/static/css/fonts/inter/Inter-LightItalic-BETA.woff2 b/share/static/css/fonts/inter/Inter-LightItalic-BETA.woff2
new file mode 100644
index 000000000..38b2426fc
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-LightItalic-BETA.woff2 differ
diff --git a/share/static/css/fonts/inter/Inter-Medium.woff b/share/static/css/fonts/inter/Inter-Medium.woff
new file mode 100644
index 000000000..e9b07fffa
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-Medium.woff differ
diff --git a/share/static/css/fonts/inter/Inter-Medium.woff2 b/share/static/css/fonts/inter/Inter-Medium.woff2
new file mode 100644
index 000000000..ea73a27fe
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-Medium.woff2 differ
diff --git a/share/static/css/fonts/inter/Inter-MediumItalic.woff b/share/static/css/fonts/inter/Inter-MediumItalic.woff
new file mode 100644
index 000000000..d58658cbb
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-MediumItalic.woff differ
diff --git a/share/static/css/fonts/inter/Inter-MediumItalic.woff2 b/share/static/css/fonts/inter/Inter-MediumItalic.woff2
new file mode 100644
index 000000000..7d7c9131e
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-MediumItalic.woff2 differ
diff --git a/share/static/css/fonts/inter/Inter-Regular.woff b/share/static/css/fonts/inter/Inter-Regular.woff
new file mode 100644
index 000000000..1d0b7ffa9
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-Regular.woff differ
diff --git a/share/static/css/fonts/inter/Inter-Regular.woff2 b/share/static/css/fonts/inter/Inter-Regular.woff2
new file mode 100644
index 000000000..41ba4fe6b
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-Regular.woff2 differ
diff --git a/share/static/css/fonts/inter/Inter-SemiBold.woff b/share/static/css/fonts/inter/Inter-SemiBold.woff
new file mode 100644
index 000000000..f096d1ab9
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-SemiBold.woff differ
diff --git a/share/static/css/fonts/inter/Inter-SemiBold.woff2 b/share/static/css/fonts/inter/Inter-SemiBold.woff2
new file mode 100644
index 000000000..199e7ad00
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-SemiBold.woff2 differ
diff --git a/share/static/css/fonts/inter/Inter-SemiBoldItalic.woff b/share/static/css/fonts/inter/Inter-SemiBoldItalic.woff
new file mode 100644
index 000000000..9e695e63d
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-SemiBoldItalic.woff differ
diff --git a/share/static/css/fonts/inter/Inter-SemiBoldItalic.woff2 b/share/static/css/fonts/inter/Inter-SemiBoldItalic.woff2
new file mode 100644
index 000000000..406b9ad2e
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-SemiBoldItalic.woff2 differ
diff --git a/share/static/css/fonts/inter/Inter-Thin-BETA.woff b/share/static/css/fonts/inter/Inter-Thin-BETA.woff
new file mode 100644
index 000000000..33e5cf081
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-Thin-BETA.woff differ
diff --git a/share/static/css/fonts/inter/Inter-Thin-BETA.woff2 b/share/static/css/fonts/inter/Inter-Thin-BETA.woff2
new file mode 100644
index 000000000..61d47725b
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-Thin-BETA.woff2 differ
diff --git a/share/static/css/fonts/inter/Inter-ThinItalic-BETA.woff b/share/static/css/fonts/inter/Inter-ThinItalic-BETA.woff
new file mode 100644
index 000000000..c2aecb1c2
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-ThinItalic-BETA.woff differ
diff --git a/share/static/css/fonts/inter/Inter-ThinItalic-BETA.woff2 b/share/static/css/fonts/inter/Inter-ThinItalic-BETA.woff2
new file mode 100644
index 000000000..eafa2dc1e
Binary files /dev/null and b/share/static/css/fonts/inter/Inter-ThinItalic-BETA.woff2 differ
diff --git a/share/static/css/fonts/inter/LICENSE.txt b/share/static/css/fonts/inter/LICENSE.txt
new file mode 100644
index 000000000..39830805d
--- /dev/null
+++ b/share/static/css/fonts/inter/LICENSE.txt
@@ -0,0 +1,92 @@
+Copyright (c) 2016-2018 The Inter Project Authors (me at rsms.me)
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION AND CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/share/static/css/fonts/inter/inter.css b/share/static/css/fonts/inter/inter.css
new file mode 100644
index 000000000..dc7645793
--- /dev/null
+++ b/share/static/css/fonts/inter/inter.css
@@ -0,0 +1,179 @@
+ at font-face {
+  font-family: 'Inter';
+  font-style:  normal;
+  font-weight: 100;
+  src: url("Inter-Thin-BETA.woff2") format("woff2"),
+       url("Inter-Thin-BETA.woff") format("woff");
+}
+ at font-face {
+  font-family: 'Inter';
+  font-style:  italic;
+  font-weight: 100;
+  src: url("Inter-ThinItalic-BETA.woff2") format("woff2"),
+       url("Inter-ThinItalic-BETA.woff") format("woff");
+}
+
+ at font-face {
+  font-family: 'Inter';
+  font-style:  normal;
+  font-weight: 200;
+  src: url("Inter-ExtraLight-BETA.woff2") format("woff2"),
+       url("Inter-ExtraLight-BETA.woff") format("woff");
+}
+ at font-face {
+  font-family: 'Inter';
+  font-style:  italic;
+  font-weight: 200;
+  src: url("Inter-ExtraLightItalic-BETA.woff2") format("woff2"),
+       url("Inter-ExtraLightItalic-BETA.woff") format("woff");
+}
+
+ at font-face {
+  font-family: 'Inter';
+  font-style:  normal;
+  font-weight: 300;
+  src: url("Inter-Light-BETA.woff2") format("woff2"),
+       url("Inter-Light-BETA.woff") format("woff");
+}
+ at font-face {
+  font-family: 'Inter';
+  font-style:  italic;
+  font-weight: 300;
+  src: url("Inter-LightItalic-BETA.woff2") format("woff2"),
+       url("Inter-LightItalic-BETA.woff") format("woff");
+}
+
+ at font-face {
+  font-family: 'Inter';
+  font-style:  normal;
+  font-weight: 400;
+  src: url("Inter-Regular.woff2") format("woff2"),
+       url("Inter-Regular.woff") format("woff");
+}
+ at font-face {
+  font-family: 'Inter';
+  font-style:  italic;
+  font-weight: 400;
+  src: url("Inter-Italic.woff2") format("woff2"),
+       url("Inter-Italic.woff") format("woff");
+}
+
+ at font-face {
+  font-family: 'Inter';
+  font-style:  normal;
+  font-weight: 500;
+  src: url("Inter-Medium.woff2") format("woff2"),
+       url("Inter-Medium.woff") format("woff");
+}
+ at font-face {
+  font-family: 'Inter';
+  font-style:  italic;
+  font-weight: 500;
+  src: url("Inter-MediumItalic.woff2") format("woff2"),
+       url("Inter-MediumItalic.woff") format("woff");
+}
+
+ at font-face {
+  font-family: 'Inter';
+  font-style:  normal;
+  font-weight: 600;
+  src: url("Inter-SemiBold.woff2") format("woff2"),
+       url("Inter-SemiBold.woff") format("woff");
+}
+ at font-face {
+  font-family: 'Inter';
+  font-style:  italic;
+  font-weight: 600;
+  src: url("Inter-SemiBoldItalic.woff2") format("woff2"),
+       url("Inter-SemiBoldItalic.woff") format("woff");
+}
+
+ at font-face {
+  font-family: 'Inter';
+  font-style:  normal;
+  font-weight: 700;
+  src: url("Inter-Bold.woff2") format("woff2"),
+       url("Inter-Bold.woff") format("woff");
+}
+ at font-face {
+  font-family: 'Inter';
+  font-style:  italic;
+  font-weight: 700;
+  src: url("Inter-BoldItalic.woff2") format("woff2"),
+       url("Inter-BoldItalic.woff") format("woff");
+}
+
+ at font-face {
+  font-family: 'Inter';
+  font-style:  normal;
+  font-weight: 800;
+  src: url("Inter-ExtraBold.woff2") format("woff2"),
+       url("Inter-ExtraBold.woff") format("woff");
+}
+ at font-face {
+  font-family: 'Inter';
+  font-style:  italic;
+  font-weight: 800;
+  src: url("Inter-ExtraBoldItalic.woff2") format("woff2"),
+       url("Inter-ExtraBoldItalic.woff") format("woff");
+}
+
+ at font-face {
+  font-family: 'Inter';
+  font-style:  normal;
+  font-weight: 900;
+  src: url("Inter-Black.woff2") format("woff2"),
+       url("Inter-Black.woff") format("woff");
+}
+ at font-face {
+  font-family: 'Inter';
+  font-style:  italic;
+  font-weight: 900;
+  src: url("Inter-BlackItalic.woff2") format("woff2"),
+       url("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("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("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("Inter.var.woff2") format("woff2");
+}

commit 9a3818b0645a7a828505c78f28b79524bedee70a
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue May 21 00:01:50 2019 +0800

    Use Inter font for elevator themes

diff --git a/share/static/css/elevator-light/layout.css b/share/static/css/elevator-light/layout.css
index 6e99b2a24..1df370d0b 100644
--- a/share/static/css/elevator-light/layout.css
+++ b/share/static/css/elevator-light/layout.css
@@ -3,7 +3,7 @@
 body {
     padding: 0;
     margin: 0;
-    font-family: arial, helvetica, sans-serif;
+    font-family: 'Inter', arial, helvetica, sans-serif;
     color: #000000;
 }
 
diff --git a/share/static/css/elevator-light/main.css b/share/static/css/elevator-light/main.css
index 9f1f77b45..9a078c50e 100644
--- a/share/static/css/elevator-light/main.css
+++ b/share/static/css/elevator-light/main.css
@@ -1,4 +1,5 @@
 @import "../base-responsive/main.css";
+ at import "../fonts/inter/inter.css";
 
 @import "bootstrap.css";
 @import "bootstrap-select.css";

-----------------------------------------------------------------------


More information about the rt-commit mailing list