~xdavidwu/xdavidwu.link

d3fcf56b60779f16dabc8a43288bf0304e80ebdb — xdavidwu 9 months ago 8d7e396
font: use system, dim colors

let's respect users' choice, and emulate the original light touch by
color. this removes the major source of current loaded assets size.
those don't have proper cjk font probably cannot read chinese anyway.
M _sass/minimal-mistakes/_base.scss => _sass/minimal-mistakes/_base.scss +1 -1
@@ 13,7 13,7 @@ body {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  font-family: $sans-serif;
  font-family: sans-serif;

  &.overflow--hidden {
    /* when primary navigation is visible, the content in the background won't scroll */

M _sass/minimal-mistakes/_variables.scss => _sass/minimal-mistakes/_variables.scss +0 -5
@@ 6,17 6,12 @@
   Typography
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300&display=swap');

$doc-font-size: 16 !default;

/* paragraph indention */
$paragraph-indent: false !default; // true, false (default)
$indent-var: 1em !default;

/* system typefaces */
$sans-serif: 'Noto Sans TC', sans-serif !default;

/* type scale */
$type-size-1: 2.441em !default; // ~39.056px
$type-size-2: 1.953em !default; // ~31.248px

M _sass/minimal-mistakes/skins/_custom-light.scss => _sass/minimal-mistakes/skins/_custom-light.scss +1 -1
@@ 4,7 4,7 @@

/* Colors */
$background-color: #eeeeee;
$text-color: #222831;
$text-color: #555;
$muted-text-color: #393e46;
$primary-color: #00acc1;
$primary-color-raised: #26c6da;

M _sass/minimal-mistakes/skins/_custom.scss => _sass/minimal-mistakes/skins/_custom.scss +1 -1
@@ 4,7 4,7 @@

/* Colors */
$background-color: #181818;
$text-color: #fff6fb;
$text-color: #ddd;
$primary-color: #00acc1;
$primary-color-raised: #26c6da;
$primary-color-disabled: #00838f;