~aasg/haunted-blog

3879a21d2b94755cd14850824e1cd16e9591fff7 — Aluísio Augusto Silva Gonçalves 1 year, 3 months ago 8be27e8
css: Sort out the site's color scheme
2 files changed, 18 insertions(+), 22 deletions(-)

M haunt.scm
M static/css/site.css
M haunt.scm => haunt.scm +0 -2
@@ 90,8 90,6 @@
      (title ,(string-append title " — " (site-title site)))
      (base (@ (href ".")))
      (link (@ (rel "stylesheet")
               (href "https://unpkg.com/@fraction/base16-css@1.1.0/src/base16-default-dark.css")))
      (link (@ (rel "stylesheet")
               (href "css/a11y.css")))
      (link (@ (rel "stylesheet")
               (href "css/classless.css")))

M static/css/site.css => static/css/site.css +18 -20
@@ 17,32 17,30 @@
}

:root {
  --text-primary: var(--base05);
  --text-secondary: var(--base04);
  --text-actionable: var(--base0D);
  --text-active: var(--base0C);
  --text-important: var(--base0B);
  --background: var(--base00);
  --background-active: var(--base01);
  --border: var(--base02);
  --border-active: var(--base03);
  --text-primary: #1e232a;
  --text-secondary: #333c48;
  --text-actionable: #012f62;
  --text-active: #013b7b;
  --text-important: #384000;
  --background: #d5d8dc;
  --background-active: #e3e5e8;
  --border: #012f62;
  --border-active: #013b7b;
}

/*
@media (prefers-color-scheme: dark) {
  :root {
    --text-primary: #424456;
    --text-secondary: #777;
    --text-actionable: #0065bd;
    --text-active: #00c5bd;
    --background: #fff;
    --background-highlighted: #f4f5f6;
    --border: #d1d1d1;
    --border-active: #3273dc;
    --mark: #007c30;
    --text-primary: #d5d8dc;
    --text-secondary: #b9bec5;
    --text-actionable: #7dafff;
    --text-active: #b0ceff;
    --text-important: #cbf259;
    --background: #1e232a;
    --background-active: #292f39;
    --border: #7dafff;
    --border-active: #b0ceff;
  }
}
*/

/*************************
 * Classless.css overrides