riptano / docs-ui

The UI and theme for DataStax Docs.
https://riptano.github.io/docs-ui/
Mozilla Public License 2.0
2 stars 0 forks source link

Add Tailwind #34

Closed colegoldsmith closed 10 months ago

colegoldsmith commented 10 months ago

This work adds some tailwind css and a config file. The config file is included in the UI bundle.

On the antora site just after building we can run this script to bake all the tailwind css into site.css

tailwindcss build -c ./build/site/_/js/tailwind.config.js -i ./build/site/_/css/site.css -o ./build/site/_/css/site.css --minify

This way the tailwind config and tailwind css additions live in the UI bundle repo, and are passed to the site repo to be used once all the html is generated

mlr commented 10 months ago

UI bundle preview build successful! :white_check_mark: Deploying preview to GitHub Pages. Deployment successful! View preview

mlr commented 10 months ago

Antora site build successful! :white_check_mark: Deploying draft to GitHub Pages. Deployment successful! View draft