#dev 2026-04-22

2026-04-22 UTC
GuestZero joined the channel
#
[Murray]
I'm just heading out, but I'm intrigued why you need JS for that? If you use a modifier unit within the `clamp()` function directly, it should still scale linearly with browser font settings or user style sheets, e.g. `clamp(1.2rem, 1rem + 17vw, 22rem)`. As long as that's set on something like the `html` or `body` element (and nothing is set on`:root`) then it should respect and incorporate user preferences, as well as scaling well
#
[Murray]
enough.
#
[Murray]
At least, that's my understanding. Would be interested to know the use cases you're covering instead πŸ™‚
#
[Kupietz]
Well the problem is I already had a plugin that allows the user to customize the font size, which already set the font size with JS as soon as the page loads so the user can modify it. The right thing to do would actually be to refactor the plugin so it doesn't touch the CSS until the user actually interacts with the control. At some point I will do that.
TwinAdam joined the channel
#
[Murray]
Ah that makes sense, thanks for the explanation πŸ™‚
grufwub, TwinAdam, ax5623, Maker, vhbelvadi, vidak and [Schepp] joined the channel
#
[capjamesg]
https://www.youtube.com/watch?v=dDdIGfo7SaE πŸ˜„ β€œArtblock: Every ad on the internet, replaced with fine art.”
barnaby, k3can, grufwub, [Jo] and [daveletorey] joined the channel
#
[daveletorey]
I have completely rebuilt my website:
#
[daveletorey]
- Restructured all posts
#
[daveletorey]
- Added menu
#
[daveletorey]
- Added redirects
#
[daveletorey]
- Added tags
#
[daveletorey]
- Added markdown filters
#
[daveletorey]
- Added date filters
#
[daveletorey]
- Moved CSS into _includes
#
[daveletorey]
- Made layouts & partials HTML files
#
[daveletorey]
- Added RSS
#
[daveletorey]
Post about the changes to come soon.
#
[daveletorey]
In the meantime add my site to your RSS reader
#
Loqi
[preview] Dave Letorey
#
[capjamesg]
[daveletorey]++ amazing!
#
Loqi
[daveletorey] has 1 karma in this channel over the last year (4 in all channels)
lars_the_bear joined the channel
#
[Murray]
[daveletorey]++ love it, very nice logo, and love the use of a fragment link for the change log, one of the more useful use-cases I've seen!
#
Loqi
[daveletorey] has 2 karma in this channel over the last year (6 in all channels)
ax562, vidak and lars_the_bear joined the channel
#
[tantek]
[daveletorey]++
#
Loqi
[daveletorey] has 3 karma in this channel over the last year (7 in all channels)
thegreekgeek_, [me1850], ZodiacalComet, blacklight, gRegor, [svemagie], barnaby, lain`, deathcomestotime, TwinAdam, [Ana_R], shoesNsocks, cotsuka, grufwub, troojg and ax562 joined the channel