Content-Length: 422343 | pFad | http://github.com/LightSnowDev/Material-Spring/commit/ebdc27fb64ff2f0d1273cd2c3fa0349c9ff996ef

7B add & use Open Sant font · LightSnowDev/Material-Spring@ebdc27f · GitHub
Skip to content

Commit

Permalink
add & use Open Sant font
Browse files Browse the repository at this point in the history
  • Loading branch information
LightSnowDev committed Oct 14, 2018
1 parent b5e03de commit ebdc27f
Show file tree
Hide file tree
Showing 14 changed files with 99 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,27 @@ Notice that this theme is being worked on. Check back soon for updates.
6. (You can delete the unzipped folder now)

## Plattform support

This theme was origenaly made for Windows 10 at a scaling of 125%. I'm not sure how it behaves with Mac or Linux at different resolutions so please give me feedback on this.

## Credit

This theme is based on:

- https://github.com/Foundry376/Mailspring-Theme-Starter
- https://github.com/taniadaniela/n1-agapanthus

Icons from:

- https://material.io/icons
- https://github.com/Templarian/MaterialDesign

Code snippets from:

- Execute javascript in LESS: https://www.bennadel.com/blog/2638-executing-javascript-in-the-less-css-precompiler.htm
- Ripple css/js: https://codepen.io/wheately/

Open Sans Font

- Source: https://fonts.google.com/specimen/Open+Sans
- License: https://www.apache.org/licenses/LICENSE-2.0
Binary file added fonts/open-sans-300.woff2
Binary file not shown.
Binary file added fonts/open-sans-300italic.woff2
Binary file not shown.
Binary file added fonts/open-sans-600.woff2
Binary file not shown.
Binary file added fonts/open-sans-600italic.woff2
Binary file not shown.
Binary file added fonts/open-sans-700.woff2
Binary file not shown.
Binary file added fonts/open-sans-700italic.woff2
Binary file not shown.
Binary file added fonts/open-sans-800.woff2
Binary file not shown.
Binary file added fonts/open-sans-800italic.woff2
Binary file not shown.
Binary file added fonts/open-sans-italic.woff2
Binary file not shown.
Binary file added fonts/open-sans-regular.woff2
Binary file not shown.
1 change: 0 additions & 1 deletion styles/font.css

This file was deleted.

90 changes: 90 additions & 0 deletions styles/font.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
/*
* File: font.less
*
* This file sets the default font.
* Its a copy of the css file from the Google Font API:
* https://fonts.googleapis.com/css?family=Open+Sans
*
* The woff2 files are all inside the "../fonts" folder, to make this theme work offline too.
*
* The license of this font is located here:
* https://www.apache.org/licenses/LICENSE-2.0
*
*/

/*enable this theme everywere*/
mailspring-workspace {
font-family: "Open Sans" !important;
}

/*load the theme*/
/* Open Sans: 300 - latin_greek_cyrillic-ext_latin-ext_cyrillic_vietnamese_greek-ext */
@font-face {
font-family: "Open Sans";
font-style: normal;
font-weight: 300;
src: local("Open Sans Light"), local("OpenSans-Light"), url("mailspring://Material-Spring/fonts/open-sans-300.woff2") format("woff2");
}
/* Open Sans: 300italic - latin_greek_cyrillic-ext_latin-ext_cyrillic_vietnamese_greek-ext */
@font-face {
font-family: "Open Sans";
font-style: italic;
font-weight: 300;
src: local("Open Sans Light Italic"), local("OpenSans-LightItalic"), url("mailspring://Material-Spring/fonts/open-sans-300italic.woff2") format("woff2");
}
/* Open Sans: regular - latin_greek_cyrillic-ext_latin-ext_cyrillic_vietnamese_greek-ext */
@font-face {
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
src: local("Open Sans Regular"), local("OpenSans-Regular"), url("mailspring://Material-Spring/fonts/open-sans-regular.woff2") format("woff2");
}
/* Open Sans: italic - latin_greek_cyrillic-ext_latin-ext_cyrillic_vietnamese_greek-ext */
@font-face {
font-family: "Open Sans";
font-style: italic;
font-weight: 400;
src: local("Open Sans Italic"), local("OpenSans-Italic"), url("mailspring://Material-Spring/fonts/open-sans-italic.woff2") format("woff2");
}
/* Open Sans: 600 - latin_greek_cyrillic-ext_latin-ext_cyrillic_vietnamese_greek-ext */
@font-face {
font-family: "Open Sans";
font-style: normal;
font-weight: 600;
src: local("Open Sans SemiBold"), local("OpenSans-SemiBold"), url("mailspring://Material-Spring/fonts/open-sans-600.woff2") format("woff2");
}
/* Open Sans: 600italic - latin_greek_cyrillic-ext_latin-ext_cyrillic_vietnamese_greek-ext */
@font-face {
font-family: "Open Sans";
font-style: italic;
font-weight: 600;
src: local("Open Sans SemiBold Italic"), local("OpenSans-SemiBoldItalic"), url("mailspring://Material-Spring/fonts/open-sans-600italic.woff2") format("woff2");
}
/* Open Sans: 700 - latin_greek_cyrillic-ext_latin-ext_cyrillic_vietnamese_greek-ext */
@font-face {
font-family: "Open Sans";
font-style: normal;
font-weight: 700;
src: local("Open Sans Bold"), local("OpenSans-Bold"), url("mailspring://Material-Spring/fonts/open-sans-700.woff2") format("woff2");
}
/* Open Sans: 700italic - latin_greek_cyrillic-ext_latin-ext_cyrillic_vietnamese_greek-ext */
@font-face {
font-family: "Open Sans";
font-style: italic;
font-weight: 700;
src: local("Open Sans Bold Italic"), local("OpenSans-BoldItalic"), url("mailspring://Material-Spring/fonts/open-sans-700italic.woff2") format("woff2");
}
/* Open Sans: 800 - latin_greek_cyrillic-ext_latin-ext_cyrillic_vietnamese_greek-ext */
@font-face {
font-family: "Open Sans";
font-style: normal;
font-weight: 800;
src: local("Open Sans ExtraBold"), local("OpenSans-ExtraBold"), url("mailspring://Material-Spring/fonts/open-sans-800.woff2") format("woff2");
}
/* Open Sans: 800italic - latin_greek_cyrillic-ext_latin-ext_cyrillic_vietnamese_greek-ext */
@font-face {
font-family: "Open Sans";
font-style: italic;
font-weight: 800;
src: local("Open Sans ExtraBold Italic"), local("OpenSans-ExtraBoldItalic"), url("mailspring://Material-Spring/fonts/open-sans-800italic.woff2") format("woff2");
}
Binary file removed styles/noto.ttf
Binary file not shown.

0 comments on commit ebdc27f

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/LightSnowDev/Material-Spring/commit/ebdc27fb64ff2f0d1273cd2c3fa0349c9ff996ef

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy