primereact icon indicating copy to clipboard operation
primereact copied to clipboard

Tag: severity missing css classes

Open LeandroMarcondes opened this issue 1 year ago • 3 comments

Describe the bug

The component Tag does not apply the proper colors when set the severity to "secondary" or "contrast".

I can see that the CSS class is set, but there are no default CSS classes implemented.

This may be related to #5404 or #4169

Reproducer

https://stackblitz.com/run?file=src%2FApp.jsx

PrimeReact version

10.7.0

React version

18.x

Language

ALL

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

LeandroMarcondes avatar Jul 17 '24 03:07 LeandroMarcondes

What theme are you using?

melloware avatar Jul 17 '24 10:07 melloware

I use a custom Lara theme, from the old Babylon Template. But when test with others themes the same error appear. You can see it on the documentation. https://stackblitz.com/edit/gdya8y?file=src%2FApp.jsx

LeandroMarcondes avatar Jul 18 '24 02:07 LeandroMarcondes

Yep looks like some CSS is missing from the core SASS.

melloware avatar Jul 18 '24 11:07 melloware