Skip to content

Commit 8046f89

Browse files
CSS tweaks for accessibility
1 parent c63080c commit 8046f89

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

apps/fretonator-web/src/app/common/footer/footer.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@
156156
background-color: var(--footer-background);
157157
margin-top: pxToRem($grid-unit * 4);
158158
padding: pxToRem($grid-unit / 2) pxToRem($grid-unit * 2);
159-
color: var(--footer-link-color);
160-
border-color: var(--footer-link-color);
159+
color: var(--footer-small-button-accent-color);
160+
border-color: var(--footer-small-button-accent-color);
161161

162162
&:focus {
163163
border-color: transparent;

apps/fretonator-web/src/app/common/header/header.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
<div class="toggle__container">
2929
<button class="theme__toggle"
30+
aria-label="Toggle dark/light mode"
3031
(click)="toggleTheme()">
3132
<app-moon-svg *ngIf="darkColorMode"></app-moon-svg>
3233
<app-sun-svg *ngIf="!darkColorMode"></app-sun-svg>

apps/fretonator-web/src/app/pages/learn/patterns-index/patterns-index.component.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@
112112

113113
.patterns__cta {
114114
@include hard_button_base(
115-
var(--black),
116-
var(--offwhite),
117-
var(--purple)
115+
var(--card-button-foreground),
116+
var(--card-button-backgorund),
117+
var(--card-button-hover)
118118
);
119119
}

apps/fretonator-web/src/styles.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
--blue: #3993dd;
1313
--turquoise: #73eedc;
1414
--purple: #adb9e3;
15-
--coral: #F67983;
15+
--coral: #ee9198;
1616
--mint: #D9F9A5;
1717

1818
--font-weight-normal: 300;
@@ -46,6 +46,7 @@
4646
--footer-link-color: var(--peach);
4747
--footer-title-color: var(--peach);
4848
--footer-list-link-color: var(--yellow);
49+
--footer-small-button-accent-color: var(--yellow);
4950

5051
--hamburger_layer-color: var(--peach);
5152
--header-link-color: var(--peach);
@@ -172,8 +173,8 @@
172173

173174
--fret-marker-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Ccircle cx='15' cy='15' r='15' fill='%23474350'/%3E%3C/svg%3E");
174175

175-
--note-color: var(--offwhite);
176-
--note-background: #76818E;
176+
--note-color: var(--black);
177+
--note-background: var(--offwhite);
177178

178179
--note-bg-tonic: var(--peach);
179180
--note-color-tonic: var(--black);

0 commit comments

Comments
 (0)