1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 09:18:28 -04:00

18 Commits

Author SHA1 Message Date
5123b8831a
organize config.toml params, and stop treating frontmattered CSS as SCSS unnecessarily -- it appears to cause some weird race condition with temporary files every once in a while...? not the intended use anyways though. 2020-07-12 19:51:19 -04:00
48eea4ce98
fix style regressions (code was never actually using Hack font I think..?)
and allow default theme (light or dark) to be set in Hugo config and reflected in both HTML & JS
2020-07-07 10:07:46 -04:00
426e7d91f1
clean up styles & extend old browser support via autoprefixer/eslint 🧓🏻
and stop encoding emojis like a caveman
2020-07-04 19:29:18 -04:00
323b3dd9f6
add Prettier to workflow 🎀 (#128)
* prettier init

* prettier ignore

* run on everything 😬

* add prettier check script

* update deps

* Update .prettierignore
2020-05-06 12:19:21 -04:00
9e1a053d39
clean up scripts 2020-05-04 21:25:07 -04:00
dead391723
send event to analytics on theme toggle 2020-04-30 09:42:00 -04:00
6854129108
update dark mode script and post 2020-04-29 23:20:07 -04:00
d9e69fcf75
improve dark-mode.js minificationability (it's a word i promise) 2020-04-28 22:33:46 -04:00
b3f8a90a46
const/let -> var in dark-mode.js for compatibility 2020-04-28 20:41:14 -04:00
a42e27e6e8
remove utteranc.es for now 2020-04-28 09:48:51 -04:00
c52a357e29
revert Access-Control-Allow-Origin: * header 2020-04-26 23:43:10 -04:00
374a822ad4
wrap dark mode stuff in an anonymous function like a big boy coder 2020-04-26 19:00:46 -04:00
c3f46dd9db
*actually* fix utteranc.es dark/light theme-ing 2020-04-26 15:07:35 -04:00
c986676379
dynamically switch between utteranc.es's light/dark themes (#118) 2020-04-26 10:49:45 -04:00
3200509ffd
IE11 compat fixes 🙄 (closes #94) 2020-04-26 09:48:12 -04:00
d2648a68be
fix some dark mode logic glitches & random clean up 2020-04-24 18:03:33 -04:00
7de9d10792
update deps 2020-04-21 11:51:39 -04:00
b13da8e05b
dark mode 😎 (#112)
* prepare dark mode stuffs

* themed all global colors

* store preference in local storage

* toggle styling

* lightbulb position

* minify bundled script with uglify-js instead of hugo

* detect whether user has an OS-wide dark mode preference and use that by default

* two different colors for each homepage link

* inline bulb SVGs into stylesheet

* fingerprint and cache styles for a year

* fix lightbulb positioning with weird magic numbers, will come back to that

* themed syntax highlighting

* use terser instead of uglify-js (b/c of ES6)
2020-04-20 15:04:30 -04:00