Skip to content

How can I add my own custom css rules? #65

Discussion options

You must be logged in to vote

Hi Cristina—thanks for posting your issue!

In terms of getting fonts and colours into Tailwind, the process is the same as described in these two documents:

https://tailwindcss.com/docs/font-family#customizing-your-theme
https://tailwindcss.com/docs/customizing-colors#using-custom-colors

You would make those changes in your ./tailwind/tailwind.config.js file.

If you're looking at add your own self-hosted fonts, please see here:

https://underscoretw.com/docs/development/#custom-css

You'll find a fonts.css file for declaring self-hosted web fonts should you need to do so.

Please let me know if you have any other questions!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cristinacorghi
Comment options

@gregsullivan
Comment options

Answer selected by cristinacorghi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants