|
@@ -69,10 +69,9 @@ $positions: (
|
|
|
width: $size-home-button;
|
|
|
height: $size-home-button;
|
|
|
margin: 0;
|
|
|
- background-color: $color-white;
|
|
|
+ background-color: theme('colors.surface-page');
|
|
|
border: 2px solid transparent;
|
|
|
border-radius: 50%;
|
|
|
- color: $color-black;
|
|
|
padding: 0;
|
|
|
cursor: pointer;
|
|
|
box-shadow: $box-shadow-props;
|
|
@@ -94,7 +93,7 @@ $positions: (
|
|
|
align-items: center;
|
|
|
background-color: theme('colors.critical.200');
|
|
|
border-radius: theme('borderRadius.full');
|
|
|
- color: $color-white;
|
|
|
+ color: theme('colors.text-button');
|
|
|
font-size: theme('fontSize.14');
|
|
|
line-height: theme('lineHeight.none');
|
|
|
height: theme('spacing.5');
|
|
@@ -103,13 +102,13 @@ $positions: (
|
|
|
inset-inline-end: -5px;
|
|
|
top: -5px;
|
|
|
|
|
|
- @media (forced-colors: $media-forced-colours) {
|
|
|
+ @media (forced-colors: active) {
|
|
|
border: theme('spacing.px') solid ButtonText;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
&:focus {
|
|
|
- outline: $color-focus-outline solid 3px;
|
|
|
+ outline: theme('colors.focus') solid 3px;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -143,7 +142,7 @@ $positions: (
|
|
|
|
|
|
.w-userbar__item {
|
|
|
margin: 0;
|
|
|
- background-color: theme('colors.primary.DEFAULT');
|
|
|
+ background-color: theme('colors.surface-menus');
|
|
|
opacity: 0;
|
|
|
overflow: hidden;
|
|
|
transition-duration: 0.125s;
|
|
@@ -184,7 +183,7 @@ $positions: (
|
|
|
a,
|
|
|
.w-action,
|
|
|
button {
|
|
|
- color: $color-white;
|
|
|
+ color: theme('colors.text-label-menus-default');
|
|
|
display: block;
|
|
|
text-decoration: none;
|
|
|
transform: none;
|
|
@@ -194,12 +193,12 @@ $positions: (
|
|
|
|
|
|
&:hover,
|
|
|
&:focus {
|
|
|
- color: $color-white;
|
|
|
- background-color: rgba(100, 100, 100, 0.15);
|
|
|
+ color: theme('colors.text-label-menus-default');
|
|
|
+ background-color: theme('colors.surface-menu-item-active');
|
|
|
}
|
|
|
|
|
|
&:focus {
|
|
|
- outline: $color-focus-outline solid 3px;
|
|
|
+ outline: theme('colors.focus') solid 3px;
|
|
|
}
|
|
|
|
|
|
&-icon {
|
|
@@ -255,8 +254,8 @@ $positions: (
|
|
|
top: calc(-1 * $size / 2);
|
|
|
inset-inline-end: calc(-1 * $size / 2);
|
|
|
border-radius: theme('borderRadius.full');
|
|
|
- border: 2px solid theme('colors.primary.DEFAULT');
|
|
|
- background: theme('colors.white.DEFAULT');
|
|
|
+ border: 2px solid theme('colors.icon-primary');
|
|
|
+ background: theme('colors.surface-page');
|
|
|
}
|
|
|
|
|
|
.w-dialog__content {
|
|
@@ -287,7 +286,7 @@ $positions: (
|
|
|
}
|
|
|
|
|
|
.w-a11y-result__row {
|
|
|
- border-top: 1px solid theme('colors.grey.100');
|
|
|
+ border-top: 1px solid theme('colors.border-furniture');
|
|
|
}
|
|
|
|
|
|
.w-a11y-result__header {
|
|
@@ -302,7 +301,7 @@ $positions: (
|
|
|
}
|
|
|
|
|
|
.w-a11y-result__name {
|
|
|
- color: theme('colors.primary.200');
|
|
|
+ color: theme('colors.text-label');
|
|
|
}
|
|
|
|
|
|
.w-a11y-result__container {
|
|
@@ -312,7 +311,7 @@ $positions: (
|
|
|
}
|
|
|
|
|
|
.w-a11y-result__subtotal_count {
|
|
|
- color: theme('colors.grey.600');
|
|
|
+ color: theme('colors.text-context');
|
|
|
width: theme('spacing.5');
|
|
|
text-align: center;
|
|
|
}
|
|
@@ -320,8 +319,8 @@ $positions: (
|
|
|
.w-a11y-result__selector {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- background: theme('colors.grey.50');
|
|
|
- color: theme('colors.grey.600');
|
|
|
+ background: theme('colors.surface-header');
|
|
|
+ color: theme('colors.text-context');
|
|
|
border-radius: theme('borderRadius.DEFAULT');
|
|
|
margin-inline-end: theme('spacing.[2.5]');
|
|
|
margin-bottom: theme('spacing.[2.5]');
|
|
@@ -329,22 +328,22 @@ $positions: (
|
|
|
|
|
|
&:hover,
|
|
|
&:focus {
|
|
|
- background: theme('colors.secondary.DEFAULT');
|
|
|
- color: theme('colors.white.DEFAULT');
|
|
|
+ background: theme('colors.surface-button-default');
|
|
|
+ color: theme('colors.text-button');
|
|
|
|
|
|
.w-a11y-result__icon {
|
|
|
- fill: theme('colors.white.DEFAULT');
|
|
|
+ fill: theme('colors.text-button');
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @media (forced-colors: $media-forced-colours) {
|
|
|
+ @media (forced-colors: active) {
|
|
|
border: theme('spacing.px') solid ButtonText;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.w-a11y-result__icon {
|
|
|
flex-shrink: 0;
|
|
|
- fill: theme('colors.secondary.DEFAULT');
|
|
|
+ fill: theme('colors.surface-button-default');
|
|
|
height: theme('spacing.[3.5]');
|
|
|
width: theme('spacing.[3.5]');
|
|
|
margin-inline-end: theme('spacing.[2.5]');
|
|
@@ -362,26 +361,26 @@ $positions: (
|
|
|
line-height: theme('lineHeight.none');
|
|
|
height: theme('spacing.5');
|
|
|
width: theme('spacing.5');
|
|
|
- color: theme('colors.white.DEFAULT');
|
|
|
+ color: theme('colors.text-button');
|
|
|
|
|
|
&.has-errors {
|
|
|
background-color: theme('colors.critical.200');
|
|
|
}
|
|
|
|
|
|
- @media (forced-colors: $media-forced-colours) {
|
|
|
+ @media (forced-colors: active) {
|
|
|
border: theme('spacing.px') solid ButtonText;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
//Media for Windows High Contrast
|
|
|
|
|
|
-@media (forced-colors: $media-forced-colours) {
|
|
|
+@media (forced-colors: active) {
|
|
|
.w-userbar-icon {
|
|
|
- fill: $system-color-link-text;
|
|
|
+ fill: LinkText;
|
|
|
}
|
|
|
|
|
|
.w-userbar__item {
|
|
|
- border: 1px solid $system-color-button-text;
|
|
|
+ border: 1px solid ButtonText;
|
|
|
}
|
|
|
}
|
|
|
|