118 Commits

Author SHA1 Message Date
welpo
b3dc5396b4
feat: add dual image support for switching themes 2023-02-25 22:28:43 +01:00
Óscar
586b5617b2
Merge pull request #39 from welpo/feature/default-theme-switcher
Change default theme to OS default; listen to OS default theme changes and switch accordingly (as long as there's no user preference set)
2023-02-17 13:47:59 +01:00
welpo
9a1f5db45c
feat: listen for changes on OS theme to switch accordingly
As long as the visitor has not changed the default theme, the site will
change between dark and light themes matching the OS setting.
2023-02-16 21:23:48 +01:00
serginogal
2f80b0b5ad feat: clean js code 2023-02-16 22:19:58 +09:00
welpo
bd8dd87cd5
feat: add dimmable-image shortcode for dark theme
Reduces contrast and brightness of images when the dark theme is active.
Useful when invertable-image is not appropriate (photographs, paintings,
colour drawings…)
2023-02-16 00:22:31 +01:00
welpo
af80aef00c
feat: change default theme to OS default
Update the theme switcher code to set the default theme to the OS
default, rather than the "light" theme. This provides a more seamless
user experience for users whose OS is set to a dark mode. The current
theme setting in local storage will still be respected if present. This
change was made to improve the accessibility and usability.

Fixes #38
2023-02-15 20:36:26 +01:00
welpo
84b4469b07
️ improvement: switch from webp to svg icons
Saves a bit of space :)
2023-02-14 23:21:32 +01:00
welpo
bd0dbaab1a
️ improvement: use webp instead of png 2023-02-11 21:38:40 +01:00
welpo
7a69759112
🍱 improvement: use webp instead of png 2023-02-11 21:35:22 +01:00
welpo
d412eae7df
💄 style: set Cascadia Code as code font
Modifies the markdown file to showcase the font's ligatures.
2023-02-11 19:31:53 +01:00
welpo
ce2cf4d056
💄 style: use serif font in body
Also increases the size of the subheader in main page (cards), and
reduces the font weight of links.
2023-02-11 19:20:56 +01:00
welpo
2f4695dd0b
feat: showcase invertable image 2023-02-10 13:33:14 +01:00
welpo
6783ff6e49
🚚 style: move main image to static path 2023-02-10 02:53:55 +01:00
welpo
722d493a9a
💄 style: default light mode 2023-02-10 02:15:05 +01:00
welpo
339f818cfb 🐛 fix: remove duplicate social images; allow relative paths in socials
- Remove duplicate files in social_icons folder
- Allow relative paths in socials section (footer)
- Add more socials in default config
2023-02-04 12:56:55 +01:00
welpo
ec51960eeb Remove .DS_Store 2023-02-02 22:50:09 +01:00
welpo
57ea76111e Improve inline code blocks contrast & remove border
Also removes .DS_Store from static/
2023-02-02 21:54:57 +01:00
welpo
0b117d1641 first commit 2023-02-02 15:53:54 +01:00