aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/badge.scss
blob: 0ac17c6ed04cfd570bfa3d133b756ccc593b975b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
@import './config.scss';

.theme__dark .badge {
  background: $dark-theme-gray;
  color: $dark-theme-gray-lightest;

  &.badge--primary {
    background: $theme-brand-primary;
    color: $dark-theme-gray-lightest;
  }
}

.badge {
  background: $theme-gray-lighter;
  border-radius: $theme-border-radius;
  display: inline-block;
  font-size: 14px;
  padding: 5px 10px;
  letter-spacing: 0;

  &.badge--primary {
    background: $theme-brand-primary;
    color: #fff;
  }

  &.badge--success {
    background: $theme-brand-success;
    color: #fff;
  }
}