pict-docuserve 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pict-docuserve.js +3 -3
- package/dist/pict-docuserve.js.map +1 -1
- package/dist/pict-docuserve.min.js +1 -1
- package/dist/pict-docuserve.min.js.map +1 -1
- package/package.json +2 -2
- package/source/views/PictView-Docuserve-Splash.js +3 -1
- package/source/views/PictView-Docuserve-TopBar-Nav.js +5 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pict-docuserve",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "Pict Documentation Server - A single-page documentation viewer built on Pict",
|
|
5
5
|
"main": "source/Pict-Application-Docuserve.js",
|
|
6
6
|
"bin": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"pict-view": "^1.0.68"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"pict-docuserve": "^1.3.
|
|
45
|
+
"pict-docuserve": "^1.3.1",
|
|
46
46
|
"quackage": "^1.2.3"
|
|
47
47
|
},
|
|
48
48
|
"copyFilesSettings": {
|
|
@@ -95,7 +95,9 @@ const _ViewConfiguration =
|
|
|
95
95
|
}
|
|
96
96
|
.docuserve-splash-actions .primary {
|
|
97
97
|
background-color: var(--theme-color-brand-primary, #2E7D74);
|
|
98
|
-
|
|
98
|
+
/* text-on-brand falls to a fixed light hex — never to background-panel,
|
|
99
|
+
which inverts contrast in dark themes (dark text on brand bg). */
|
|
100
|
+
color: var(--theme-color-text-on-brand, #fff);
|
|
99
101
|
}
|
|
100
102
|
.docuserve-splash-actions .primary:hover {
|
|
101
103
|
background-color: var(--theme-color-brand-primary-hover, #236660);
|
|
@@ -36,7 +36,7 @@ const _ViewConfiguration =
|
|
|
36
36
|
}
|
|
37
37
|
.docuserve-nav-links a
|
|
38
38
|
{
|
|
39
|
-
color: var(--theme-color-text-on-brand, var(--theme-color-text-
|
|
39
|
+
color: var(--theme-color-text-on-brand, var(--theme-color-text-primary, #E8E0D4));
|
|
40
40
|
text-decoration: none;
|
|
41
41
|
padding: 0.45em 0.7em;
|
|
42
42
|
border-radius: 4px;
|
|
@@ -47,7 +47,10 @@ const _ViewConfiguration =
|
|
|
47
47
|
.docuserve-nav-links a:hover
|
|
48
48
|
{
|
|
49
49
|
background-color: var(--theme-color-background-hover, rgba(255, 255, 255, 0.06));
|
|
50
|
-
|
|
50
|
+
/* Keep the text token chain on hover — falling to background-panel
|
|
51
|
+
here inverts contrast (dark text on dark hover) in themes that
|
|
52
|
+
don't define text-on-brand (e.g. night, twilight). */
|
|
53
|
+
color: var(--theme-color-text-on-brand, var(--theme-color-text-primary, #ffffff));
|
|
51
54
|
}
|
|
52
55
|
.docuserve-nav-version
|
|
53
56
|
{
|