Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

"shadow-color/percentage" doesn't seem to work #40

@daviareias

Description

@daviareias

It seems that using shadow-color without opacity works, eg:

shadow-blue-900

However if you try to add an opacity modifier it can't find the matching class, eg:

shadow-blue-900/10

I get this message when I try to do it:

Warning on Line: 38, Col: 100 in file: ''; Could not match class 'shadow-blue-900/10', argument 'blue-900/10' could not be found

This is a small detail, it will use the color #1e3a8a10 instead of #1e3a8a for the value blue-900/10,.

We usually do it this way instead of using blue-100, because low opacity shadows usually look better.

I'd love to find a way to fix it myself, but I'm not sure if I have enough experience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions