@netfoundry/docusaurus-theme 0.1.4 → 0.1.6

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.
@@ -0,0 +1,20 @@
1
+ /**
2
+ * NetFoundry Docusaurus Theme - Combined Styles
3
+ *
4
+ * This file is automatically loaded by the theme via getClientModules().
5
+ *
6
+ * Consuming projects no longer need to manually add these imports
7
+ * to their custom.css files.
8
+ */
9
+
10
+ /* CSS variables for light mode */
11
+ @import "./vars.css";
12
+
13
+ /* CSS variables for dark mode */
14
+ @import "./vars-dark.css";
15
+
16
+ /* Layout styles */
17
+ @import "./layout.css";
18
+
19
+ /* Legacy design system variables and comprehensive styling */
20
+ @import "./legacy.css";
@@ -0,0 +1,7 @@
1
+ html[data-theme="dark"] {
2
+ /*--nf-docs-max-width: 100px;*/
3
+ /*--nf-docs-main-color: pink;*/
4
+ .container {
5
+ /*background: orange;*/
6
+ }
7
+ }
@@ -0,0 +1,8 @@
1
+ :root {
2
+ --ifm-navbar-height: 50px;
3
+ --nf-docs-max-width: 1400px;
4
+ /*--nf-docs-main-color: purple;*/
5
+ .container {
6
+ /*background: sandybrown;*/
7
+ }
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netfoundry/docusaurus-theme",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "NetFoundry Docusaurus theme with shared layout, footer, and styling",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "scripts": {
12
12
  "clean": "rm -rf dist",
13
13
  "build": "yarn clean && tsc && yarn build:css",
14
- "build:css": "find src -name '*.css' -exec sh -c 'mkdir -p dist/$(dirname {}) && cp {} dist/{}' \\;",
14
+ "build:css": "cp -r css dist/ && find src -name '*.css' -exec sh -c 'mkdir -p dist/$(dirname {}) && cp {} dist/{}' \\;",
15
15
  "test": "jest",
16
16
  "prepublishOnly": "yarn build && yarn test"
17
17
  },