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

60 Commits

Author SHA1 Message Date
766362a9da
move light/dark class from <body> to <html> and inline restoration script to (hopefully) improve the white flashes 2021-12-15 13:49:56 -05:00
d119a98a0d
major refactoring of preact components 🧩 (#689) 2021-12-15 08:35:18 -05:00
8fe68b009b
more sensical twemoji-in-js w/ svgr 2021-12-11 08:47:13 -05:00
cf9a8f742a
clean up typography styles 2021-12-02 10:52:42 -05:00
6f6de426da
move dark mode code from module back to here for now 2021-12-01 14:43:22 -05:00
b755b66d19
use preact for common components across site (#663)
* convert GitHub cards grid from lit-html to preact

* give hit counter the preact treatment

* extract loading spinner component to a shared location

* move *some* loading spinner styles to its JSX

* Update .percy.yml

* pick up images in JS w/ webpack

* pull star/fork icons straight from @primer/octicons

* a bit of cleanup

* check `typeof window !== "undefined"` before rendering

* bump misc. deps

* silence missing license warnings for preact-hooks and preact-compat

* add source-map-loader

* Update loading.js
2021-11-24 13:51:29 -05:00
4f5feb47a5
style updates 2021-11-14 11:25:03 -05:00
178dd93ce5
a couple more typography fixes 2021-11-12 10:35:51 -05:00
3444e54db6
multi-axis variable fonts are such a mess... 2021-11-12 10:10:27 -05:00
0e609f0d7b
fix Inter italics on Chrome, and only declare latin and latin-ext unicode ranges 2021-11-12 08:44:23 -05:00
310da3ebea
thought of a MUCH more logical way to pass in additional CSS transitions 2021-11-01 14:08:37 -04:00
5911c0081e
a bit more SCSS cleanup 2021-11-01 11:43:12 -04:00
37add71ffb
completely overhaul SCSS theming logic 2021-11-01 10:23:24 -04:00
df3740ecf3
bump some deps & comply with stylelint 14.0.0 2021-10-22 10:37:02 -04:00
12db17b83c
majorly refactor SCSS and pray nothing breaks 2021-09-29 09:42:36 -04:00
7353f0b95e
add nice and soothing fade transition when dark/light mode is toggled 2021-09-22 12:27:59 -04:00
16bff324a2
clean up SCSS and correct some syntax 2021-08-17 12:50:05 -04:00
363b4edf1c
shift asset processing to webpack (#424)
also migrated SASS to latest syntax (via dart-sass) and vastly simplified light/dark theme logic
2021-06-19 17:19:01 -04:00
2e3be955c8
switch to modern-normalize.css and actually choose a consistent box-sizing preference (#406) 2021-05-22 10:31:05 -04:00
42355c76ec
normalize font sizes 2021-04-03 07:46:13 -04:00
d9deace16c
switch to a variable mono font (Roboto Mono) and subset all fonts more 2020-11-27 09:30:54 -05:00
69db7eadca
account for uppercase request headers if send_view is hit via HTTP 1.x 2020-10-09 11:23:53 -04:00
6138c422b9
update /stats and /privacy, bump Inter font to v3.14, long cache on /vendor 2020-08-18 10:27:59 -04:00
cdfbba108c
playing with variable fonts some more 2020-07-23 13:03:00 -04:00
f306452fe6
non-variable Inter font was still loading on Chrome 2020-07-22 16:54:22 -04:00
da1743cf2d
add variable Inter fonts
current faces/files kept as a fallback. also switched to Google-hosted fonts on AMP pages (might as well...)
2020-07-22 16:19:24 -04:00
a583a3a0e7
fix post titles not shrinking on mobile view, and clean up optimize-image partial 2020-07-14 20:29:49 -04:00
f5a38a71e9
remove some redundant styles now that normalize.css is imported 2020-07-14 10:51:38 -04:00
12b056f70b
stop using <section> improperly 2020-07-14 08:41:18 -04:00
d970c031a5
run initial SCSS refactoring through percy 2020-07-07 08:57:26 -04:00
aa3973f570
adjust letter-spacing of bold Inter text 2020-07-05 12:13:11 -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
f3198e0235
clean up a bunch of layouts, especially social-images function
also made even more config.toml parameters optional, will help when finally releasing theme
2020-06-25 10:35:59 -04:00
0a48ce296f
make twemoji cursor the same as unicode emojis when hovered
and clean up /uses
2020-06-24 19:35:37 -04:00
620903413a
improve dark mode readability a bit 2020-06-13 09:54:04 -04:00
a6cb95c0d7
clean up redirects/404s & other random housekeeping 2020-06-02 14:00:40 -04:00
3fe24f2216
re-visit light/dark theme colors (especially syntax highlighting) 2020-05-09 09:59:35 -04:00
705e800881
tidy up homepage font size/spacing 2020-05-07 09:41:14 -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
a42e27e6e8
remove utteranc.es for now 2020-04-28 09:48:51 -04:00
3200509ffd
IE11 compat fixes 🙄 (closes #94) 2020-04-26 09:48:12 -04:00
d2a9736c9e
uniform width on all pages 2020-04-24 10:12:13 -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
0ee3efdbbe
fix lighthouse suggestions: syntax color contrast & crossorigin preloads 2020-03-30 16:46:59 -04:00
b5e5af148e
some magic numbers to improve twemoji sizing/alignment 2020-03-30 00:53:54 -04:00
2156c6ed88
swap native emojis for Twemojis 🎉 (#92) 2020-03-29 15:30:12 -04:00
fa1161cd27
allow comments to be disabled on individual posts 2020-03-18 20:14:53 -04:00
91d293e390
underline <h2>s, solidify <hr>s 2020-03-12 16:42:41 -04:00
e629f00492
just some SASS cleanup 2020-01-28 00:11:22 -05:00
a8428da65c
Hack webfont for code -- https://github.com/source-foundry/Hack 2020-01-27 09:36:02 -05:00