|
10 | 10 | $foreground: map.get($theme, foreground);
|
11 | 11 | $is-dark-theme: map.get($theme, is-dark);
|
12 | 12 |
|
13 |
| - @if $is-dark-theme { |
14 |
| - .docs-api-method-name-cell { |
15 |
| - color: mat.get-color-from-palette($primary, 200); |
16 |
| - } |
17 |
| - |
18 |
| - .docs-api-method-returns-type, |
19 |
| - .docs-api-method-parameter-type { |
20 |
| - color: mat.get-color-from-palette($primary, 200); |
21 |
| - } |
22 |
| - } @else { |
23 |
| - .docs-api-method-name-cell { |
24 |
| - color: mat.get-color-from-palette($primary, 800); |
25 |
| - } |
26 |
| - |
27 |
| - .docs-api-method-returns-type, |
28 |
| - .docs-api-method-parameter-type { |
29 |
| - color: mat.get-color-from-palette($primary, darker); |
30 |
| - } |
| 13 | + .docs-api-method-name-cell { |
| 14 | + color: mat.get-color-from-palette($primary, if($is-dark-theme, 200, 800)); |
| 15 | + } |
| 16 | + |
| 17 | + .docs-api-method-returns-type, |
| 18 | + .docs-api-method-parameter-type { |
| 19 | + color: mat.get-color-from-palette($primary, if($is-dark-theme, 200, darker)); |
31 | 20 | }
|
32 | 21 |
|
33 | 22 | .docs-api-modifier-method-marker {
|
|
47 | 36 | word-break: break-word;
|
48 | 37 | }
|
49 | 38 |
|
| 39 | + .docs-api a { |
| 40 | + color: mat.get-color-from-palette($primary, if($is-dark-theme, 200, default)); |
| 41 | + } |
| 42 | + |
50 | 43 | .docs-api-class-name,
|
51 | 44 | .docs-api-module-import,
|
52 | 45 | .docs-api-class-selector-name,
|
|
0 commit comments