Esri / calcite-design-system

A monorepo containing the packages for Esri's Calcite Design System
https://developers.arcgis.com/calcite-design-system/
Other
280 stars 76 forks source link

Publish Tailwind Config as Preset #6602

Open am-maneaters opened 1 year ago

am-maneaters commented 1 year ago

Summary

The tailwind config for Calcite Components does not get exported with the components so when I am using Tailwind in a project, there are a lot of class name conflicts. I'd also just like to use the same colors/typography as Calcite for a consistent UI. Currently, I just copy and paste the entire config from the calcite-components repo and save it locally.

Desired Outcome

Publish the Calcite Components tailwind config so users can use it as a "Preset" in their tailwind projects.

Resources

https://tailwindcss.com/docs/presets

jrowlingson commented 1 year ago

Related https://github.com/Esri/calcite-components/issues/2143

jcfranco commented 1 year ago

I mentioned this in the linked PR, but we are planning to distribute the preset in its own package once the design tokens are ready and applied to the config.

Related: https://github.com/Esri/calcite-components/issues/6558