Skip to content

Commit

Permalink
Fix contrast accessibility bugs (#2830)
Browse files Browse the repository at this point in the history
* Service360 accessibility bugfixes
  • Loading branch information
ReneOv-MSFT authored Nov 28, 2023
1 parent 8b49582 commit c9ac291
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 9 deletions.
2 changes: 1 addition & 1 deletion desktop/data/themes/classic.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"border": "#919191",
"editor": "vs",
"text": {
"primary": "#323130",
"primary": "#262524",
"secondary": "#666666"
},
"breadcrumb": {
Expand Down
2 changes: 2 additions & 0 deletions desktop/src/@batch-flask/ui/tabs/tab.component.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { Component, ContentChild, Input, TemplateRef, ViewChild } from "@angular/core";

import "./tabs.scss";

@Component({
selector: "bl-tab-label",
template: "<ng-template><ng-content></ng-content></ng-template>",
Expand Down
9 changes: 9 additions & 0 deletions desktop/src/@batch-flask/ui/tabs/tabs.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@import "app/styles/variables";

mat-tab-group {
&:not(.form-tabs) .mat-tab-label.cdk-keyboard-focused {
border-width: 1px;
border-style: solid;
border-color: $button-basic-text-color !important;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ bl-add-certificate-form {
.certificate-deprecation-warning {
> .warning {
background-color: var(--color-warn-50);
// using the color from var(--color-text-primary)
color: #333333;
// Primary text color was not dark enough to contrast with link color. Deepened it 6 shades.
color: #201f1e;

> .summary-container {

Expand All @@ -22,7 +22,6 @@ bl-add-certificate-form {
}

.certificate-warning-alternative-link {
// using the color from var(--color-primary-800);
color: #1d54af;
color: var(--color-primary-600);
}
}
4 changes: 4 additions & 0 deletions desktop/src/app/components/job/details/job-details.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ bl-job-details {
}
}
}

bl-summary-card > .main-tile > .content-container > .content > .details {
color: $primary-text !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ bl-pool-configuration {
.certificate-deprecation-warning {
> .warning {
background-color: var(--color-warn-50);
// using the color from var(--color-text-primary)
color: #333333;
color: #201f1e;

> .summary-container {

Expand All @@ -22,7 +21,6 @@ bl-pool-configuration {
}

.certificate-warning-alternative-link {
// using the color from var(--color-primary-800);
color: #1d54af;
color: var(--color-primary-600);
}
}

0 comments on commit c9ac291

Please sign in to comment.