lumen-plus 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/dist/index.js +2 -0
  2. package/dist/theme-chalk/_index.scss +69 -0
  3. package/dist/theme-chalk/_reset.scss +16 -0
  4. package/dist/theme-chalk/_variables.scss +91 -0
  5. package/dist/theme-chalk/affix.scss +8 -0
  6. package/dist/theme-chalk/alert.scss +140 -0
  7. package/dist/theme-chalk/autocomplete.scss +238 -0
  8. package/dist/theme-chalk/avatar.scss +49 -0
  9. package/dist/theme-chalk/backtop.scss +55 -0
  10. package/dist/theme-chalk/badge.scss +47 -0
  11. package/dist/theme-chalk/breadcrumb.scss +50 -0
  12. package/dist/theme-chalk/button.scss +472 -0
  13. package/dist/theme-chalk/calendar.scss +166 -0
  14. package/dist/theme-chalk/card.scss +70 -0
  15. package/dist/theme-chalk/carousel.scss +167 -0
  16. package/dist/theme-chalk/cascader.scss +265 -0
  17. package/dist/theme-chalk/checkbox.scss +127 -0
  18. package/dist/theme-chalk/collapse.scss +100 -0
  19. package/dist/theme-chalk/color-picker.scss +247 -0
  20. package/dist/theme-chalk/container.scss +79 -0
  21. package/dist/theme-chalk/date-picker.scss +352 -0
  22. package/dist/theme-chalk/date-time-picker.scss +396 -0
  23. package/dist/theme-chalk/descriptions.scss +160 -0
  24. package/dist/theme-chalk/dialog.scss +154 -0
  25. package/dist/theme-chalk/divider.scss +61 -0
  26. package/dist/theme-chalk/drawer.scss +211 -0
  27. package/dist/theme-chalk/dropdown.scss +230 -0
  28. package/dist/theme-chalk/empty.scss +36 -0
  29. package/dist/theme-chalk/form.scss +187 -0
  30. package/dist/theme-chalk/icon.scss +16 -0
  31. package/dist/theme-chalk/image.scss +171 -0
  32. package/dist/theme-chalk/input-number.scss +229 -0
  33. package/dist/theme-chalk/input-tag.scss +119 -0
  34. package/dist/theme-chalk/input.scss +249 -0
  35. package/dist/theme-chalk/link.scss +28 -0
  36. package/dist/theme-chalk/loading.scss +68 -0
  37. package/dist/theme-chalk/menu.scss +239 -0
  38. package/dist/theme-chalk/message.scss +150 -0
  39. package/dist/theme-chalk/messagebox.scss +76 -0
  40. package/dist/theme-chalk/mixins/_bem.scss +103 -0
  41. package/dist/theme-chalk/mixins/_function.scss +12 -0
  42. package/dist/theme-chalk/notification.scss +164 -0
  43. package/dist/theme-chalk/pagination.scss +130 -0
  44. package/dist/theme-chalk/pin-input.scss +192 -0
  45. package/dist/theme-chalk/popconfirm.scss +194 -0
  46. package/dist/theme-chalk/popover.scss +196 -0
  47. package/dist/theme-chalk/progress.scss +51 -0
  48. package/dist/theme-chalk/radio.scss +128 -0
  49. package/dist/theme-chalk/rating.scss +227 -0
  50. package/dist/theme-chalk/result.scss +80 -0
  51. package/dist/theme-chalk/segmented.scss +108 -0
  52. package/dist/theme-chalk/select.scss +301 -0
  53. package/dist/theme-chalk/skeleton.scss +113 -0
  54. package/dist/theme-chalk/slider.scss +259 -0
  55. package/dist/theme-chalk/space.scss +44 -0
  56. package/dist/theme-chalk/statistic.scss +49 -0
  57. package/dist/theme-chalk/steps.scss +255 -0
  58. package/dist/theme-chalk/switch.scss +277 -0
  59. package/dist/theme-chalk/table.scss +343 -0
  60. package/dist/theme-chalk/tabs.scss +433 -0
  61. package/dist/theme-chalk/tag.scss +143 -0
  62. package/dist/theme-chalk/textarea.scss +125 -0
  63. package/dist/theme-chalk/time-picker.scss +321 -0
  64. package/dist/theme-chalk/timeline.scss +119 -0
  65. package/dist/theme-chalk/tooltip.scss +165 -0
  66. package/dist/theme-chalk/transfer.scss +219 -0
  67. package/dist/theme-chalk/tree-select.scss +384 -0
  68. package/dist/theme-chalk/tree.scss +101 -0
  69. package/dist/theme-chalk/upload.scss +457 -0
  70. package/dist/theme-chalk/watermark.scss +30 -0
  71. package/dist/utils/index.js +1 -0
  72. package/dist/utils/transitions.js +31 -0
  73. package/package.json +8 -2
