<span class="badge badge--dark">
    Core faculty
</span>
<span class="badge{{ isDark ? ' badge--dark' }}">
    {{ text }}
</span>
{
  "siteUnit": "durp",
  "departmentName": "Department of Urban and Regional Planning",
  "background": "dark",
  "text": "Core faculty",
  "isDark": true
}
  • Content:
    .badge
        --badgeBackgroundColor cloudDarker
        --badgeTextColor charcoalLight
        background var(--badgeBackgroundColor)
        border-radius 300px
        color var(--badgeTextColor)
        font-family proximaNova
        font-size 16px
        font-weight 700
        line-height 1.5
        padding 4px 12px
        white-space nowrap
        &--dark
            --badgeBackgroundColor charcoalLight
            --badgeTextColor white
    
  • URL: /components/raw/badge/badge.styl
  • Filesystem Path: components/bits/badge/badge.styl
  • Size: 399 Bytes

There are no notes for this item.