Skip to content

post css problem i guess #1033

Description

@Ischafak

Environment

"nuxt": "3.17.4",
"@nuxtjs/tailwindcss": "6.13.1",

Reproduction

No response

Describe the bug

Hi, with old version i was able to use like background-color: theme('colors.success.400') !important;

normally i am importing css files in
plugins like this
import '@/assets/css/toast.scss'

but after i upgrade the version

i get error like this

[postcss] /Users/Desktop/assets/css/toast.scss:10:3: 'colors.success.400' does not exist in your theme config. 'colors' has the following keys: 'inherit', 'current', 'transparent', 'black', 'white', 'slate', 'gray', 'zinc', 'neutral', 'stone', 'red', 'orange', 'amber', 'yellow', 'lime', 'green', 'emerald', 'teal', 'cyan', 'sky', 'blue', 'indigo', 'violet', 'purple', 'fuchsia', 'pink', 'rose'

what am i doing wrong normally i have success color in my tailwind file

Additional context

No response

Logs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions