Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Tailwind config preset #2588

Open
BorghildSelle opened this issue Oct 22, 2024 · 0 comments
Open

Create Tailwind config preset #2588

BorghildSelle opened this issue Oct 22, 2024 · 0 comments
Assignees
Labels
🛠 technical Technical stuffs like reducing debt, refactor or improve code base

Comments

@BorghildSelle
Copy link
Contributor

BorghildSelle commented Oct 22, 2024

Try to move our tailwind config to a separate folder (
should we call it "packages", with subfolder theme and tailwind?
In the future more packages might come, e.g. core, sections, templates )
that is exported as a package, which in the future can be published to npm, but in the first version just reside in folder and used as workspace and imported to web tailwind config like:
presets: [
require('./packages/theme/tailwind/equinor-preset.js')
],

See more:
https://tailwindcss.com/docs/presets

@BorghildSelle BorghildSelle self-assigned this Oct 23, 2024
@BorghildSelle BorghildSelle added the 🛠 technical Technical stuffs like reducing debt, refactor or improve code base label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛠 technical Technical stuffs like reducing debt, refactor or improve code base
Projects
None yet
Development

No branches or pull requests

1 participant