@dialpad/dialtone-css 8.74.0-next.2 → 8.74.0-next.4

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 (139) hide show
  1. package/lib/build/less/components/banner.less +7 -5
  2. package/lib/build/less/components/breadcrumbs.less +17 -16
  3. package/lib/build/less/components/button.less +161 -117
  4. package/lib/build/less/components/card.less +1 -0
  5. package/lib/build/less/components/codeblock.less +35 -11
  6. package/lib/build/less/components/datepicker.less +1 -11
  7. package/lib/build/less/components/empty-state.less +7 -5
  8. package/lib/build/less/components/forms.less +34 -10
  9. package/lib/build/less/components/keyboard-shortcut.less +2 -2
  10. package/lib/build/less/components/loader.less +11 -0
  11. package/lib/build/less/components/notice.less +21 -9
  12. package/lib/build/less/components/pagination.less +0 -5
  13. package/lib/build/less/components/progress_circle.less +60 -0
  14. package/lib/build/less/components/radio-checkbox.less +9 -2
  15. package/lib/build/less/components/scrollbar.less +4 -4
  16. package/lib/build/less/components/selects.less +1 -1
  17. package/lib/build/less/components/table.less +12 -15
  18. package/lib/build/less/components/tabs.less +88 -1
  19. package/lib/build/less/components/text.less +91 -35
  20. package/lib/build/less/components/toast.less +5 -6
  21. package/lib/build/less/dialtone.less +17 -16
  22. package/lib/build/less/recipes/attachment_carousel.less +16 -35
  23. package/lib/build/less/utilities/typography.less +1 -1
  24. package/lib/build/less/variables/sizes.less +2 -2
  25. package/lib/dist/dialtone-default-theme.css +3106 -2766
  26. package/lib/dist/dialtone-default-theme.min.css +1 -1
  27. package/lib/dist/dialtone-docs.json +1 -1
  28. package/lib/dist/dialtone.css +3083 -2744
  29. package/lib/dist/dialtone.min.css +1 -1
  30. package/lib/dist/tokens/tokens-101-dark.css +19 -19
  31. package/lib/dist/tokens/tokens-101-light.css +11 -11
  32. package/lib/dist/tokens/tokens-102-dark.css +19 -19
  33. package/lib/dist/tokens/tokens-102-light.css +11 -11
  34. package/lib/dist/tokens/tokens-103-dark.css +19 -19
  35. package/lib/dist/tokens/tokens-103-light.css +11 -11
  36. package/lib/dist/tokens/tokens-104-dark.css +19 -19
  37. package/lib/dist/tokens/tokens-104-light.css +11 -11
  38. package/lib/dist/tokens/tokens-105-dark.css +19 -19
  39. package/lib/dist/tokens/tokens-105-light.css +11 -11
  40. package/lib/dist/tokens/tokens-106-dark.css +19 -19
  41. package/lib/dist/tokens/tokens-106-light.css +11 -11
  42. package/lib/dist/tokens/tokens-107-dark.css +19 -19
  43. package/lib/dist/tokens/tokens-107-light.css +11 -11
  44. package/lib/dist/tokens/tokens-108-dark.css +19 -19
  45. package/lib/dist/tokens/tokens-108-light.css +11 -11
  46. package/lib/dist/tokens/tokens-109-dark.css +19 -19
  47. package/lib/dist/tokens/tokens-109-light.css +11 -11
  48. package/lib/dist/tokens/tokens-110-dark.css +19 -19
  49. package/lib/dist/tokens/tokens-110-light.css +11 -11
  50. package/lib/dist/tokens/tokens-111-dark.css +19 -19
  51. package/lib/dist/tokens/tokens-111-light.css +11 -11
  52. package/lib/dist/tokens/tokens-112-dark.css +19 -19
  53. package/lib/dist/tokens/tokens-112-light.css +11 -11
  54. package/lib/dist/tokens/tokens-113-dark.css +19 -19
  55. package/lib/dist/tokens/tokens-113-light.css +11 -11
  56. package/lib/dist/tokens/tokens-114-dark.css +19 -19
  57. package/lib/dist/tokens/tokens-114-light.css +11 -11
  58. package/lib/dist/tokens/tokens-115-dark.css +19 -19
  59. package/lib/dist/tokens/tokens-115-light.css +11 -11
  60. package/lib/dist/tokens/tokens-116-dark.css +19 -19
  61. package/lib/dist/tokens/tokens-116-light.css +11 -11
  62. package/lib/dist/tokens/tokens-117-dark.css +19 -19
  63. package/lib/dist/tokens/tokens-117-light.css +11 -11
  64. package/lib/dist/tokens/tokens-118-dark.css +19 -19
  65. package/lib/dist/tokens/tokens-118-light.css +11 -11
  66. package/lib/dist/tokens/tokens-119-dark.css +19 -19
  67. package/lib/dist/tokens/tokens-119-light.css +11 -11
  68. package/lib/dist/tokens/tokens-120-dark.css +19 -19
  69. package/lib/dist/tokens/tokens-120-light.css +11 -11
  70. package/lib/dist/tokens/tokens-121-dark.css +19 -19
  71. package/lib/dist/tokens/tokens-121-light.css +11 -11
  72. package/lib/dist/tokens/tokens-122-dark.css +19 -19
  73. package/lib/dist/tokens/tokens-122-light.css +11 -11
  74. package/lib/dist/tokens/tokens-123-dark.css +19 -19
  75. package/lib/dist/tokens/tokens-123-light.css +11 -11
  76. package/lib/dist/tokens/tokens-124-dark.css +19 -19
  77. package/lib/dist/tokens/tokens-124-light.css +11 -11
  78. package/lib/dist/tokens/tokens-125-dark.css +19 -19
  79. package/lib/dist/tokens/tokens-125-light.css +11 -11
  80. package/lib/dist/tokens/tokens-126-dark.css +19 -19
  81. package/lib/dist/tokens/tokens-126-light.css +11 -11
  82. package/lib/dist/tokens/tokens-127-dark.css +19 -19
  83. package/lib/dist/tokens/tokens-127-light.css +11 -11
  84. package/lib/dist/tokens/tokens-128-dark.css +19 -19
  85. package/lib/dist/tokens/tokens-128-light.css +11 -11
  86. package/lib/dist/tokens/tokens-129-dark.css +19 -19
  87. package/lib/dist/tokens/tokens-129-light.css +11 -11
  88. package/lib/dist/tokens/tokens-130-dark.css +19 -19
  89. package/lib/dist/tokens/tokens-130-light.css +11 -11
  90. package/lib/dist/tokens/tokens-131-dark.css +19 -19
  91. package/lib/dist/tokens/tokens-131-light.css +11 -11
  92. package/lib/dist/tokens/tokens-132-dark.css +19 -19
  93. package/lib/dist/tokens/tokens-132-light.css +11 -11
  94. package/lib/dist/tokens/tokens-133-dark.css +19 -19
  95. package/lib/dist/tokens/tokens-133-light.css +11 -11
  96. package/lib/dist/tokens/tokens-134-dark.css +19 -19
  97. package/lib/dist/tokens/tokens-134-light.css +11 -11
  98. package/lib/dist/tokens/tokens-135-dark.css +19 -19
  99. package/lib/dist/tokens/tokens-135-light.css +11 -11
  100. package/lib/dist/tokens/tokens-136-dark.css +19 -19
  101. package/lib/dist/tokens/tokens-136-light.css +11 -11
  102. package/lib/dist/tokens/tokens-137-dark.css +19 -19
  103. package/lib/dist/tokens/tokens-137-light.css +11 -11
  104. package/lib/dist/tokens/tokens-aegean-dark.css +19 -19
  105. package/lib/dist/tokens/tokens-aegean-light.css +11 -11
  106. package/lib/dist/tokens/tokens-base-dark.css +12 -11
  107. package/lib/dist/tokens/tokens-base-light.css +12 -11
  108. package/lib/dist/tokens/tokens-botany-dark.css +19 -19
  109. package/lib/dist/tokens/tokens-botany-light.css +11 -11
  110. package/lib/dist/tokens/tokens-buttercream-dark.css +19 -19
  111. package/lib/dist/tokens/tokens-buttercream-light.css +11 -11
  112. package/lib/dist/tokens/tokens-ceruleo-dark.css +19 -19
  113. package/lib/dist/tokens/tokens-ceruleo-light.css +11 -11
  114. package/lib/dist/tokens/tokens-debug-base.css +12 -11
  115. package/lib/dist/tokens/tokens-debug-dp.css +9 -9
  116. package/lib/dist/tokens/tokens-dp-dark.css +19 -19
  117. package/lib/dist/tokens/tokens-dp-light.css +11 -11
  118. package/lib/dist/tokens/tokens-expressive-dark.css +19 -19
  119. package/lib/dist/tokens/tokens-expressive-light.css +11 -11
  120. package/lib/dist/tokens/tokens-expressive-sm-dark.css +19 -19
  121. package/lib/dist/tokens/tokens-expressive-sm-light.css +11 -11
  122. package/lib/dist/tokens/tokens-high-desert-dark.css +19 -19
  123. package/lib/dist/tokens/tokens-high-desert-light.css +11 -11
  124. package/lib/dist/tokens/tokens-melon-dark.css +19 -19
  125. package/lib/dist/tokens/tokens-melon-light.css +11 -11
  126. package/lib/dist/tokens/tokens-plum-dark.css +19 -19
  127. package/lib/dist/tokens/tokens-plum-light.css +11 -11
  128. package/lib/dist/tokens/tokens-prota-deuter-dark.css +18 -18
  129. package/lib/dist/tokens/tokens-prota-deuter-light.css +11 -11
  130. package/lib/dist/tokens/tokens-sunflower-dark.css +19 -19
  131. package/lib/dist/tokens/tokens-sunflower-light.css +11 -11
  132. package/lib/dist/tokens/tokens-tmo-dark.css +19 -19
  133. package/lib/dist/tokens/tokens-tmo-light.css +11 -11
  134. package/lib/dist/tokens/tokens-trita-dark.css +19 -19
  135. package/lib/dist/tokens/tokens-trita-light.css +11 -11
  136. package/lib/dist/tokens/tokens-verdant-haze-dark.css +19 -19
  137. package/lib/dist/tokens/tokens-verdant-haze-light.css +11 -11
  138. package/lib/dist/tokens-docs.json +1 -1
  139. package/package.json +2 -2
@@ -22,35 +22,72 @@
22
22
  // $ TEXT STYLES
23
23
  // ----------------------------------------------------------------------------
24
24
 
25
+ // the extra `.d-text` is to tick up specificity to (0,2,0), but not as high as
26
+ // as a CSS utility with `!important` which has specificity of (0,2,1)
27
+
25
28
  &-headline {
26
- &--3xl { font: var(--dt-text-headline-3xl); }
27
- &--2xl { font: var(--dt-text-headline-2xl); }
28
- &--xl { font: var(--dt-text-headline-xl); }
29
- &--lg { font: var(--dt-text-headline-lg); }
30
- &--md { font: var(--dt-text-headline-md); }
31
- &--sm { font: var(--dt-text-headline-sm); }
32
- &--xs { font: var(--dt-text-headline-xs); }
29
+ &--3xl,
30
+ &--3xl.d-text { font: var(--dt-text-headline-3xl); }
31
+
32
+ &--2xl,
33
+ &--2xl.d-text { font: var(--dt-text-headline-2xl); }
34
+
35
+ &--xl,
36
+ &--xl.d-text { font: var(--dt-text-headline-xl); }
37
+
38
+ &--lg,
39
+ &--lg.d-text { font: var(--dt-text-headline-lg); }
40
+
41
+ &--md,
42
+ &--md.d-text { font: var(--dt-text-headline-md); }
43
+
44
+ &--sm,
45
+ &--sm.d-text { font: var(--dt-text-headline-sm); }
46
+
47
+ &--xs,
48
+ &--xs.d-text { font: var(--dt-text-headline-xs); }
33
49
  }
34
50
 
35
51
  &-body {
36
- &--lg { font: var(--dt-text-body-lg); }
37
- &--md { font: var(--dt-text-body-md); }
38
- &--sm { font: var(--dt-text-body-sm); }
39
- &--xs { font: var(--dt-text-body-xs); }
52
+ &--lg,
53
+ &--lg.d-text { font: var(--dt-text-body-lg); }
54
+
55
+ &--md,
56
+ &--md.d-text { font: var(--dt-text-body-md); }
57
+
58
+ &--sm,
59
+ &--sm.d-text { font: var(--dt-text-body-sm); }
60
+
61
+ &--xs,
62
+ &--xs.d-text { font: var(--dt-text-body-xs); }
40
63
  }
41
64
 
42
65
  &-label {
43
- &--lg { font: var(--dt-text-label-lg); }
44
- &--md { font: var(--dt-text-label-md); }
45
- &--sm { font: var(--dt-text-label-sm); }
46
- &--xs { font: var(--dt-text-label-xs); }
66
+ &--lg,
67
+ &--lg.d-text { font: var(--dt-text-label-lg); }
68
+
69
+ &--md,
70
+ &--md.d-text { font: var(--dt-text-label-md); }
71
+
72
+ &--sm,
73
+ &--sm.d-text { font: var(--dt-text-label-sm); }
74
+
75
+ &--xs,
76
+ &--xs.d-text { font: var(--dt-text-label-xs); }
47
77
  }
48
78
 
49
79
  &-code {
50
- &--lg { font: var(--dt-text-code-lg); }
51
- &--md { font: var(--dt-text-code-md); }
52
- &--sm { font: var(--dt-text-code-sm); }
53
- &--xs { font: var(--dt-text-code-xs); }
80
+ &--lg,
81
+ &--lg.d-text { font: var(--dt-text-code-lg); }
82
+
83
+ &--md,
84
+ &--md.d-text { font: var(--dt-text-code-md); }
85
+
86
+ &--sm,
87
+ &--sm.d-text { font: var(--dt-text-code-sm); }
88
+
89
+ &--xs,
90
+ &--xs.d-text { font: var(--dt-text-code-xs); }
54
91
  }
55
92
 
56
93
  // ============================================================================
@@ -79,10 +116,10 @@
79
116
  // $ NUMERIC
80
117
  // ----------------------------------------------------------------------------
81
118
 
82
- &--numeric {
83
- &.d-text { // tick up specificity to overcome `font` property of `d-body-[variant]`, `d-header-[variant]`, etc.
84
- font-variant-numeric: tabular-nums;
85
- }
119
+ &--numeric,
120
+ &--numeric.d-text {
121
+ // tick up specificity to overcome `font` property of `d-body-[variant]`, `d-header-[variant]`, etc.
122
+ font-variant-numeric: tabular-nums;
86
123
  }
87
124
 
88
125
  // ============================================================================
@@ -93,9 +130,9 @@
93
130
  --dt-text-line-clamp: 1;
94
131
 
95
132
  display: -webkit-box;
133
+ overflow: hidden;
96
134
  -webkit-line-clamp: var(--dt-text-line-clamp);
97
135
  -webkit-box-orient: vertical;
98
- overflow: hidden;
99
136
  }
100
137
 
101
138
  // ============================================================================
@@ -147,16 +184,35 @@
147
184
  // $ FONT STYLE MODIFIERS
148
185
  // ----------------------------------------------------------------------------
149
186
 
150
- &--fw-bold { font-weight: var(--dt-font-weight-bold); }
151
- &--fw-semibold { font-weight: var(--dt-font-weight-semi-bold); }
152
- &--fw-medium { font-weight: var(--dt-font-weight-medium); }
153
- &--fw-normal { font-weight: var(--dt-font-weight-normal); }
154
-
155
- &--lh-100 { line-height: var(--dt-font-line-height-100); }
156
- &--lh-200 { line-height: var(--dt-font-line-height-200); }
157
- &--lh-300 { line-height: var(--dt-font-line-height-300); }
158
- &--lh-400 { line-height: var(--dt-font-line-height-400); }
159
- &--lh-500 { line-height: var(--dt-font-line-height-500); }
160
- &--lh-600 { line-height: var(--dt-font-line-height-600); }
187
+ &--fw-bold,
188
+ &--fw-bold.d-text { font-weight: var(--dt-font-weight-bold); }
189
+
190
+ &--fw-semibold,
191
+ &--fw-semibold.d-text { font-weight: var(--dt-font-weight-semi-bold); }
192
+
193
+ &--fw-medium,
194
+ &--fw-medium.d-text { font-weight: var(--dt-font-weight-medium); }
195
+
196
+ &--fw-normal,
197
+ &--fw-normal.d-text { font-weight: var(--dt-font-weight-normal); }
198
+
199
+
200
+ &--lh-100,
201
+ &--lh-100.d-text { line-height: var(--dt-font-line-height-100); }
202
+
203
+ &--lh-200,
204
+ &--lh-200.d-text { line-height: var(--dt-font-line-height-200); }
205
+
206
+ &--lh-300,
207
+ &--lh-300.d-text { line-height: var(--dt-font-line-height-300); }
208
+
209
+ &--lh-400,
210
+ &--lh-400.d-text { line-height: var(--dt-font-line-height-400); }
211
+
212
+ &--lh-500,
213
+ &--lh-500.d-text { line-height: var(--dt-font-line-height-500); }
214
+
215
+ &--lh-600,
216
+ &--lh-600.d-text { line-height: var(--dt-font-line-height-600); }
161
217
  }
162
218
  }
@@ -38,7 +38,7 @@
38
38
  pointer-events: all;
39
39
 
40
40
  // If there's a link in a toast, break the url so it wraps
41
- > a {
41
+ > :where(a) {
42
42
  word-break: break-all;
43
43
  }
44
44
 
@@ -60,10 +60,9 @@
60
60
  .d-toast__dialog {
61
61
  position: relative;
62
62
  display: flex;
63
- align-items: center;
63
+ align-items: start;
64
64
 
65
-
66
- .d-notice__actions button:first-child {
65
+ .d-notice__actions :where(button:first-child) {
67
66
  margin-inline-start: var(--dt-size-600); // 32
68
67
  }
69
68
  }
@@ -160,7 +159,7 @@
160
159
  pointer-events: all;
161
160
 
162
161
  // If there's a link in a toast, break the url so it wraps
163
- > a {
162
+ > :where(a) {
164
163
  word-break: break-all;
165
164
  }
166
165
 
@@ -212,7 +211,7 @@
212
211
  inline-size: var(--dt-size-100-percent);
213
212
 
214
213
 
215
- .d-notice__actions button:first-child {
214
+ .d-notice__actions :where(button:first-child) {
216
215
  margin-inline-start: var(--dt-size-600); // 32
217
216
  }
218
217
  }
@@ -17,13 +17,20 @@
17
17
  @import 'components/root-layout';
18
18
  @import 'components/stack';
19
19
  @import 'components/text';
20
+ @import 'components/link';
20
21
  @import 'components/item-layout';
21
22
  @import 'components/avatar';
22
- @import 'components/badge';
23
- @import 'components/breadcrumbs';
24
23
  @import 'components/button';
25
- @import 'components/card';
24
+ @import 'components/badge';
26
25
  @import 'components/chip';
26
+ @import 'components/keyboard-shortcut';
27
+ @import 'components/mode-island';
28
+ @import 'components/table';
29
+ @import 'components/toggle';
30
+ @import 'components/presence';
31
+ @import 'components/icon';
32
+ @import 'components/emoji';
33
+ @import 'components/emoji-text-wrapper';
27
34
  @import 'components/codeblock';
28
35
  @import 'components/collapsible';
29
36
  @import 'components/combobox';
@@ -31,36 +38,30 @@
31
38
  @import 'components/dropdown';
32
39
  @import 'components/description-list';
33
40
  @import 'components/empty-state';
34
- @import 'components/forms';
35
- @import 'components/image-viewer';
36
41
  @import 'components/input';
37
- @import 'components/keyboard-shortcut';
38
- @import 'components/link';
42
+ @import 'components/selects';
43
+ @import 'components/image-viewer';
44
+ @import 'components/forms';
45
+ @import 'components/tooltip';
46
+ @import 'components/card';
47
+ @import 'components/breadcrumbs';
39
48
  @import 'components/list-group'; // Dialtone 5 shim
40
49
  @import 'components/list-item-group';
41
50
  @import 'components/list-item';
42
51
  @import 'components/loader';
43
- @import 'components/mode-island';
44
52
  @import 'components/modal';
45
53
  @import 'components/notice';
46
54
  @import 'components/toast';
47
55
  @import 'components/banner';
48
56
  @import 'components/pagination';
49
57
  @import 'components/popover';
58
+ @import 'components/progress_circle';
50
59
  @import 'components/radio-checkbox';
51
60
  @import 'components/rich-text-editor';
52
61
  @import 'components/scroller';
53
- @import 'components/selects';
54
62
  @import 'components/skeleton';
55
- @import 'components/table';
56
63
  @import 'components/tabs';
57
- @import 'components/tooltip';
58
- @import 'components/toggle';
59
- @import 'components/presence';
60
- @import 'components/icon';
61
64
  @import 'components/scrollbar';
62
- @import 'components/emoji';
63
- @import 'components/emoji-text-wrapper';
64
65
  @import 'components/emoji-picker';
65
66
  @import 'components/filter-pill';
66
67
 
@@ -19,11 +19,16 @@
19
19
  .d-recipe-attachment-carousel__arrow {
20
20
  position: absolute;
21
21
  inset-block-start: var(--dt-size-30-percent);
22
- background-color: var(--dt-color-neutral-white);
22
+ color: var(--dt-color-foreground-tertiary-inverted);
23
+ background-color: var(--dt-color-surface-strong);
23
24
  border: var(--dt-size-100) solid;
24
- border-color: var(--bc-default);
25
+ border-color: var(--dt-color-border-moderate-inverted);
25
26
  border-width: var(--dt-size-100);
26
27
  opacity: 0;
28
+
29
+ &:hover {
30
+ color: var(--dt-color-foreground-primary-inverted);
31
+ }
27
32
  }
28
33
 
29
34
  .d-recipe-attachment-carousel:hover .d-recipe-attachment-carousel__arrow {
@@ -46,12 +51,13 @@
46
51
  position: absolute;
47
52
  inset-block-start: inherit;
48
53
  inset-inline-end: inherit;
49
- color: var(--dt-color-neutral-white);
50
- background-color: var(--dt-color-black-400);
51
- border: var(--dt-size-100) solid;
52
- border-color: var(--dt-color-neutral-white);
53
- border-width: var(--dt-size-200);
54
+ color: var(--dt-color-foreground-tertiary-inverted);
55
+ background-color: var(--dt-color-surface-strong);
54
56
  opacity: 0;
57
+
58
+ &:hover {
59
+ color: var(--dt-color-foreground-primary-inverted);
60
+ }
55
61
  }
56
62
 
57
63
  .d-recipe-attachment-carousel__image:focus-within .d-recipe-attachment-carousel__image-close-button, .d-recipe-attachment-carousel__image:hover .d-recipe-attachment-carousel__image-close-button {
@@ -79,33 +85,8 @@
79
85
  inset-block-start: inherit;
80
86
  inset-inline-end: inherit;
81
87
  display: flex;
82
- background-color: var(--dt-color-neutral-white);
83
- border: var(--dt-size-100) solid;
84
- border-color: var(--dt-color-border-subtle);
85
- border-width: var(--dt-size-200);
86
- border-radius: 50%;
87
- transform: rotate(-90deg);
88
- }
89
-
90
- .d-recipe-attachment-carousel__progress-bar {
91
- inline-size: var(--dt-size-550);
92
- block-size: var(--dt-size-550);
93
- }
94
-
95
- .d-recipe-attachment-carousel__progress-bar-circle {
96
- fill: none;
97
- stroke-width: 2;
98
- stroke-dasharray: var(--stroke-dasharray);
99
- }
100
-
101
- .d-recipe-attachment-carousel__progress-bar-circle:nth-child(1) {
102
- stroke: var(--dt-color-black-100);
103
- stroke-dashoffset: 0;
104
- }
105
-
106
- .d-recipe-attachment-carousel__progress-bar-circle:nth-child(2) {
107
- transition: stroke-dashoffset 500ms linear;
108
- stroke: var(--dt-color-purple-800);
109
- stroke-dashoffset: var(--stroke-dashoffset);
88
+ padding: var(--dt-size-300);
89
+ background-color: var(--dt-color-surface-moderate);
90
+ border-radius: var(--dt-size-radius-circle);
110
91
  }
111
92
  }
@@ -52,7 +52,7 @@ ul {
52
52
  }
53
53
  }
54
54
 
55
- @layer dialtone.components {
55
+ @layer dialtone.base {
56
56
  // ============================================================================
57
57
  // $ HEADLINE STYLES
58
58
  // ----------------------------------------------------------------------------
@@ -11,7 +11,7 @@
11
11
  // ----------------------------------------------------------------------------
12
12
 
13
13
  #d-internal__input-and-select-xs() {
14
- --input-padding-y: calc(calc(var(--dt-size-400) - var(--dt-size-100)) - var(--input-border-width));
14
+ --input-padding-y: calc(calc(var(--dt-size-350) - var(--dt-size-100)) - var(--input-border-width));
15
15
  --input-padding-x: calc(var(--dt-size-400) - var(--input-border-width));
16
16
  --input-border-radius: var(--dt-inputs-size-radius-xs);
17
17
  --input-typography: var(--dt-typography-inputs-xs);
@@ -25,7 +25,7 @@
25
25
  // $$ SMALL
26
26
  // ----------------------------------------------------------------------------
27
27
  #d-internal__input-and-select-sm() {
28
- --input-padding-y: calc(var(--dt-size-400) - var(--input-border-width));
28
+ --input-padding-y: calc(var(--dt-size-350) - var(--input-border-width));
29
29
  --input-padding-x: calc((var(--dt-size-500) - var(--dt-size-300)) - var(--input-border-width));
30
30
  --input-typography: var(--dt-typography-inputs-sm);
31
31
  --input-border-radius: var(--dt-inputs-size-radius-sm);