Skip to content

How to make toolbar dropdown not transparent? #2899

Answered by qweyrt
qweyrt asked this question in Q&A
Discussion options

You must be logged in to vote

I've found these lines in tailwind.config.cjs in the template example I provided:

colors: {
        border: 'hsl(var(--border))',
        input: 'hsl(var(--input))',
        ring: 'hsl(var(--ring))',
        background: 'hsl(var(--background))',
        foreground: 'hsl(var(--foreground))',
        primary: {
          DEFAULT: 'hsl(var(--primary))',
          foreground: 'hsl(var(--primary-foreground))',
        },
        secondary: {
          DEFAULT: 'hsl(var(--secondary))',
          foreground: 'hsl(var(--secondary-foreground))',
        },
        destructive: {
          DEFAULT: 'hsl(var(--destructive) / <alpha-value>)',
          foreground: 'hsl(var(--destructive-foreground) /…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@qweyrt
Comment options

Answer selected by 12joan
@12joan
Comment options

@qweyrt
Comment options

@12joan
Comment options

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