[refactor] pulling the general font-family to a SCSS variable

This commit is contained in:
Steven Evans 2018-07-16 11:54:35 -04:00
parent df881791d3
commit ec0a2f1903
3 changed files with 7 additions and 2 deletions

1
css/_theme.scss Normal file

@ -0,0 +1 @@
$fontFamily: 'Lucida Console', 'Lucida Sans Unicode', 'Fira Mono', 'Consolas', 'Courier New', Courier, monospace, 'Times New Roman';

@ -1,4 +1,6 @@
@import "mixins";
@import "theme";
/* CSS for different main menu pages, such as character info, script editor, etc (but excluding
terminal which has its own page) */
@ -33,7 +35,7 @@
border: 2px solid var(--my-highlight-color);
z-index: 1;
font-family: 'Lucida Console', 'Lucida Sans Unicode', 'Fira Mono', 'Consolas', 'Courier New', Courier, monospace, 'Times New Roman';
font-family: $fontFamily;
}
.ace_line,

@ -1,4 +1,6 @@
@import "mixins";
@import "theme";
:root{
--my-font-color: #6f3;
--my-background-color: #000;
@ -9,7 +11,7 @@
margin: 0;
padding: 0;
font-size: 16px;
font-family: 'Lucida Console', 'Lucida Sans Unicode', 'Fira Mono', 'Consolas', 'Courier New', Courier, monospace, 'Times New Roman';
font-family: $fontFamily;
}
body {