-
Notifications
You must be signed in to change notification settings - Fork 31
/
list-item-vars.scss
55 lines (37 loc) · 1.94 KB
/
list-item-vars.scss
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
@import "../style/base";
/* Border radius */
$list-item-border-radius: var(--list-item-border-radius, #{$border-radius-m});
/* Transition */
$list-item-transition: var(--list-item-transition, background #{$transition-duration-medium} #{$transition-ease}, color #{$transition-duration-medium} #{$transition-ease});
/* Padding */
$list-item-padding: var(--list-item-padding, #{$spacing-m} #{$spacing-l});
/* Alignment of the before slot */
$list-item-before-align-self: var(--list-item-left-align-self, center);
/* Margin of the before slot */
$list-item-before-margin: var(--list-item-left-margin, 0 #{$spacing-l} 0 0);
/* Alignment of the after slot */
$list-item-after-align-self: var(--list-item-left-align-self, center);
/* Margin of the after slot */
$list-item-after-margin: var(--list-item-left-margin, 0 0 0 #{$spacing-l});
/* Default color */
$list-item-color: var(--list-item-color, #{$foreground});
/* Default background */
$list-item-bg: var(--list-item-bg, transparent);
/* Color when active */
$list-item-color-active: var(--list-item-color, #{color("primary")});
/* Background when active */
$list-item-bg-active: var(--list-item-bg, #{color("primary", $default-hue, 0.1)});
/* Color when hover */
$list-item-color-hover: var(--list-item-color-hover, #{$foreground});
/* Background when hover */
$list-item-bg-hover: var(--list-item-bg-hover, #{color("shade", 200)});
/* Color when active and hover */
$list-item-color-active-hover: var(--list-item-color-active-hover, #{color("primary")});
/* Background when active and hover */
$list-item-bg-active-hover: var(--list-item-bg-active-hover, #{color("primary", $default-hue, 0.15)});
/* Color when disabled */
$list-item-color-disabled: var(--list-item-color-disabled, #{color("shade", $light-hue)});
/* Background when disabled */
$list-item-bg-disabled: var(--list-item-bg-disabled, transparent);
/* Opacity when disabled */
$list-item-opacity-disabled: var(--list-item-opacity-disabled, 0.6);