Sha256: 561cbfaf120ca58e5092398045f2f61338c1ca5becbf838862b32c8970fa5796

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

// Labels

// Provide a wrapper to ensure labels stick together
.labels {
  position: relative;
}

// Default label

.label, // TODO: Deprecte
.Label {
  @include labels-base;
  background-color: transparent !important; // TODO: Remove again
  border-color: var(--color-label-border);

  &:hover {
    text-decoration: none;
  }
}

// Large

.Label--large {
  @include labels-large;
}

// Inline

.Label--inline {
  @include labels--inline;
}

// Colors

.Label--primary {
  color: var(--color-label-primary-text);
  border-color: var(--color-label-primary-border);
}

.Label--secondary {
  color: var(--color-label-secondary-text);
  border-color: var(--color-label-secondary-border);
}

.Label--info {
  color: var(--color-label-info-text);
  border-color: var(--color-label-info-border);
}

.Label--success {
  color: var(--color-label-success-text);
  border-color: var(--color-label-success-border);
}

.Label--warning {
  color: var(--color-label-warning-text);
  border-color: var(--color-label-warning-border);
}

.Label--danger {
  color: var(--color-label-danger-text);
  border-color: var(--color-label-danger-border);
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
primery-0.1.0 _sass/@primer/css/labels/labels.scss