@plexui/styles 0.17.5 → 0.17.6
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.
|
@@ -1021,7 +1021,8 @@ background-color: color-mix(in srgb, var(--button-background-color), #fff 22%);
|
|
|
1021
1021
|
colors of their bar (Toolbar.module.css). */
|
|
1022
1022
|
.Button[data-disabled][data-variant] {
|
|
1023
1023
|
--button-background-color: var(--button-mobile-disabled-background, var(--color-background-disabled));
|
|
1024
|
-
|
|
1024
|
+
/* A brand's own disabled label (--button-mobile-disabled-color), else the tertiary label */
|
|
1025
|
+
--button-text-color: var(--button-mobile-disabled-color, var(--mobile-label-tertiary, var(--color-text-disabled)));
|
|
1025
1026
|
}
|
|
1026
1027
|
|
|
1027
1028
|
.Button:is([data-mobile-material="flat"], [data-disabled]:where(:not([data-mobile-material="glass"]))) {
|
|
@@ -1145,7 +1146,8 @@ background-color: color-mix(in srgb, var(--button-background-color), #fff 22%);
|
|
|
1145
1146
|
colors of their bar (Toolbar.module.css). */
|
|
1146
1147
|
:where([data-plex-layout="phone"]) .Button[data-disabled][data-variant] {
|
|
1147
1148
|
--button-background-color: var(--button-mobile-disabled-background, var(--color-background-disabled));
|
|
1148
|
-
|
|
1149
|
+
/* A brand's own disabled label (--button-mobile-disabled-color), else the tertiary label */
|
|
1150
|
+
--button-text-color: var(--button-mobile-disabled-color, var(--mobile-label-tertiary, var(--color-text-disabled)));
|
|
1149
1151
|
}
|
|
1150
1152
|
|
|
1151
1153
|
:where([data-plex-layout="phone"]) .Button:is([data-mobile-material="flat"], [data-disabled]:where(:not([data-mobile-material="glass"]))) {
|
|
@@ -510,7 +510,7 @@
|
|
|
510
510
|
Button drops the material of a disabled button elsewhere; the extra attribute outweighs it and the shared
|
|
511
511
|
disabled color in any style sheet order. */
|
|
512
512
|
.Toolbar :is(.Leading, .Trailing, .Content, .Group) > :where(button, a)[data-disabled][data-variant]:where(:not([data-mobile-material="flat"])):where([data-color="primary"], [data-color="secondary"]):where([data-variant="soft"], [data-variant="ghost"]) {
|
|
513
|
-
--button-text-color: var(--mobile-label-tertiary, var(--color-text-tertiary));
|
|
513
|
+
--button-text-color: var(--button-mobile-disabled-color, var(--mobile-label-tertiary, var(--color-text-tertiary)));
|
|
514
514
|
--button-mobile-material-background: var(--mobile-glass-background);
|
|
515
515
|
--button-mobile-material-sheen: var(--mobile-glass-sheen);
|
|
516
516
|
--button-mobile-material-shadow: var(--mobile-glass-shadow);
|
|
@@ -1790,7 +1790,7 @@
|
|
|
1790
1790
|
Button drops the material of a disabled button elsewhere; the extra attribute outweighs it and the shared
|
|
1791
1791
|
disabled color in any style sheet order. */
|
|
1792
1792
|
:where([data-plex-layout="phone"]) .Toolbar :is(.Leading, .Trailing, .Content, .Group) > :where(button, a)[data-disabled][data-variant]:where(:not([data-mobile-material="flat"])):where([data-color="primary"], [data-color="secondary"]):where([data-variant="soft"], [data-variant="ghost"]) {
|
|
1793
|
-
--button-text-color: var(--mobile-label-tertiary, var(--color-text-tertiary));
|
|
1793
|
+
--button-text-color: var(--button-mobile-disabled-color, var(--mobile-label-tertiary, var(--color-text-tertiary)));
|
|
1794
1794
|
--button-mobile-material-background: var(--mobile-glass-background);
|
|
1795
1795
|
--button-mobile-material-sheen: var(--mobile-glass-sheen);
|
|
1796
1796
|
--button-mobile-material-shadow: var(--mobile-glass-shadow);
|