Giter VIP home page Giter VIP logo

Comments (5)

RobinMalfait avatar RobinMalfait commented on June 9, 2024

Hey!

You mentioned that you are using Chrome but I'm 99% sure you are using Firefox. If that's the case then this is currently expected behaviour.

We rely on @property which isn't supported in Firefox yet. You can use Firefox Nightly and I believe it should be available in the release of May in normal Firefox.

Are you using Firefox by any chance?

from tailwindcss.

alexhtech avatar alexhtech commented on June 9, 2024

Hey!

You mentioned that you are using Chrome but I'm 99% sure you are using Firefox. If that's the case then this is currently expected behaviour.

We rely on @property which isn't supported in Firefox yet. You can use Firefox Nightly and I believe it should be available in the release of May in normal Firefox.

Are you using Firefox by any chance?

Unfortunately, I'm using Chrome Version 123.0.6312.59 (Official Build) (arm64).
BTW tried to do the same using tailwind@3.* - works well

from tailwindcss.

ashley-hunter avatar ashley-hunter commented on June 9, 2024

I'm seeing this issue in Chrome too, seems --tw-shadow-colored doesn't use var(--tw-shadow-color) when using shadow-xl:

image

Compared to just shadow which does include it (and doesn't wrap the entire value in var(--shadow, ...)):

image

Updating --tw-shadow-colored to the following resolves the issue.

 --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);

from tailwindcss.

adamwathan avatar adamwathan commented on June 9, 2024

Looked into this quickly — definitely a real bug, regression we introduced when we started including the var(...) function call in resolved theme values. Fix is a bit more complicated than I hoped, will take a peek tomorrow!

from tailwindcss.

adamwathan avatar adamwathan commented on June 9, 2024

Patched this up, running a release now 👍 Should be back to working in 4.0.0-alpha.13.

from tailwindcss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.