Sha256: b400c381a0fb57b984ea6a0d0dd93d3b3148dee2b52e222f1bc1327e57cd324f

Contents?: true

Size: 771 Bytes

Versions: 8

Compression:

Stored size: 771 Bytes

Contents

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

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

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

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
css-zero-0.0.35 lib/generators/css_zero/add/templates/app/assets/stylesheets/badge.css
css-zero-0.0.34 lib/generators/css_zero/add/templates/app/assets/stylesheets/badge.css
css-zero-0.0.33 lib/generators/css_zero/add/templates/app/assets/stylesheets/badge.css
css-zero-0.0.32 lib/generators/css_zero/add/templates/app/assets/stylesheets/badge.css
css-zero-0.0.31 lib/generators/css_zero/add/templates/app/assets/stylesheets/badge.css
css-zero-0.0.30 lib/generators/css_zero/add/templates/app/assets/stylesheets/badge.css
css-zero-0.0.29 lib/generators/css_zero/add/templates/app/assets/stylesheets/badge.css
css-zero-0.0.28 lib/generators/css_zero/add/templates/app/assets/stylesheets/badge.css