welpo
799b31d403
✏️ fix: minor typo
2023-02-18 03:24:58 +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
e61e7970f2
💄 style: slight redesign of quote blocks
...
Uses theme's colours.
2023-02-17 00:34:31 +01:00
welpo
6afcd2fbbb
📱 improvement: responsive inline code font size
2023-02-17 00:10:44 +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
505eb2cb72
⚡ ️ improvement: try to load local fonts first
2023-02-16 01:04:26 +01:00
Óscar
40c12a8ed0
Merge pull request #40 from welpo/feature/dimmable-image-shortcode
...
✨ feat: add dimmable-image shortcode for dark theme
2023-02-16 00:25:36 +01:00
welpo
174a37e221
✨ feat: add dimmable-image shortcode for dark theme
2023-02-16 00:25:17 +01: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
Óscar
26ad170d9f
✨ feat: change default theme to OS setting
2023-02-15 20:50:21 +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
2f4d0658d8
🐛 fix: rename sun icon reference
2023-02-15 01:33:43 +01:00
welpo
84b4469b07
⚡ ️ improvement: switch from webp to svg icons
...
Saves a bit of space :)
2023-02-14 23:21:32 +01:00
Óscar
8132810928
Merge pull request #37 from welpo/style/colorscheme
...
💄 style: change colourscheme. improve cohesion and accesibility
2023-02-13 02:57:59 +01:00
welpo
0e4d274de9
💄 style: revert background back to pure white
2023-02-13 02:57:15 +01:00
welpo
b7da11222e
💄 style: change colourscheme. improve cohesion and accesibility
2023-02-13 02:53:11 +01:00
welpo
2b861ea940
📝 style: mention all table colours change, not just header
2023-02-12 12:59:38 +01:00
welpo
c6e5de7dee
⚡ ️ improvement: use webp instead of png
2023-02-11 21:48:47 +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
f555d34207
🐛 fix: set main image path relative to base_url
2023-02-11 21:09:18 +01:00
welpo
ebfc1f0001
🔥 refactor: remove useless code
...
An image border was set in _image.scss and unset in main.scss.
2023-02-11 21:03:02 +01:00
Óscar
b4cc05e625
Merge pull request #31 from welpo/style/tables
...
💄 style: center tables; colour headers; round borders
2023-02-11 20:57:13 +01:00
welpo
394479d777
📝 style: showcase tables & invertable images
2023-02-11 20:55:27 +01:00
welpo
5b45351970
💄 style: center tables; colour headers; round borders
2023-02-11 20:49:03 +01:00
welpo
2732f494cf
🐛 fix: override font-size for home subtitle <p>
2023-02-11 19:55:29 +01:00
Óscar
1845649613
✏️ fix: set remote Zola url
2023-02-11 19:52:31 +01:00
Óscar
f68a371ffe
Merge pull request #30 from welpo/style/Cascadia-Code-font
...
💄 style: set Cascadia Code as code font
2023-02-11 19:50:06 +01:00
welpo
f2cd044096
💄 style: set tab to 4 spaces; remove newlines
2023-02-11 19:49:09 +01:00
welpo
9db00d1f9d
💄 style: use Cascadia Code as code font
2023-02-11 19:47:42 +01:00
welpo
f6cd7d3cf2
🍱 docs: change the codeblock example
2023-02-11 19:38:59 +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
Óscar
e387f792c3
Merge pull request #29 from welpo/style/serif-body
...
💄 style: use serif font in body
2023-02-11 19:28:57 +01:00
welpo
c65eea156c
✏️ fix: use serif as fallback
2023-02-11 19:26:14 +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
9f412205b3
💄 style: move quote author to quote block
2023-02-11 15:41:54 +01:00
Óscar
7cc887d654
Merge pull request #28 from welpo/style/smooth-img-invert
...
💄 style: don't fully invert images in dark theme
2023-02-11 01:04:48 +01:00
welpo
f443693cfe
💄 style: don't fully invert images in dark theme
...
It washes out the contrast a bit, but a pure white background on a
picture, which matches the background of the light theme, will now
perfectly match the dark theme background.
2023-02-11 01:00:47 +01:00
Óscar
0bae0515ec
✨ feat: showcase invertable image
2023-02-10 13:41:07 +01:00
Óscar
e1159f7b79
Merge pull request #27 from welpo/feat/invertable-image-example
...
✨ feat: showcase invertable image
2023-02-10 13:34:07 +01:00
welpo
2f4695dd0b
✨ feat: showcase invertable image
2023-02-10 13:33:14 +01:00
Óscar
723b3b6139
💄 style: default light mode
2023-02-10 13:29:58 +01:00
Óscar
3ee94b4ed7
Merge pull request #26 from welpo/feature/relative-image-paths
...
✨ feat: allow relative paths in images
2023-02-10 13:27:35 +01:00
welpo
9de7a7a02d
✨ feat: allow realtive paths in images
...
Useful when hosting on a subdirectory. Replaces $BASE_URL by the
base_url set in config.toml.
2023-02-10 13:25:55 +01:00
Óscar
4bb7435eab
Merge pull request #25 from welpo/style/img-source
...
🚚 style: move main image to static path
2023-02-10 02:54:51 +01:00
welpo
6783ff6e49
🚚 style: move main image to static path
2023-02-10 02:53:55 +01:00
Óscar
1c27ef4c4e
Merge pull request #24 from welpo/style/no-image-border
...
Style/no image border
2023-02-10 02:42:45 +01:00
welpo
2b8a053f51
💄 style: remove border from images
2023-02-10 02:41:47 +01:00
welpo
389c724fe0
✨ feat: add invertable image shortcode
...
Useful to invert diagrams, graphs, etc. in dark theme.
To use it in a markdown file, add a line like:
{{ invertable_image(src="/img.png", alt="alt text") }}
2023-02-10 02:36:23 +01:00