@@ -0,0 +1,187 @@
1
+ @use './variables' as *;
2
+ @use './mixins/bem' as *;
3
+ @use './mixins/function' as *;
4
+
5
+ @include b(form) {
6
+ font-size: $font-size-base;
7
+
8
+ @include m(inline) {
9
+ .#{$namespace}-form-item {
10
+ display: inline-flex;
11
+ margin-right: $spacing-base;
12
+ margin-bottom: 0;
13
+ vertical-align: top;
14
+ }
15
+ }
16
+
17
+ @include when(disabled) {
18
+ .#{$namespace}-form-item__label {
19
+ color: $color-text-placeholder;
20
+ }
21
+ }
22
+ }
23
+
24
+ @include b(form-item) {
25
+ display: flex;
26
+ align-items: flex-start;
27
+ margin-bottom: 22px;
28
+
29
+ --lm-form-item-message-gap: 2px;
30
+ --lm-form-item-message-line-height: 18px;
31
+ --lm-form-item-message-min-height: 18px;
32
+ --lm-form-item-message-reserve: calc(var(--lm-form-item-message-gap) + var(--lm-form-item-message-min-height));
33
+
34
+ @include e(label) {
35
+ font-weight: $font-weight-primary;
36
+ color: $color-text-primary;
37
+ padding-right: $spacing-mini;
38
+ line-height: 32px;
39
+ font-size: $font-size-base;
40
+ text-align: right;
41
+ user-select: none;
42
+ white-space: nowrap;
43
+ flex-shrink: 0;
44
+ }
45
+
46
+ @include e(content) {
47
+ flex: 1;
48
+ min-width: 0;
49
+ position: relative;
50
+ line-height: 32px;
51
+ padding-bottom: var(--lm-form-item-message-reserve);
52
+ }
53
+
54
+ @include e(message) {
55
+ position: absolute;
56
+ top: calc(100% - var(--lm-form-item-message-reserve));
57
+ left: 0;
58
+ margin: var(--lm-form-item-message-gap) 0 0;
59
+ font-size: $font-size-extra-small;
60
+ color: $color-text-secondary;
61
+ line-height: var(--lm-form-item-message-line-height);
62
+ min-height: var(--lm-form-item-message-min-height);
63
+
64
+ @include when(inline) {
65
+ position: static;
66
+ display: inline-block;
67
+ margin-left: $spacing-mini;
68
+ padding: 2px 0;
69
+ }
70
+ }
71
+
72
+ @include m(small) {
73
+ --lm-form-item-message-line-height: 16px;
74
+ --lm-form-item-message-min-height: 16px;
75
+
76
+ @include e(label) {
77
+ line-height: 24px;
78
+ font-size: $font-size-small;
79
+ }
80
+
81
+ @include e(content) {
82
+ line-height: 24px;
83
+ }
84
+ }
85
+
86
+ @include m(medium) {
87
+ --lm-form-item-message-line-height: 18px;
88
+ --lm-form-item-message-min-height: 18px;
89
+
90
+ @include e(label) {
91
+ line-height: 32px;
92
+ font-size: $font-size-base;
93
+ }
94
+
95
+ @include e(content) {
96
+ line-height: 32px;
97
+ }
98
+ }
99
+
100
+ @include m(large) {
101
+ --lm-form-item-message-line-height: 18px;
102
+ --lm-form-item-message-min-height: 18px;
103
+
104
+ @include e(label) {
105
+ line-height: 40px;
106
+ font-size: $font-size-medium;
107
+ }
108
+
109
+ @include e(content) {
110
+ line-height: 40px;
111
+ }
112
+ }
113
+
114
+ @include when(error) {
115
+ @include e(message) {
116
+ color: $color-danger;
117
+ }
118
+ }
119
+
120
+ @include when(success) {
121
+ @include e(message) {
122
+ color: $color-success;
123
+ }
124
+ }
125
+
126
+ @include when(warning) {
127
+ @include e(message) {
128
+ color: $color-warning;
129
+ }
130
+ }
131
+
132
+ @include when(validating) {
133
+ @include e(message) {
134
+ color: $color-text-secondary;
135
+ }
136
+ }
137
+
138
+ @include when(disabled) {
139
+ @include e(label) {
140
+ color: $color-text-placeholder;
141
+ }
142
+ }
143
+ }
144
+
145
+ .dark {
146
+ .#{$namespace}-form {
147
+ @include when(disabled) {
148
+ .#{$namespace}-form-item__label {
149
+ color: $color-text-dark-secondary;
150
+ }
151
+ }
152
+ }
153
+
154
+ .#{$namespace}-form-item {
155
+ .#{$namespace}-form-item__label {
156
+ color: $color-text-dark;
157
+ }
158
+
159
+ .#{$namespace}-form-item__message {
160
+ color: $color-text-dark-secondary;
161
+ }
162
+
163
+ &.is-error {
164
+ .#{$namespace}-form-item__message {
165
+ color: $color-danger;
166
+ }
167
+ }
168
+
169
+ &.is-success {
170
+ .#{$namespace}-form-item__message {
171
+ color: $color-success;
172
+ }
173
+ }
174
+
175
+ &.is-warning {
176
+ .#{$namespace}-form-item__message {
177
+ color: $color-warning;
178
+ }
179
+ }
180
+
181
+ &.is-disabled {
182
+ .#{$namespace}-form-item__label {
183
+ color: $color-text-dark-secondary;
184
+ }
185
+ }
186
+ }
187
+ }
@@ -0,0 +1,16 @@
1
+ @use './mixins/bem' as *;
2
+
3
+ @include b('icon') {
4
+ display: inline-flex;
5
+ align-items: center;
6
+ justify-content: center;
7
+ vertical-align: middle;
8
+ flex-shrink: 0;
9
+ line-height: 1;
10
+
11
+ svg {
12
+ display: block;
13
+ width: 100%;
14
+ height: 100%;
15
+ }
16
+ }
@@ -0,0 +1,171 @@
1
+ @use './variables' as *;
2
+ @use './mixins/bem' as *;
3
+
4
+ @include b('image') {
5
+ position: relative;
6
+ display: inline-block;
7
+ overflow: hidden;
8
+
9
+ @include when('preview') {
10
+ cursor: pointer;
11
+ }
12
+
13
+ @include e('wrapper') {
14
+ display: block;
15
+ border: none;
16
+ background: transparent;
17
+ padding: 0;
18
+ cursor: pointer;
19
+ }
20
+
21
+ @include e('inner') {
22
+ display: block;
23
+ width: 100%;
24
+ height: 100%;
25
+ }
26
+
27
+ @include e('placeholder') {
28
+ position: absolute;
29
+ top: 0;
30
+ left: 0;
31
+ right: 0;
32
+ bottom: 0;
33
+ display: flex;
34
+ align-items: center;
35
+ justify-content: center;
36
+ background: $bg-color-page;
37
+ color: $color-text-placeholder;
38
+ }
39
+
40
+ @include e('error') {
41
+ position: absolute;
42
+ top: 0;
43
+ left: 0;
44
+ right: 0;
45
+ bottom: 0;
46
+ display: flex;
47
+ align-items: center;
48
+ justify-content: center;
49
+ background: $bg-color-page;
50
+ color: $color-text-secondary;
51
+ }
52
+ }
53
+
54
+ @include b('image-viewer') {
55
+ position: fixed;
56
+ top: 0;
57
+ left: 0;
58
+ right: 0;
59
+ bottom: 0;
60
+ z-index: $z-index-popper + 1;
61
+ display: flex;
62
+ align-items: center;
63
+ justify-content: center;
64
+ outline: none;
65
+
66
+ @include e('mask') {
67
+ position: absolute;
68
+ top: 0;
69
+ left: 0;
70
+ right: 0;
71
+ bottom: 0;
72
+ background: rgba(0, 0, 0, 0.8);
73
+ }
74
+
75
+ @include e('close') {
76
+ position: absolute;
77
+ top: 20px;
78
+ right: 20px;
79
+ z-index: 1;
80
+ display: flex;
81
+ align-items: center;
82
+ justify-content: center;
83
+ width: 44px;
84
+ height: 44px;
85
+ border: none;
86
+ border-radius: $border-radius-circle;
87
+ background: rgba(255, 255, 255, 0.1);
88
+ color: #fff;
89
+ cursor: pointer;
90
+ transition: background $transition-duration-fast;
91
+
92
+ &:hover {
93
+ background: rgba(255, 255, 255, 0.2);
94
+ }
95
+ }
96
+
97
+ @include e('prev') {
98
+ position: absolute;
99
+ top: 50%;
100
+ left: 20px;
101
+ transform: translateY(-50%);
102
+ z-index: 1;
103
+ display: flex;
104
+ align-items: center;
105
+ justify-content: center;
106
+ width: 44px;
107
+ height: 44px;
108
+ border: none;
109
+ border-radius: $border-radius-circle;
110
+ background: rgba(255, 255, 255, 0.1);
111
+ color: #fff;
112
+ cursor: pointer;
113
+ transition: background $transition-duration-fast;
114
+
115
+ &:hover {
116
+ background: rgba(255, 255, 255, 0.2);
117
+ }
118
+ }
119
+
120
+ @include e('next') {
121
+ position: absolute;
122
+ top: 50%;
123
+ right: 20px;
124
+ transform: translateY(-50%);
125
+ z-index: 1;
126
+ display: flex;
127
+ align-items: center;
128
+ justify-content: center;
129
+ width: 44px;
130
+ height: 44px;
131
+ border: none;
132
+ border-radius: $border-radius-circle;
133
+ background: rgba(255, 255, 255, 0.1);
134
+ color: #fff;
135
+ cursor: pointer;
136
+ transition: background $transition-duration-fast;
137
+
138
+ &:hover {
139
+ background: rgba(255, 255, 255, 0.2);
140
+ }
141
+ }
142
+
143
+ @include e('canvas') {
144
+ position: relative;
145
+ max-width: 90vw;
146
+ max-height: 90vh;
147
+ }
148
+
149
+ @include e('img') {
150
+ max-width: 100%;
151
+ max-height: 90vh;
152
+ object-fit: contain;
153
+ }
154
+ }
155
+
156
+ .dark {
157
+ .#{$namespace}-image {
158
+ .#{$namespace}-image__placeholder,
159
+ .#{$namespace}-image__error {
160
+ background: $bg-color-dark-light;
161
+ }
162
+
163
+ .#{$namespace}-image__placeholder {
164
+ color: $color-text-dark-secondary;
165
+ }
166
+
167
+ .#{$namespace}-image__error {
168
+ color: $color-text-dark-secondary;
169
+ }
170
+ }
171
+ }
@@ -0,0 +1,229 @@
1
+ @use './variables' as *;
2
+ @use './mixins/bem' as *;
3
+
4
+ @include b('input-number') {
5
+ display: inline-flex;
6
+ align-items: stretch;
7
+ width: 150px;
8
+ border: 1px solid $border-color-base;
9
+ border-radius: $border-radius-base;
10
+ background: $bg-color;
11
+ line-height: 1;
12
+ transition: border-color $transition-duration-fast;
13
+
14
+ &:hover {
15
+ border-color: #c0c4cc;
16
+ }
17
+
18
+ &.is-focus {
19
+ border-color: $color-primary;
20
+ }
21
+
22
+ @include m('small') {
23
+ height: 28px;
24
+
25
+ .#{$namespace}-input-number__input {
26
+ font-size: $font-size-small;
27
+ }
28
+
29
+ .#{$namespace}-input-number__decrease,
30
+ .#{$namespace}-input-number__increase {
31
+ width: 28px;
32
+ }
33
+ }
34
+
35
+ @include m('default') {
36
+ height: 32px;
37
+
38
+ .#{$namespace}-input-number__input {
39
+ font-size: $font-size-base;
40
+ }
41
+
42
+ .#{$namespace}-input-number__decrease,
43
+ .#{$namespace}-input-number__increase {
44
+ width: 32px;
45
+ }
46
+ }
47
+
48
+ @include m('large') {
49
+ height: 40px;
50
+
51
+ .#{$namespace}-input-number__input {
52
+ font-size: $font-size-medium;
53
+ }
54
+
55
+ .#{$namespace}-input-number__decrease,
56
+ .#{$namespace}-input-number__increase {
57
+ width: 40px;
58
+ }
59
+ }
60
+
61
+ @include when('disabled') {
62
+ background: $bg-color-page;
63
+ cursor: not-allowed;
64
+
65
+ .#{$namespace}-input-number__input {
66
+ color: $color-text-disabled;
67
+ cursor: not-allowed;
68
+ }
69
+ }
70
+
71
+ @include when('controls-right') {
72
+ .#{$namespace}-input-number__input {
73
+ border-radius: $border-radius-base 0 0 $border-radius-base;
74
+ }
75
+
76
+ .#{$namespace}-input-number__controls {
77
+ display: flex;
78
+ flex-direction: column;
79
+ width: 24px;
80
+ border-left: 1px solid $border-color-base;
81
+ }
82
+
83
+ .#{$namespace}-input-number__increase,
84
+ .#{$namespace}-input-number__decrease {
85
+ flex: 1;
86
+ width: 100%;
87
+ height: 50%;
88
+ border: none;
89
+ border-radius: 0;
90
+ }
91
+
92
+ .#{$namespace}-input-number__increase {
93
+ border-bottom: 1px solid $border-color-lighter;
94
+ border-radius: 0 $border-radius-base 0 0;
95
+ }
96
+
97
+ .#{$namespace}-input-number__decrease {
98
+ border-radius: 0 0 $border-radius-base 0;
99
+ }
100
+ }
101
+
102
+ @include e('input') {
103
+ flex: 1;
104
+ width: 100%;
105
+ min-width: 40px;
106
+ height: 100%;
107
+ padding: 0 8px;
108
+ border: none;
109
+ outline: none;
110
+ background: transparent;
111
+ text-align: center;
112
+ color: $color-text-primary;
113
+ -moz-appearance: textfield;
114
+
115
+ &::-webkit-outer-spin-button,
116
+ &::-webkit-inner-spin-button {
117
+ -webkit-appearance: none;
118
+ margin: 0;
119
+ }
120
+
121
+ &::placeholder {
122
+ color: $color-text-placeholder;
123
+ }
124
+ }
125
+
126
+ @include e('decrease') {
127
+ display: flex;
128
+ align-items: center;
129
+ justify-content: center;
130
+ flex-shrink: 0;
131
+ border: none;
132
+ border-right: 1px solid $border-color-base;
133
+ border-radius: $border-radius-base 0 0 $border-radius-base;
134
+ background-color: $bg-color-page;
135
+ cursor: pointer;
136
+ color: $color-text-secondary;
137
+ transition: color $transition-duration-fast;
138
+
139
+ &:hover:not(:disabled) {
140
+ color: $color-primary;
141
+ }
142
+
143
+ &:disabled {
144
+ cursor: not-allowed;
145
+ color: $color-text-disabled;
146
+ }
147
+ }
148
+
149
+ @include e('increase') {
150
+ display: flex;
151
+ align-items: center;
152
+ justify-content: center;
153
+ flex-shrink: 0;
154
+ border: none;
155
+ border-left: 1px solid $border-color-base;
156
+ border-radius: 0 $border-radius-base $border-radius-base 0;
157
+ background-color: $bg-color-page;
158
+ cursor: pointer;
159
+ color: $color-text-secondary;
160
+ transition: color $transition-duration-fast;
161
+
162
+ &:hover:not(:disabled) {
163
+ color: $color-primary;
164
+ }
165
+
166
+ &:disabled {
167
+ cursor: not-allowed;
168
+ color: $color-text-disabled;
169
+ }
170
+ }
171
+
172
+ @include e('controls') {
173
+ display: flex;
174
+ flex-direction: column;
175
+ flex-shrink: 0;
176
+ }
177
+ }
178
+
179
+ .dark {
180
+ .#{$namespace}-input-number {
181
+ background: $bg-color-dark-light;
182
+ border-color: color-mix(in oklab, $bg-color-dark-lighter 82%, $color-text-dark-secondary);
183
+
184
+ &:hover {
185
+ border-color: color-mix(in oklab, $bg-color-dark-lighter 65%, $color-text-dark-secondary);
186
+ }
187
+
188
+ &.is-focus {
189
+ border-color: $color-primary;
190
+ }
191
+
192
+ @include when('disabled') {
193
+ background: $bg-color-dark-lighter;
194
+ }
195
+
196
+ .#{$namespace}-input-number__input {
197
+ color: $color-text-dark;
198
+
199
+ &::placeholder {
200
+ color: $color-text-dark-secondary;
201
+ }
202
+ }
203
+
204
+ .#{$namespace}-input-number__decrease,
205
+ .#{$namespace}-input-number__increase {
206
+ background: $bg-color-dark-lighter;
207
+ color: $color-text-dark-secondary;
208
+ border-color: color-mix(in oklab, $bg-color-dark-lighter 82%, $color-text-dark-secondary);
209
+ }
210
+
211
+ .#{$namespace}-input-number__decrease {
212
+ border-right-color: color-mix(in oklab, $bg-color-dark-lighter 82%, $color-text-dark-secondary);
213
+ }
214
+
215
+ .#{$namespace}-input-number__increase {
216
+ border-left-color: color-mix(in oklab, $bg-color-dark-lighter 82%, $color-text-dark-secondary);
217
+ }
218
+
219
+ @include when('controls-right') {
220
+ .#{$namespace}-input-number__controls {
221
+ border-left-color: color-mix(in oklab, $bg-color-dark-lighter 82%, $color-text-dark-secondary);
222
+ }
223
+
224
+ .#{$namespace}-input-number__increase {
225
+ border-bottom-color: color-mix(in oklab, $bg-color-dark-lighter 82%, $color-text-dark-secondary);
226
+ }
227
+ }
228
+ }
229
+ }
@@ -0,0 +1,119 @@
1
+ @use './variables' as *;
2
+ @use './mixins/bem' as *;
3
+
4
+ @include b('input-tag') {
5
+ position: relative;
6
+ display: inline-block;
7
+ width: 220px;
8
+ max-width: 100%;
9
+
10
+ font-size: $font-size-base;
11
+
12
+ @include m('small') {
13
+ font-size: $font-size-small;
14
+ .#{$namespace}-input-tag__inner { min-height: 28px; }
15
+ .#{$namespace}-input-tag__input { height: 24px; }
16
+ }
17
+
18
+ @include m('default') {
19
+ font-size: $font-size-base;
20
+ .#{$namespace}-input-tag__inner { min-height: 32px; }
21
+ .#{$namespace}-input-tag__input { height: 26px; }
22
+ }
23
+
24
+ @include m('large') {
25
+ font-size: $font-size-medium;
26
+ .#{$namespace}-input-tag__inner { min-height: 40px; }
27
+ .#{$namespace}-input-tag__input { height: 30px; }
28
+ }
29
+
30
+ @include e('inner') {
31
+ display: flex;
32
+ flex-wrap: wrap;
33
+ align-items: center;
34
+ gap: 6px;
35
+ width: 100%;
36
+
37
+ padding: 2px 10px;
38
+ border: 1px solid $border-color-base;
39
+ border-radius: $border-radius-base;
40
+ background: $bg-color;
41
+
42
+ cursor: text;
43
+ transition: border-color $transition-duration-fast;
44
+
45
+ &:hover { border-color: #c0c4cc; }
46
+ }
47
+
48
+ @include e('input') {
49
+ flex: 1 1 60px;
50
+ min-width: 60px;
51
+
52
+ border: none;
53
+ outline: none;
54
+ background: transparent;
55
+
56
+ font-size: inherit;
57
+ color: $color-text-primary;
58
+
59
+ padding: 0;
60
+ margin: 0;
61
+
62
+ &::placeholder { color: $color-text-placeholder; }
63
+
64
+ &:disabled {
65
+ cursor: not-allowed;
66
+ color: $color-text-disabled;
67
+ }
68
+ }
69
+
70
+ &.is-focused {
71
+ .#{$namespace}-input-tag__inner { border-color: $color-primary; }
72
+ }
73
+
74
+ &.is-disabled {
75
+ .#{$namespace}-input-tag__inner {
76
+ background: $bg-color-page;
77
+ cursor: not-allowed;
78
+ &:hover { border-color: $border-color-base; }
79
+ }
80
+ }
81
+
82
+ &.is-readonly {
83
+ .#{$namespace}-input-tag__inner { cursor: default; }
84
+ }
85
+ }
86
+
87
+ .dark {
88
+ .#{$namespace}-input-tag {
89
+ .#{$namespace}-input-tag__inner {
90
+ background: $bg-color-dark-light;
91
+ border-color: color-mix(in oklab, #{$bg-color-dark-lighter} 78%, #{$color-text-dark});
92
+ }
93
+
94
+ .#{$namespace}-input-tag__input {
95
+ color: $color-text-dark;
96
+
97
+ &::placeholder {
98
+ color: $color-text-dark-secondary;
99
+ }
100
+
101
+ &:disabled {
102
+ color: $color-text-dark-secondary;
103
+ }
104
+ }
105
+
106
+ &.is-focused {
107
+ .#{$namespace}-input-tag__inner {
108
+ border-color: $color-primary;
109
+ }
110
+ }
111
+
112
+ &.is-disabled {
113
+ .#{$namespace}-input-tag__inner {
114
+ background: $bg-color-dark-lighter;
115
+ border-color: color-mix(in oklab, #{$bg-color-dark-lighter} 86%, #{$color-text-dark});
116
+ }
117
+ }
118
+ }
119
+ }