skeleton icon indicating copy to clipboard operation
skeleton copied to clipboard

PROTOTYPE: Presets and Mesh Gradient Generators

Open endigo9740 opened this issue 9 months ago • 1 comments

Goal

I believe there's room for growth as part of the Theme Generator rewrite in the near future. This would split the current Theme Generator into a multi-purpose Generator app. In additional to the Theme Generator, this would then include two new sections:

Preset Generator

Image

Currently one of the biggest barriers to supporting custom colors (beyond primary, secondary, etc) in Skeleton is that all canned Presets come "pre-baked" by Skeleton head of time. Meaning we generate them before the core package is distributed.

The proposal here is to implement a means to select either from the standard palette, or implement custom colors, then choose from any number of pre-configured style options (ex: filled, outlined, tonal, glass, etc). When generated, this would output one or more stylesheets that could be imported into your project.

The idea being that users generate their own custom configured color presets, but only those they need or want. This would also mean Skeleton could then fully support custom colors.

Mesh Gradient Generator

Image

This one is simple, it would simply be a clone of tools like Mesher, but made to consume Skeleton theme color properties. And would be setup with OKLCH color format and mixing used by default.

How and When to Implement

The prototypes can be can be barebones MVPs of either generator. Then when we update the Theme Generator proper, we can implement the full version of these tools.

What type of pull request would this be?

New Feature

Provide relevant links or additional information.

Note we would likely rename and redirect the domain from:

https://themes.skeleton.dev

To something more general purpose like:

https://generators.skeleton.dev
https://tools.skeleton.dev
etc...

endigo9740 avatar Mar 28 '25 18:03 endigo9740

See also: https://github.com/skeletonlabs/skeleton/issues/2964#issuecomment-2707688441

endigo9740 avatar Aug 21 '25 15:08 endigo9740