aboutsummaryrefslogtreecommitdiffstats
path: root/demo/src/sass/components/icons.scss
blob: c40a14e568adb94542ad2c2737f3ddd4e6b9b337 (plain)
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
// ==========================================================================
// Icons
// ==========================================================================

@use 'sass:math';

// Base size icon styles
.icon {
  fill: currentColor;
  height: $icon-size;
  vertical-align: -3px;
  width: $icon-size;
}

// Within elements
a svg,
button svg,
label svg {
  pointer-events: none;
}

a .icon,
.btn .icon {
  margin-right: math.div($spacing-base, 4);
}