|
18 | 18 | $background: map.get($theme, background); |
19 | 19 | $foreground: map.get($theme, foreground); |
20 | 20 |
|
21 | | - natural-gallery { |
22 | | - .natural-gallery-js .natural-gallery-body .figure { |
23 | | - background-color: mat-color($primary, 0.1); |
24 | | - } |
25 | | - |
26 | | - .natural-gallery-js .natural-gallery-body .figure.errored { |
27 | | - background-color: mat-color($warn, 0.1); |
28 | | - } |
29 | | - |
30 | | - /* Highlighted */ |
31 | | - .natural-gallery-js .natural-gallery-next svg { |
32 | | - color: mat-color($primary) !important; |
33 | | - fill: currentColor !important; |
34 | | - } |
35 | | - |
36 | | - .natural-gallery-js .natural-gallery-next:hover { |
37 | | - background-color: mat-color($foreground, base, 0.1) !important; |
38 | | - } |
39 | | - |
40 | | - .natural-gallery-js .selectBtn .marker { |
41 | | - border-color: mat-color($accent); |
42 | | - } |
43 | | - |
44 | | - .natural-gallery-js .figure.selected .marker { |
45 | | - background: mat-color($accent); |
46 | | - } |
47 | | - |
48 | | - .natural-gallery-js .figure.selected .marker::before, |
49 | | - .natural-gallery-js .figure.selected .marker::after { |
50 | | - background: mat-color($accent, default-contrast); |
51 | | - } |
52 | | - |
53 | | - .natural-gallery-js .button { |
54 | | - background: mat-color($primary) !important; |
55 | | - border-top: 1px solid color.adjust(mat-color($primary), $lightness: 0.9%, $space: hsl); |
56 | | - } |
57 | | - |
58 | | - .natural-gallery-js .button:hover { |
59 | | - background: color.adjust(mat-color($primary), $lightness: -10%, $space: hsl) !important; |
60 | | - } |
| 21 | + .natural-gallery-js { |
| 22 | + --ngjs-figure-radius: 4px; |
| 23 | + --ngjs-focus-outline: 1px solid #{mat-color($accent)}; |
| 24 | + --ngjs-marker-border-color: #{mat-color($accent)}; |
| 25 | + --ngjs-marker-check-color: transparent; |
| 26 | + --ngjs-selected-marker-color: #{mat-color($accent)}; |
| 27 | + --ngjs-selected-marker-check: #{mat-color($accent, default-contrast)}; |
| 28 | + --ngjs-link-bg: rgb(0, 0, 0, 0.7); |
| 29 | + --ngjs-link-color: white; |
| 30 | + --ngjs-link-radius: 4px; |
| 31 | + --ngjs-link-hover-bg: rgb(0, 0, 0); |
| 32 | + --ngjs-link-hover-color: white; |
61 | 33 | } |
62 | 34 | } |
0 commit comments