@gen3/toolsff 0.12.30 → 0.12.31

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.
@@ -157,7 +157,8 @@ const main = ()=>{
157
157
  for (const [idx, value] of Object.entries(colorType.toReversed())){
158
158
  const colorVar = `mantine-color-${colorName}-${idx}`;
159
159
  const contrastColorVar = `mantine-color-${colorName}-contrast-${idx}`;
160
- const colorVarName = `${colorName}${value !== 'DEFAULT' ? '-' + value : ''}`;
160
+ const baseVarNameDefault = colorName === 'base' && value === 'DEFAULT' ? '-default' : '';
161
+ const colorVarName = `${colorName}${value !== 'DEFAULT' ? '-' + value : baseVarNameDefault}`;
161
162
  const contrastColorVarName = `${colorName}-contrast${value !== 'DEFAULT' ? '-' + value : ''}`;
162
163
  acc[colorVarName] = `var(--${colorVar})`;
163
164
  acc[contrastColorVarName] = `var(--${contrastColorVar})`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gen3/toolsff",
3
- "version": "0.12.30",
3
+ "version": "0.12.31",
4
4
  "description": "tools for processing Gen3 commons content: color theme, icons, sharedFilters",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -48,5 +48,5 @@
48
48
  "axios": "^1.8.2"
49
49
  }
50
50
  },
51
- "gitHead": "edd7f38c4657506f492892403af92ebfafdf4732"
51
+ "gitHead": "f1480c85ec00bb28e897711ff796dfd838ffbe11"
52
52
  }