-
Notifications
You must be signed in to change notification settings - Fork 24.7k
/
_typography-theme.scss
executable file
路44 lines (35 loc) 路 1.09 KB
/
_typography-theme.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
@import '~@angular/material/core/theming/theming';
@mixin docs-site-typography-theme($theme) {
$primary: map-get($theme, primary);
$foreground: map-get($theme, foreground);
.docs-component-viewer-tabbed-content,
.docs-guide-content {
h1 {
color: mat-color($primary, 800);
background: rgba(mat-color($foreground, secondary-text), .03);
}
h3, h2, h4, h5, p, ol, li {
color: mat-color($foreground, secondary-text);
}
a {
color: mat-color($primary);
}
.nav-link:visited {
text-decoration: none;
}
table {
box-shadow: 0 2px 2px rgba(0,0,0,0.24), 0 0 2px rgba(0,0,0,0.12);
}
table > tbody > tr > th {
border: 1px solid rgba(mat-color($foreground, secondary-text), .03);
}
td {
color: mat-color($foreground, secondary-text);
border: 1px solid rgba(mat-color($foreground, secondary-text), .03);
}
th {
color: mat-color($foreground, secondary-text);
background: rgba(mat-color($foreground, secondary-text), .03);
}
}
}