[Cuis-dev] ThemeCustomizer: Save and Manage Personalized Themes
Juan Vuletich
juan at cuis.st
Tue Dec 9 09:30:40 PST 2025
I fully agree and support what you say.
A first step would be to do #experimentsTowardsANewColorPalette in
OkLCH. Next step would be a Morphic color picker based on that. Anyone
wanting some color fun should try to build this!
Cheers,
On 2025-12-05 3:44 PM, Luciano Notarfrancesco via Cuis-dev wrote:
> While we’re on this subject, allow me to point out for future
> consideration that there’s a modern approach to themes using the
> perceptually uniform color space that I posted about last week
> (OKCLH). It’s easy to implement. We shouldn’t use RGB or HSL for
> themes (designers seem to be saying this, lately). See for example
> https://evilmartians.com/chronicles/better-dynamic-themes-in-tailwind-with-oklch-color-magic
> This allows to customize themes by changing only the hue (only one
> dimension) instead of moving all parameters simultaneously. It also
> allows to make themes that can work well in both dark and light modes.
> And simplifies the specification of different shades by changing only
> the lightness parameter. Currently we hand-tweek shades (for different
> states of buttons, for example) by hand in one particular theme, and
> if we switch to other colors sometimes they don’t work well (see the
> contrast problem exemplified in that page with HSL, that goes away
> with OKCLH). I think we should at some point consider moving to OKCLH,
> and we should also pay more attention to what web designers are doing,
> and what is being adopted in browsers and in the newest specification
> of CSS, etc.
>
>
> On Sat, Dec 6, 2025 at 00:52 ken.dickey--- via Cuis-dev
> <cuis-dev at lists.cuis.st> wrote:
>
> Brenda,
>
> Thanks much for this.
>
> I have not been a user of Themes myself, but might suggest doing a
> better UI for adding colors.
>
> If you `Feature require: 'UI-MetaProperties' you will see purple
> selections in Morph Menus.
>
> The idea here is that you can "single click" brings up an editor to
> change the value and one can also drag a value and drop it on another
> menu item to set it for the target Morph.
>
> If you click select #color: or #borderColor: you will get a choice of
> named Color Palettes or a Color Editor.
>
> You can drag a color from a Color Palette or the Color Editor onto a
> color type menu-item or between color menu-items of different Morphs.
>
> Anyway, just wanted to point out that there is code you can use to
> display color choices and use Drag 'n Drop rather than typing in hex
> color strings.
>
> I am a visual thinker and doing things visually makes more sense
> to me.
>
> Again, great start at this! Fun to see!
>
> Good on ya,
> -KenD
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
>
--
Juan Vuletich
www.cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20251209/ff993244/attachment.htm>
More information about the Cuis-dev
mailing list