@netfoundry/docusaurus-theme 0.10.3 → 0.10.4

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.
@@ -194,7 +194,8 @@
194
194
  .nf-icon-links {
195
195
  display: flex;
196
196
  align-items: center;
197
- gap: 0.1rem;
197
+ gap: var(--nf-icon-links-gap, 0.25rem);
198
+ padding: var(--nf-icon-links-padding, 0 0.5rem);
198
199
  }
199
200
 
200
201
  .nf-icon-link,
@@ -202,8 +203,8 @@
202
203
  display: flex;
203
204
  align-items: center;
204
205
  justify-content: center;
205
- width: 2rem;
206
- height: 2rem;
206
+ width: var(--nf-icon-link-size, 2rem);
207
+ height: var(--nf-icon-link-size, 2rem);
207
208
  color: var(--ifm-navbar-link-color);
208
209
  text-decoration: none;
209
210
  }
package/css/vars.css CHANGED
@@ -3,6 +3,10 @@
3
3
  --ifm-navbar-padding-vertical: 0;
4
4
  --nf-docs-max-width: 1400px;
5
5
 
6
+ --nf-icon-links-gap: 0.25rem;
7
+ --nf-icon-links-padding: 0 0.5rem;
8
+ --nf-icon-link-size: 2rem;
9
+
6
10
  --nf-color-primary: 119, 194, 252;
7
11
  --nf-color-secondary: 78, 219, 63;
8
12
  --nf-color-tertiary: 3, 92, 230;
@@ -194,7 +194,8 @@
194
194
  .nf-icon-links {
195
195
  display: flex;
196
196
  align-items: center;
197
- gap: 0.1rem;
197
+ gap: var(--nf-icon-links-gap, 0.25rem);
198
+ padding: var(--nf-icon-links-padding, 0 0.5rem);
198
199
  }
199
200
 
200
201
  .nf-icon-link,
@@ -202,8 +203,8 @@
202
203
  display: flex;
203
204
  align-items: center;
204
205
  justify-content: center;
205
- width: 2rem;
206
- height: 2rem;
206
+ width: var(--nf-icon-link-size, 2rem);
207
+ height: var(--nf-icon-link-size, 2rem);
207
208
  color: var(--ifm-navbar-link-color);
208
209
  text-decoration: none;
209
210
  }
package/dist/css/vars.css CHANGED
@@ -3,6 +3,10 @@
3
3
  --ifm-navbar-padding-vertical: 0;
4
4
  --nf-docs-max-width: 1400px;
5
5
 
6
+ --nf-icon-links-gap: 0.25rem;
7
+ --nf-icon-links-padding: 0 0.5rem;
8
+ --nf-icon-link-size: 2rem;
9
+
6
10
  --nf-color-primary: 119, 194, 252;
7
11
  --nf-color-secondary: 78, 219, 63;
8
12
  --nf-color-tertiary: 3, 92, 230;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netfoundry/docusaurus-theme",
3
- "version": "0.10.3",
3
+ "version": "0.10.4",
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",