Skip to content

Commit

Permalink
Removed included fonts, Set to use system fonts.
Browse files Browse the repository at this point in the history
All font definitions moved into _text.scss.
Needs override documentation to complete.
Relates to #423.
  • Loading branch information
ssddanbrown committed Aug 19, 2017
1 parent 1942936 commit 666c86b
Show file tree
Hide file tree
Showing 32 changed files with 18 additions and 119 deletions.
Binary file removed public/fonts/roboto-mono-v4-latin-regular.woff
Binary file not shown.
Binary file removed public/fonts/roboto-mono-v4-latin-regular.woff2
Binary file not shown.
Binary file removed public/fonts/roboto-v15-cyrillic_latin-100.woff
Binary file not shown.
Binary file removed public/fonts/roboto-v15-cyrillic_latin-100.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed public/fonts/roboto-v15-cyrillic_latin-300.woff
Binary file not shown.
Binary file removed public/fonts/roboto-v15-cyrillic_latin-300.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed public/fonts/roboto-v15-cyrillic_latin-500.woff
Binary file not shown.
Binary file removed public/fonts/roboto-v15-cyrillic_latin-500.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed public/fonts/roboto-v15-cyrillic_latin-700.woff
Binary file not shown.
Binary file removed public/fonts/roboto-v15-cyrillic_latin-700.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed public/fonts/roboto-v15-cyrillic_latin-italic.woff
Binary file not shown.
Binary file removed public/fonts/roboto-v15-cyrillic_latin-italic.woff2
Binary file not shown.
Binary file removed public/fonts/roboto-v15-cyrillic_latin-regular.woff
Binary file not shown.
Binary file removed public/fonts/roboto-v15-cyrillic_latin-regular.woff2
Binary file not shown.
3 changes: 1 addition & 2 deletions resources/assets/sass/_blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@
.callout {
border-left: 3px solid #BBB;
background-color: #EEE;
padding: $-s;
padding-left: $-xl;
padding: $-s $-s $-s $-xl;
display: block;
position: relative;
&:before {
Expand Down
1 change: 0 additions & 1 deletion resources/assets/sass/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ $button-border-radius: 2px;
display: inline-block;
border: none;
font-weight: 500;
font-family: $text;
outline: 0;
border-radius: $button-border-radius;
cursor: pointer;
Expand Down
2 changes: 0 additions & 2 deletions resources/assets/sass/_codemirror.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

.CodeMirror {
/* Set height, width, borders, and global font properties here */
font-family: monospace;
height: 300px;
color: black;
}
Expand Down Expand Up @@ -235,7 +234,6 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
-moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
border-width: 0;
background: transparent;
font-family: inherit;
font-size: inherit;
margin: 0;
white-space: pre;
Expand Down
102 changes: 0 additions & 102 deletions resources/assets/sass/_fonts.scss

This file was deleted.

3 changes: 0 additions & 3 deletions resources/assets/sass/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
border: 1px solid #CCC;
display: inline-block;
font-size: $fs-s;
font-family: $text;
padding: $-xs;
color: #222;
width: 250px;
Expand Down Expand Up @@ -33,7 +32,6 @@
position: relative;
z-index: 5;
#markdown-editor-input {
font-family: 'Roboto Mono', monospace;
font-style: normal;
font-weight: 400;
padding: $-xs $-m;
Expand Down Expand Up @@ -69,7 +67,6 @@
.editor-toolbar {
width: 100%;
padding: $-xs $-m;
font-family: 'Roboto Mono', monospace;
font-size: 11px;
line-height: 1.6;
border-bottom: 1px solid #DDD;
Expand Down
1 change: 0 additions & 1 deletion resources/assets/sass/_html.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ html {
}

body {
font-family: $text;
font-size: $fs-m;
line-height: 1.6;
color: #616161;
Expand Down
14 changes: 11 additions & 3 deletions resources/assets/sass/_text.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/**
* Fonts
*/

body, button, input, select, label {
font-family: $text;
}
.Codemirror, pre, #markdown-editor-input, .editor-toolbar, .code-base {
font-family: $mono;
}

/*
* Header Styles
*/
Expand Down Expand Up @@ -58,7 +69,6 @@ a, .link {
cursor: pointer;
text-decoration: none;
transition: color ease-in-out 80ms;
font-family: $text;
line-height: 1.6;
&:hover {
text-decoration: underline;
Expand Down Expand Up @@ -131,7 +141,6 @@ sub, .subscript {
}

pre {
font-family: monospace;
font-size: 12px;
background-color: #f5f5f5;
border: 1px solid #DDD;
Expand Down Expand Up @@ -180,7 +189,6 @@ blockquote {

.code-base {
background-color: #F8F8F8;
font-family: monospace;
font-size: 0.80em;
border: 1px solid #DDD;
border-radius: 3px;
Expand Down
8 changes: 6 additions & 2 deletions resources/assets/sass/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@ $-xs: 6px;
$-xxs: 3px;

// Fonts
$heading: 'Roboto', 'DejaVu Sans', Helvetica, Arial, sans-serif;
$text: 'Roboto', 'DejaVu Sans', Helvetica, Arial, sans-serif;
$text: -apple-system, BlinkMacSystemFont,
"Segoe UI", "Oxygen", "Ubuntu", "Roboto", "Cantarell",
"Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
$mono: "Lucida Console", "DejaVu Sans Mono", "Ubunto Mono", Monaco, monospace;
$heading: $text;
$fs-m: 15px;
$fs-s: 14px;

Expand Down
1 change: 0 additions & 1 deletion resources/assets/sass/export-styles.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
//@import "reset";
@import "variables";
@import "mixins";
@import "html";
Expand Down
2 changes: 0 additions & 2 deletions resources/assets/sass/styles.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@import "reset";
@import "variables";
@import "fonts";
@import "mixins";
@import "html";
@import "text";
Expand All @@ -23,7 +22,6 @@
animation-name: none !important;
}


[ng\:cloak], [ng-cloak], .ng-cloak {
display: none !important;
user-select: none;
Expand Down

0 comments on commit 666c86b

Please sign in to comment.