sfc-utils 1.4.47 → 1.4.48

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.
Files changed (2) hide show
  1. package/nav2.js +5 -0
  2. package/package.json +1 -1
package/nav2.js CHANGED
@@ -118,6 +118,11 @@ let getNav2 = function (
118
118
  invertClass = "invert";
119
119
  color = "black";
120
120
  }
121
+ // Allow option to force white text on black nav
122
+ if (forceColor === "black") {
123
+ invertClass = "";
124
+ color = "white";
125
+ }
121
126
 
122
127
  let subfolder = "";
123
128
  if (meta.PROJECT.SUBFOLDER) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sfc-utils",
3
- "version": "1.4.47",
3
+ "version": "1.4.48",
4
4
  "author": "ewagstaff <evanjwagstaff@gmail.com>",
5
5
  "dependencies": {
6
6
  "archieml": "^0.4.2",