-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathbutton.module.scss
More file actions
67 lines (58 loc) · 1.18 KB
/
button.module.scss
File metadata and controls
67 lines (58 loc) · 1.18 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
@use "libs/theme/styles/variables" as *;
@use "libs/theme/styles/mixins" as *;
.button {
display: flex;
padding: 0.75rem 2rem;
justify-content: center;
align-items: center;
gap: 0.5rem;
align-self: stretch;
border-radius: 0.375rem;
font-size: 1rem;
line-height: 1.5rem;
font-style: normal;
font-weight: 500;
letter-spacing: 0.2px;
cursor: pointer;
@media #{$breakpoint-dimension-sm} {
width: fit-content;
margin: auto;
}
}
.button_variant_normal {
background-color: var(--sky);
color: $color_fg_on_button_primary;
border: 0px;
path {
fill: $color_fg_on_button_primary;
}
}
.button_variant_transparent {
color: var(--color_fg_button_transparent);
background-color: transparent;
border: 1px solid var(--color_fg_neutral);
svg path {
fill: var(--color_fg_button_transparent);
}
}
.button_arrow {
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
height: 0.75rem;
width: 0.75rem;
border: 0;
svg {
height: 0.75rem;
width: 0.75rem;
}
@media #{$breakpoint-dimension-sm} {
height: 1rem;
width: 1rem;
svg {
height: 0.875rem;
width: 0.875rem;
}
}
}