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

Feature request: moving custom colors and styles ahead of Tailwind's built-in stuff, or giving them their own links in the sidebar #21

Closed
bseigel opened this issue Dec 28, 2020 · 1 comment

Comments

@bseigel
Copy link

bseigel commented Dec 28, 2020

Hello,

This is super helpful, I appreciate you taking the time to build it. I found my way here via Craft Link List.

May I recommend an enhancement: either placing custom colors and styles ahead of Tailwind's built-in stuff, or creating links in the sidebar that jump right to one's customizations. It's the custom stuff that can be harder to remember than the built-in stuff.

@rogden
Copy link
Owner

rogden commented Jan 6, 2021

Glad you are finding it helpful! Thanks for the feedback. This can be easily achieved by including tailwind colors after your custom colors instead of extending the tailwind colors:

const { colors } = require('tailwindcss/defaultTheme')

module.exports = {
  theme: {
    colors: {
       'my-custom-color': '#FF0000',
       ...colors
    }
  }
}

@rogden rogden closed this as completed Jan 8, 2021
This issue was closed.
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