@patternfly/documentation-framework 6.26.0 → 6.26.1
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/CHANGELOG.md +8 -0
- package/package.json +3 -3
- package/templates/html.ejs +14 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 6.26.1 (2025-10-08)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @patternfly/documentation-framework
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# 6.26.0 (2025-10-07)
|
|
7
15
|
|
|
8
16
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/documentation-framework",
|
|
3
3
|
"description": "A framework to build documentation for PatternFly.",
|
|
4
|
-
"version": "6.26.
|
|
4
|
+
"version": "6.26.1",
|
|
5
5
|
"author": "Red Hat",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"bin": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@babel/preset-env": "7.27.1",
|
|
13
13
|
"@babel/preset-react": "^7.24.1",
|
|
14
14
|
"@mdx-js/util": "1.6.16",
|
|
15
|
-
"@patternfly/ast-helpers": "^1.4.0-alpha.
|
|
15
|
+
"@patternfly/ast-helpers": "^1.4.0-alpha.286",
|
|
16
16
|
"@reach/router": "npm:@gatsbyjs/reach-router@1.3.9",
|
|
17
17
|
"autoprefixer": "10.4.19",
|
|
18
18
|
"babel-loader": "^9.1.3",
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
"http-cache-semantics": ">=4.1.1",
|
|
96
96
|
"nanoid": "3.3.8"
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "175a84c791db0f38f04dd6c9bf323066f3621ded"
|
|
99
99
|
}
|
package/templates/html.ejs
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="en-US">
|
|
3
3
|
<head>
|
|
4
|
+
<script>
|
|
5
|
+
{
|
|
6
|
+
try {
|
|
7
|
+
let mode = localStorage.getItem('theme-preference');
|
|
8
|
+
if (!mode || mode === 'system') {
|
|
9
|
+
mode = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
|
|
10
|
+
}
|
|
11
|
+
if (mode === 'dark') {
|
|
12
|
+
document.documentElement.classList.add('pf-v6-theme-dark');
|
|
13
|
+
}
|
|
14
|
+
} catch (e) {}
|
|
15
|
+
}
|
|
16
|
+
</script>
|
|
4
17
|
<meta charset="utf-8">
|
|
5
18
|
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
|
|
6
19
|
<meta name="description" content="PatternFly is Red Hat's open source design system. It consists of components, documentation, and code for building enterprise applications at scale.">
|
|
@@ -12,6 +25,7 @@
|
|
|
12
25
|
<link rel="manifest" href="/assets/manifest.json">
|
|
13
26
|
<meta name="mobile-web-app-capable" content="yes">
|
|
14
27
|
<meta name="theme-color" content="#151515">
|
|
28
|
+
<meta name="color-scheme" content="light dark">
|
|
15
29
|
<meta name="application-name" content="PatternFly docs">
|
|
16
30
|
<%= htmlWebpackPlugin.tags.headTags %>
|
|
17
31
|
</head>
|