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

Investigate css-only usage (no tailwindcss by user) #259

Open
techniq opened this issue Oct 18, 2024 · 1 comment
Open

Investigate css-only usage (no tailwindcss by user) #259

techniq opened this issue Oct 18, 2024 · 1 comment

Comments

@techniq
Copy link
Owner

techniq commented Oct 18, 2024

While fully removing tailwindcss is unlikely as it enables simplified integration with Svelte UX, shadcn-svelte, Skeleton, etc, I could foresee exposing a prebuilt layerchart.css export using tailwindcss cli.

Something like:

tailwindcss -i ./src/main.css -o ./dist/layerchart.css --minify

Would need to create a separate tailwind.config.cjs file with something like...

module.exports = {
  content: ['./src/lib/**/*.svelte'],
}

and main.css with

@tailwind base;
@tailwind components;
@tailwind utilities;

since this is currently defined in +layout.svelte for the docs (and includes some additional global styles for the docs)

@cholwell
Copy link

cholwell commented Nov 8, 2024

Would be interested in this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants