porscheinformatik / clarity-addons

Addons to Clarity Design System
https://porscheinformatik.github.io/clarity-addons
MIT License
81 stars 73 forks source link

Proper theming support #2261

Open martinbrom opened 2 months ago

martinbrom commented 2 months ago

Overview

Clarity addons do not offer 100% support for other themes at the moment. This is because a few components are not fully using the custom CSS properties that Clarity provides. As the PHS theme is the only currently used theme within Porsche Informatik, we are welcoming contributions for any part of the codebase (see below).

Tasks checklist

There are a few more cases inside components.clr-addons.scss. These could also be moved out of the file into their own directory.

How to

Example commit: 1a56ff61ef275b211514956388b804dc51abfcdd Clarity docs about tokens: https://clarity.design/documentation/tokens/code