Skip to content

Update theme format to match v5 requirements #4333

@endigo9740

Description

@endigo9740

Per the proposal: https://www.notion.so/Skeleton-v5-RFC-33466a04713c809abb60dad12826a140

Goal

Update the built-in preset Skeleton themes in the core package to adhere to all required changes.

Requirements

  • Resolve non-standard Tailwind @theme property names (ex: --base-font-color > --color-*)
  • Determine a solution for Edge properties: border | ring | divider | outline
  • Investigate initial support for custom color properties
  • Investigate support for a "brand color" property; for use with accent-color and more
  • Investigate support for the corner-shape (used for buttons, cards, etc)

NOE: these requirements may expand as part of our initial audit and research phase

Remove Redundant Classes

As part of updating to standardized Tailwind @theme properties, this will render many custom implemented utility classes redundant. These should be removed and the Core API documentation updated

Improve Core API Docs

Alongside these other updates, we should aim to improve the display and consumption of the API reference data. Ideally showing exactly exact rather than summarized variables whenever possible. This will be beneficial to people and LLMs alike, which sometimes fail to parse this information properly. We can keep links to the more detail documentation (ex: presets) as needed though.

Use Brand Colors

As part of implementing the accent-color property, we should take care to update our Form element examples, as well as consider the impact for component styling.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestfeature requestRequest a feature or introduce and update to the project.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions