You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@composes ds-body-text--md from './base/base.css';
8
+
9
+
&[data-size='sm'] {
10
+
@composes ds-body-text--sm from './base/base.css';
11
+
}
12
+
13
+
&[data-size='lg'] {
14
+
@composes ds-body-text--lg from './base/base.css';
15
+
}
16
+
17
+
& [data-field='description'] {
18
+
color:var(--ds-color-neutral-text-subtle); /* TODO: Change to opacity or color-mix(currentColor, trasparent) to ensure contrast when parent element color changes? */
19
+
}
20
+
21
+
/**
22
+
* States
23
+
*/
24
+
&:has([aria-disabled='true'],:disabled) >* {
25
+
cursor: not-allowed;
26
+
opacity:var(--ds-disabled-opacity);
27
+
}
28
+
29
+
&:has([aria-readonly='true'], [readonly]) label {
30
+
--dsc-label--readonly: ; /* Activate lock icon for label when readonly */
0 commit comments