Mastodon Feed: Post

Mastodon Feed

Reblogged by slightlyoff@toot.cafe ("Alex Russell"):

davetron5000@ruby.social ("Dave Copeland :ruby:") wrote:

Wrote up my experience using #WebComponents in Earnest:

https://www.naildrivin5.com/blog/2024/01/24/web-components-in-earnest.html

This is a long read about the app I built for making a palette: https://ghola.dev

Here's a sample palette: https://ghola.dev/?primaryColor=%233a88fe&otherColors=complement%2Ctriad-lower%2Ctriad-upper%2C%23929292&compact=true

The blog post outlines the custom elements I created, how they were designed with demos. There is a code walkthrough of a few interesting bits as well as how I tested them + notes on my failed first attempt at making React-style Web Components (i.e. that render themselves).