_includes/styles/variables.scss in jekyll-theme-hydejack-9.0.2 vs _includes/styles/variables.scss in jekyll-theme-hydejack-9.0.3
- old
+ new
@@ -11,20 +11,22 @@
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
-/*{% assign vars = site.data.variables %}*/
+// {% assign vars = site.data.variables %}
+// {% assign ui_font = 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif' %}
+// {% assign ui_font_code = 'ui-monospace, monospace' %}
-$font-family: {{ vars.font | default:site.font }};
-$font-family-heading: {{ vars.font_heading | default:site.font_heading }};
-$code-font-family: {{ vars.font_code | default:site.font_code }};
-$theme-color: {{ vars.theme_color | default:site.theme_color | default:'rgb(8,46,57)' }};
+$font-family: {{ vars.font | default:site.font | default:ui_font }};
+$font-family-heading: {{ vars.font_heading | default:site.font_heading | default:ui_font }};
+$code-font-family: {{ vars.font_code | default:site.font_code | default:ui_font_code }};
+$theme-color: {{ vars.theme_color | default:site.theme_color | default:'rgb(8,46,57)' }};
$root-font-size: {{ vars.root_font_size | default:15 }}px;
$root-font-size-medium: {{ vars.root_font_size_medium | default:16 }}px;
$root-font-size-large: {{ vars.root_font_size_large | default:17 }}px;
-$root-font-size-print: {{ vars.root_font_size_print | default:9 }}pt;
+$root-font-size-print: {{ vars.root_font_size_print | default:8 }}pt;
$root-line-height: {{ vars.root_line_height | default:1.75 }};
$font-weight: {{ vars.font_weight | default:400 }};
$font-weight-bold: {{ vars.font_weight_bold | default:700 }};
$font-weight-heading: {{ vars.font_weight_heading | default:700 }};