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

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
+ }
@@ -1,5 +1,5 @@
1
1
  [data-bs-theme="light"] {
2
- article a.btn-primary::after {
2
+ article a.btn-primary:not(.dropdown-toggle)::after {
3
3
  filter: invert(1);
4
4
  }
5
5
  }
@@ -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
@@ -25,7 +25,7 @@
25
25
  </style>
26
26
  {{ end }}
27
27
 
28
- <!-- https://github.com/twbs/bootstrap/blob/v5.3.2/site/layouts/partials/docs-sidebar.html -->
28
+ <!-- https://github.com/twbs/bootstrap/blob/v5.3.3/site/layouts/partials/docs-sidebar.html -->
29
29
  <div>
30
30
  {{- $url := split .Permalink "/" -}}
31
31
  {{- $page_slug := index $url (sub (len $url) 2) -}}
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-alpha24",
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-alpha36",
32
32
  "@trimble-oss/modus-icons": "1.14.0"
33
33
  },
34
34
  "devDependencies": {
@@ -36,10 +36,10 @@
36
36
  "eslint": "8.57.0",
37
37
  "eslint-config-prettier": "9.1.0",
38
38
  "htmlhint": "1.1.4",
39
- "hugo-bin": "0.124.0",
39
+ "hugo-bin": "0.125.2",
40
40
  "postcss": "8.4.38",
41
41
  "postcss-cli": "11.0.0",
42
- "prettier": "3.3.2",
42
+ "prettier": "3.3.3",
43
43
  "stylelint": "16.6.1",
44
44
  "stylelint-config-standard-scss": "13.1.0",
45
45
  "stylelint-order": "6.0.4"