Sha256: 03b00d2d7f708a9109af2a52e15b0dab1b62fab8478595a3dbc9336670b8b043

Contents?: true

Size: 906 Bytes

Versions: 21

Compression:

Stored size: 906 Bytes

Contents

.badge {
  background-color: var(--badge-background, var(--color-bg));
  border-radius: var(--rounded-full);
  border: 1px solid var(--badge-border-color, var(--color-border));
  color: var(--badge-color, var(--color-text));
  display: inline-flex;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  padding: var(--size-0_5) var(--size-2_5);
}

.badge--primary {
  --badge-background: var(--color-primary);
  --badge-border-color: transparent;
  --badge-color: var(--color-text-reversed);
}

.badge--secondary {
  --badge-background: var(--color-secondary);
  --badge-border-color: transparent;
  --badge-color: var(--color-text);
}

.badge--positive {
  --badge-background: var(--color-positive);
  --badge-border-color: transparent;
  --badge-color: white;
}

.badge--negative {
  --badge-background: var(--color-negative);
  --badge-border-color: transparent;
  --badge-color: white;
}

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
css-zero-0.0.36 lib/generators/css_zero/add/templates/app/assets/stylesheets/badge.css