@trimble-oss/modus-docs-hugo-theme 1.0.0-alpha22 → 1.0.0-alpha23

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,29 @@
1
+ @media (forced-colors: active) {
2
+ nav.navbar.sticky-top {
3
+ border-bottom: 1px solid transparent;
4
+ }
5
+
6
+ .col-sidebar {
7
+ border-right: 1px solid transparent;
8
+ }
9
+
10
+ .highlight {
11
+ margin-bottom: 1rem;
12
+ outline: 1px solid transparent;
13
+ }
14
+
15
+ .nav-link.active {
16
+ outline: 1px solid transparent;
17
+ }
18
+ }
19
+
20
+ @media (forced-colors: active) and (prefers-color-scheme: light) {
21
+ nav.navbar.sticky-top .btn svg {
22
+ fill: ButtonText;
23
+ }
24
+
25
+ nav .navbar-brand svg {
26
+ filter: invert(1);
27
+ forced-color-adjust: none;
28
+ }
29
+ }
@@ -8,7 +8,7 @@
8
8
  @import "codefences"; // code syntax highlighting
9
9
  @import "codefences-dark"; // code syntax highlighting
10
10
  @import "javascript-disabled"; // display message at top if JS is disabled
11
- // @import "list-js";
11
+ @import "mq-forced-colors-active"; // forced colors mode
12
12
  @import "sidebar";
13
13
  @import "menu-right"; // 'On this page' menu
14
14
  @import "mobile"; // optimizations for xxs mobile screens
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trimble-oss/modus-docs-hugo-theme",
3
- "version": "1.0.0-alpha22",
3
+ "version": "1.0.0-alpha23",
4
4
  "description": "A Documentation theme for Hugo built by Trimble",
5
5
  "homepage": "https://github.com/trimble-oss/modus-docs-hugo-theme",
6
6
  "bugs": {
@@ -28,7 +28,7 @@
28
28
  "svgo": "npx svgo --folder=\"static/img/icons/\""
29
29
  },
30
30
  "dependencies": {
31
- "@trimble-oss/modus-bootstrap": "2.0.0-alpha30",
31
+ "@trimble-oss/modus-bootstrap": "2.0.0-alpha32",
32
32
  "@trimble-oss/modus-icons": "1.14.0"
33
33
  },
34
34
  "devDependencies": {