primefaces / primevue-sass-theme

PrimeVue Theming with SASS
https://primevue.org/theming/#customtheme
MIT License
67 stars 38 forks source link

_tag.scss variables #70

Open anchan42 opened 9 months ago

anchan42 commented 9 months ago

Why do we check for secondaryMessageBg existent but use secondaryButtonBg? I'm new to all of this so probably this is me learning again 😅

    @if variable-exists(secondaryMessageBg) {
        &.p-tag-secondary {
            background-color: $secondaryButtonBg;
            color: $secondaryButtonTextColor;
        }

        &.p-tag-contrast {
            background-color: $contrastButtonBg;
            color: $contrastButtonTextColor;
        }
    }