devbertskie / next-mdx-blog

MDX Blog Template is a simple implementation of a markdown static blog. Built with Next.js 14 and velite js.
https://devbertskie-mdx.vercel.app
13 stars 3 forks source link

Colours #1

Open mjgodzilla86 opened 1 month ago

mjgodzilla86 commented 1 month ago

Hi, how do I change the colour or see the colour options?

For example, in the page.tsx, I can see the text-yellow-300, but where do I find this in the stylesheet if I want to change the colour?

stevenrugg commented 2 weeks ago

You can do two things. The styling that I'm using is called TailwindCss and it allows you to use className styling. On the

element you'll see text-yellow-500, which is a tailwind class. You can change colors that way, also there is a global.css stylesheet in the styles directory. I would just stick with tailwindcss and style elements as needed with the className attributes.