Pinned
Here’s me, talking about colors, how to put it in systems and most importantly, OKLCH youtu.be/pQ0asU6mB1I #oklch #css #designsystem #designsystems
Jacob Berglund
@jacobberglund.com
Frontend consultant @ variant.no. I like making simple and delightful things for the web. I'm a "lets solve it with HTTP, HTML, CSS, JS"-person. In that specific order.
41 followers101 following77 posts
Pinned
Here’s me, talking about colors, how to put it in systems and most importantly, OKLCH youtu.be/pQ0asU6mB1I #oklch #css #designsystem #designsystems
Jacob Berglund reposted
This is me talking (in swedish, with a hint of norwegian) about some of the niceness of the CSS library/framework/design system I've created for Variant. The good stuff starts at about 01:30. www.youtube.com/watch?v=nZpE...
Jacob Berglund reposted
I want Custom Attributes to exist - think Custom Elements (Web Components) but Attributes. I've been working on a proposal, specs, and now a polyfill: www.keithcirkel.co.uk/custom-attri... More coming soon!
Jacob Berglund reposted
Ayyyy! Just released 1.0 of my take on an opinionated CSS framework. varde.variant.dev/docs/ Look, I love packages, but isn't it something magical about just referring to a CSS file? To get fonts, colors and utilities. It's probably not a design system, but it certainly is the foundation of one.
Best parts: varde.variant.dev/docs/referen... - The best buttons I ever made. Heavy usage of color-mix. varde.variant.dev/docs/example... - This one show composition of a whole view + color-mode as smaller things varde.variant.dev/docs/example... - Showcases color-mode quite nicely.
Jacob Berglund reposted
After testing 100s of imgs comparing tiny and big changes to the algo: I am now confident to present to you: The new okpalette.color.pizza. Powerful as before, ~40% faster, better at detecting good presets and much better at finding rare colors! Test it with your pics and let me know what you think
Jacob Berglund reposted
Make your logo brighter than white. Chris Bennett built a tool that turns a logo into a gain-map JPEG, so the colors you pick shine up to 7.5 times brighter than plain white on HDR screens and stay a normal JPEG everywhere else. #color #image www.soverybright.com/
Jacob Berglund reposted
🔥 New blog post: Dark mode toggles that expose three states (system, light, dark) seem like the best option. Until you think about user goals, that is. Before rushing to disagree, hear me out. lea.verou.me/blog/2026/da... PS: As a data point, @jakearchibald.com was converted after reading this 😅
Made a web component to progressively enhance good ol' SSR forms. Introducing <enhance-form>! You wrap a form with it and you'll get inline form validation with minimal effort. Heavily inspired by Unpoly 😍
Jacob Berglund reposted
Jacob Berglund reposted
i built an entire x86 CPU emulator in CSS (no javascript) you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS lyra.horse/x86css/
130 files changed, 125 insertions(+), 8115 deletions(-) Today was a gooood day. 🪓 Shoutout to knip.dev!
Jacob Berglund reposted
Just shipped bsky-comments! Embed Bluesky threads anywhere with a zero-dependency Web Component. • Framework Agnostic (Native WC) • < 3kb gzipped • Zero Config: Just paste the Post URL • Light DOM: Fully customizable (CSS/Tailwind) github.com/florianschep... #webdev #opensource #buildinpublic
Made a customizable-face-looking-at-the-cursor thing. Try it out: varianter.github.io/fjes/ Feedback is welcomed 😊
Jacob Berglund reposted
gushing over the maintainability and simplicity of @jim-nielsen.com’s menu as a whole dang separate-standalone-HTML-page: blog.jim-nielsen.com/2025/lots-of... (via @dbushell.com)
Jacob Berglund reposted
over a year ago, i gave a talk at the xoxo conference about a mural, a mcdonald’s, and a man. (but it was also secretly about life, and legacy, and meaning.) finally, i’m blogging the full story, with behind-the-scenes details, and a video of the talk. enjoy. cabel.com/wes-cook-and...
Zoom, zoom! Made a demo/docs site for my utility web component css-var-bind. If you've got any suggestions for neat demos/examples, do know that they are appreciated. jberglund.github.io/css-var-bind/ Repo here: github.com/jberglund/cs...
I made a thing! This has been my workhorse for experimenting and creating token systems in CSS. Works really well with different input types; number, range, color. github.com/jberglund/cs...
Jacob Berglund reposted
Wild how far you can push "customizable select" with just #CSS nerdy.dev/nice-select
Looking back at 2025, my own highlight is the talk I put together about color systems using OKLCH. youtu.be/pQ0asU6mB1I #designsystem #css
Jacob Berglund reposted
📝 How To Dynamically Install Custom Elements A pattern I’ve been working on for a while. Load just the elements you are actually using. “Tree shaking” is trivial with HTML. heydonworks.com/article/dyna...
Jacob Berglund reposted