Skip to content

Variations on colours are removed when extending the main colour #17158

Answered by wongjn
chrisgjarrett asked this question in Help
Discussion options

You must be logged in to vote

Use the special DEFAULT key:

const config: Config = {
    theme: {
        extend: {
            colors: {
-               red: '#000000'
+               red: {
+                   DEFAULT: '#0000000',
+               },
            }
        },
    },
    plugins: [],
};

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@chrisgjarrett
Comment options

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