|
1 | | -@import "src/constants/style.scss"; |
| 1 | +@use "constants/styles"; |
2 | 2 |
|
3 | 3 | .drag-indicator-pill { |
4 | 4 | display: flex; |
5 | 5 | align-items: center; |
6 | | - gap: $spacing--xs; |
| 6 | + gap: styles.$spacing--xs; |
7 | 7 |
|
8 | 8 | background-color: rgba(var(--accent-color--light-rgb), 0.95); |
9 | | - color: $gray--000; |
10 | | - padding: $spacing--xxs $spacing--xs; |
11 | | - border-radius: $spacing--lg; |
12 | | - font-size: $text--xs; |
| 9 | + color: styles.$gray--000; |
| 10 | + padding: styles.$spacing--xxs styles.$spacing--xs; |
| 11 | + border-radius: styles.$spacing--lg; |
| 12 | + font-size: styles.$text--xs; |
13 | 13 | font-weight: 600; |
14 | 14 | white-space: nowrap; |
15 | | - box-shadow: 0 $spacing--xxs $spacing--sm rgba(0, 0, 0, 0.2); |
16 | | - border: 1px solid rgba($gray--000, 0.2); |
| 15 | + box-shadow: 0 styles.$spacing--xxs styles.$spacing--sm rgba(0, 0, 0, 0.2); |
| 16 | + border: 1px solid rgba(styles.$gray--000, 0.2); |
17 | 17 |
|
18 | 18 | pointer-events: none; |
19 | 19 |
|
20 | 20 | &__avatar { |
21 | 21 | display: flex; |
22 | 22 | justify-content: center; |
23 | 23 | align-items: center; |
24 | | - width: $icon--medium; |
25 | | - height: $icon--medium; |
26 | | - border-radius: $rounded--full; |
27 | | - border: 2px solid $gray--000; |
28 | | - background-color: $gray--000; |
| 24 | + width: styles.$icon--medium; |
| 25 | + height: styles.$icon--medium; |
| 26 | + border-radius: styles.$rounded--full; |
| 27 | + border: 2px solid styles.$gray--000; |
| 28 | + background-color: styles.$gray--000; |
29 | 29 | overflow: hidden; |
30 | 30 | flex-shrink: 0; |
31 | | - margin-left: -$spacing--xxs; |
| 31 | + margin-left: -styles.$spacing--xxs; |
32 | 32 | } |
33 | 33 |
|
34 | 34 | &__avatar-image { |
35 | | - width: $icon--medium; |
36 | | - height: $icon--medium; |
| 35 | + width: styles.$icon--medium; |
| 36 | + height: styles.$icon--medium; |
37 | 37 | } |
38 | 38 |
|
39 | 39 | &__text { |
|
44 | 44 | [theme="dark"] { |
45 | 45 | .drag-indicator-pill { |
46 | 46 | background-color: rgba(var(--accent-color--dark-rgb), 0.95); |
47 | | - border: 1px solid rgba($navy--900, 0.3); |
48 | | - box-shadow: 0 $spacing--xxs $spacing--sm rgba($navy--900, 0.4); |
| 47 | + border: 1px solid rgba(styles.$navy--900, 0.3); |
| 48 | + box-shadow: 0 styles.$spacing--xxs styles.$spacing--sm rgba(styles.$navy--900, 0.4); |
49 | 49 |
|
50 | 50 | &__avatar { |
51 | | - border: 2px solid $navy--400; |
52 | | - background-color: $navy--400; |
| 51 | + border: 2px solid styles.$navy--400; |
| 52 | + background-color: styles.$navy--400; |
53 | 53 | } |
54 | 54 | } |
55 | 55 | } |
0 commit comments