primefaces / primevue-sass-theme

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

_tag.scss variables #70

Open anchan42 opened 4 months ago

anchan42 commented 4 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;
        }
    }