Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 172dd79

Browse files
EladBezalelandrewseguin
authored andcommitted
fix(readability): changed text opacity from .54 to .87 according the spec (#91)
1 parent 537d3d6 commit 172dd79

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/app/pages/component-viewer/_component-viewer-theme.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
$foreground: map-get($theme, foreground);
99

1010
app-component-viewer {
11-
color: mat-color($foreground, secondary-text);
11+
color: mat-color($foreground, text);
1212

1313
.mat-tab-label:focus {
14-
color: mat-color($foreground, secondary-text);
14+
color: mat-color($foreground, text);
1515
}
1616

1717
}

src/styles/_typography-theme.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
.docs-guide-content {
1212
h1 {
1313
color: mat-color($primary, 800);
14-
background: rgba(mat-color($foreground, secondary-text), .03);
14+
background: rgba(mat-color($foreground, text), .03);
1515
}
1616

1717
h3, h2, h4, h5, p, ol, li{
18-
color: mat-color($foreground, secondary-text);
18+
color: mat-color($foreground, text);
1919
}
2020

2121
a {
@@ -27,16 +27,16 @@
2727
}
2828

2929
table tbody th{
30-
border: 1px solid rgba(mat-color($foreground, secondary-text), .03);
30+
border: 1px solid rgba(mat-color($foreground, text), .03);
3131
}
3232

3333
td {
34-
color: mat-color($foreground, secondary-text);
34+
color: mat-color($foreground, text);
3535
border: 1px solid rgba(mat-color($foreground, secondary-text), .03);
3636
}
3737

3838
th {
39-
color: mat-color($foreground, secondary-text);
39+
color: mat-color($foreground, text);
4040
background: rgba(mat-color($foreground, secondary-text), .03);
4141
}
4242
}

0 commit comments

Comments
 (0)