fixing appearance='text' selectors in depth styling

This commit is contained in:
Brian Talbot
2024-06-27 11:59:09 -04:00
parent 236ecd0240
commit c4d5e9d2f0
3 changed files with 3 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ wa-button {
--wa-transition-normal: 0ms;
--wa-transition-fast: 0ms;
&:not([variant='text']) {
&:not([appearance='text']) {
--box-shadow: var(--wa-shadow-offset-x-s) var(--wa-shadow-offset-y-s) var(--wa-shadow-blur-s)
var(--box-shadow-color);
margin-bottom: var(--wa-shadow-offset-y-s);

View File

@@ -40,7 +40,7 @@
}
/* #region Buttons */
wa-button:not([variant='text']) {
wa-button:not([appearance='text']) {
--box-shadow: inset 0 0.0625rem 0 0 rgb(255 255 255 / 0.2) /* shine */,
inset 0 0.0625rem 0.125rem 0 rgb(255 255 255 / 0.2) /* inner highlight */,
inset 0 -0.0625rem 0.0625rem 0 rgb(0 0 0 / 0.2) /* inner shadow */, var(--wa-shadow-s) /* outer shadow */;

View File

@@ -97,7 +97,7 @@
/* #endregion */
/* #region Buttons */
wa-button:not([variant='text']) {
wa-button:not([appearance='text']) {
--box-shadow: inset 0 0.0625rem 0 0 rgb(255 255 255 / 0.2) /* shine */,
inset 0 0.125rem 0 0 rgb(255 255 255 / 0.1) /* top highlight */,
inset 0 1.25em 0 0 rgb(255 255 255 / 0.1) /* upper tint */, inset 0 -1.125em 0 0 rgb(0 0 0 / 0.04) /* lower shade */,