diff --git a/packages/ui/src/styles/reset.css b/packages/ui/src/styles/reset.css index 052f7822d..506967517 100644 --- a/packages/ui/src/styles/reset.css +++ b/packages/ui/src/styles/reset.css @@ -9,14 +9,14 @@ @layer acv-reset { *, - ::before, - ::after { + :before, + :after { box-sizing: border-box; background-repeat: no-repeat; } - ::before, - ::after { + :before, + :after { text-decoration: inherit; vertical-align: inherit; } @@ -28,7 +28,7 @@ overflow-wrap: break-word; tab-size: 4; -webkit-tap-highlight-color: transparent; - -webkit-text-size-adjust: 100%; + text-size-adjust: 100%; hanging-punctuation: first last; } @@ -67,12 +67,14 @@ } pre { - font-family: monospace, monospace; + font-family: monospace; + /* stylelint-disable-next-line scale-unlimited/declaration-strict-value */ font-size: 1em; overflow: auto; } small { + /* stylelint-disable-next-line scale-unlimited/declaration-strict-value */ font-size: 80%; } @@ -85,6 +87,7 @@ embed, object { display: block; + /* stylelint-disable-next-line plugin/declaration-block-no-ignored-properties */ vertical-align: middle; align-self: center; } @@ -109,7 +112,8 @@ } code, kbd, samp { - font-family: monospace, monospace; + font-family: monospace; + /* stylelint-disable-next-line scale-unlimited/declaration-strict-value */ font-size: 1em; } @@ -172,7 +176,8 @@ font: inherit; } - ::-webkit-input-placeholder { + /* stylelint-disable-next-line selector-pseudo-element-no-unknown */ + ::input-placeholder { color: inherit; opacity: 0.54; } @@ -209,13 +214,14 @@ } button { - -webkit-appearance: button; + appearance: button; border: 0; background: none; text-align: inherit; } a { + /* stylelint-disable-next-line scale-unlimited/declaration-strict-value */ color: currentcolor; cursor: pointer; text-decoration: none; diff --git a/packages/ui/src/styles/themes/acronis/acronis-dark.pcss b/packages/ui/src/styles/themes/acronis/acronis-dark.pcss index e82aba7e3..d8fde8712 100644 --- a/packages/ui/src/styles/themes/acronis/acronis-dark.pcss +++ b/packages/ui/src/styles/themes/acronis/acronis-dark.pcss @@ -115,5 +115,6 @@ --acv-color-text-status-success: hsl(88deg 85% 24%); --acv-color-text-status-warning: hsl(30deg 50% 37%); --acv-font-family-default: var(--acv-base-font-family-inter) sans-serif; + /* stylelint-disable-next-line scale-unlimited/declaration-strict-value */ color-scheme: dark; } diff --git a/packages/ui/src/styles/themes/acronis/acronis-light.pcss b/packages/ui/src/styles/themes/acronis/acronis-light.pcss index 9da7e05d1..a9f87068d 100644 --- a/packages/ui/src/styles/themes/acronis/acronis-light.pcss +++ b/packages/ui/src/styles/themes/acronis/acronis-light.pcss @@ -115,5 +115,6 @@ --acv-color-text-status-success: hsl(88deg 85% 24%); --acv-color-text-status-warning: hsl(30deg 50% 37%); --acv-font-family-default: var(--acv-base-font-family-inter) sans-serif; + /* stylelint-disable-next-line scale-unlimited/declaration-strict-value */ color-scheme: light; }