Skeleton Next - Update 14 - Theme Generator Overhaul #2871
endigo9740
announced in
Announcements
Replies: 1 comment 3 replies
-
v2 seems to have more granular controls on text & fill color. Where v2 gives you control over each color v3 seems to only have the global options for dark/light mode. Are the per color controls something that will be coming back? To take it a step further I feel like being able to control each shade of each color would be the absolute best. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone, Chris here from Skeleton 👋
In today's update I would like to cover several major improvements to the Skeleton v3 Theme Generator, as well as showcase a number of new and updated themes. I'll also be providing an accompanying video that should act as a tutorial if you need help getting started. Please note that today's update to the Generator should now represent the state you will see at launch. However, we still have plans to iterate on this in the future, so we will cover some proposed concepts below.
Video Tutorial
Theme Generator Overhaul
To begin, I'd like to start by explaining the overall goal with the new Theme Generator. Today's update hopes to address a number of feedback items we've received from the community. As such, let's break down the most common requests below, as well as cover how we're addressing each.
Improve the UX - while keeping this simple and imitative for for new users
The generator is now lives in a dedicated web app and feature a split panel design with preview elements on the left, and control settings on the right. Giving structure and controlled flow for configuring your theme. You can also quick toggle to your raw theme code as desired, which also updates in real time.
Provide direct control over of your color palette and improve color generation
By default you can now generate a full 11 shade palette for each color via one of four options:
Note that each option will automatically attempt to pair the best contrast color available, with a goal of reaching WGAC compatible contrast ratios. This of course depends on the source colors provided, so manual testing is still highly recommended!
Expand and standardized additional theme settings
We've greatly expanded the number of settings that you can provide per theme, especially when it comes to font styles - which include base, headings, and anchor styles. These can feed primitive utility classes that can used to generate additional semantic typography classes. We'll provide more guidance around this in the future.
Improved component, color, and typographic previews
All previews now use real v3 Skeleton Tailwind and functional components, ensuring a consistent display. Some of these automatically react as you adjust settings - such as showing the active palette selected when defining each color.
Improved support for using theme color values in Javascript environments
Themes now come with a more streamlined JS-based structure that should allow you to easily import and consume the property values directly. Making them easier to use in Canvas elements, such as charts.
Provide a means to import an edit existing themes
Finally, the most requested feature by a large margin - the ability to import themes! We'll cover it in detail below.
Imports and Templates
The new import features comes with three options, which we'll cover below.
Import v2 Themes
First, we know many of you will be migrating from Skeleton v2 to v3 projects at launch. As such we've automatic support for detecting and importing v2 compatible themes. Please note this does come a couple caveats. Namely it's limited to colors and and edge styles, which would typically be the the most painful to import manually. Note that contrasting color tones will still be generated automatically, but the new color blending will not activate until you adjust the colors directly. This helps preserve the old blending results if you prefer.
Import v3 Themes
Additionally Skeleton v3 themes will also be automatically detected, but will import all theme settings. This means that even when you complete and export your theme, you may still re-import and edit in full. The only restriction being manual adjustments you've made within the theme code itself (ex: adding custom fonts). These settings will be ignored until adjusted in the Generator settings. At which point they'll be overwritten.
Import from a Template
Finally, for those of you that are wishing to create a new theme but don't to wish to start from scratch, you may now import from templates. Select any template and all settings will be auto-imported into the Generator to use as your foundation for your own theme. Templates are based on the 20+ themes provided by Skeleton!
New and Updated Themes
Speaking of themes, you may now preview an expanded list of preset themes in Skeleton v3. Feel free to preview each of these on the updated v3 doc site. This includes updates to all 10 legacy themes from Skeleton (ex: Crimson, Rocket, etc), as well as 12 brand new themes created from the ground up using the new Generator. All themes take full advantage of the new theme format and features. This provides a large number of options that should cover a variety of different aesthetics and styles.
Future Updates
Before we wrap up, we want to provide a sneak peek in some early concepts we're proposing for future post-launch updates to the Generator and themes. See this visualized below.
Again, I want to emphasize these updates are merely proposals at this point. However, we would love to hear what you think. Feel free to share comments and suggestions in the thread below this post. If you're interesting in helping contribute to these changes, let us know in the milestone ticket.
As always, any comments or questions about today's updates are welcome below. We would love to hear from you!
Beta Was this translation helpful? Give feedback.
All reactions