@cloudflare/style-const
Advanced tools
Comparing version 5.3.10 to 5.3.11
@@ -1,2 +0,2 @@ | ||
import variables, { setColorOverride, revertColorOverrides } from './variables'; | ||
import variables from './variables'; | ||
import lightModeColors from './lightModeColors'; | ||
@@ -6,2 +6,3 @@ import darkModeColors from './darkModeColors'; | ||
import { isDarkMode, toggleDarkMode, setDarkMode, observeDarkMode, getDarkModeSetting, DarkModeSettings } from './utils'; | ||
export { variables, variables as theme, isDarkMode, toggleDarkMode, setDarkMode, observeDarkMode, getDarkModeSetting, setColorOverride, revertColorOverrides, lightModeColors, darkModeColors, DarkModeSettings, focusBoxShadow }; | ||
export { variables, variables as theme, isDarkMode, toggleDarkMode, setDarkMode, observeDarkMode, getDarkModeSetting, lightModeColors, darkModeColors, DarkModeSettings, focusBoxShadow }; | ||
export * from './variables'; |
@@ -1,2 +0,2 @@ | ||
import variables, { setColorOverride, revertColorOverrides } from './variables'; | ||
import variables from './variables'; | ||
import lightModeColors from './lightModeColors'; | ||
@@ -6,2 +6,3 @@ import darkModeColors from './darkModeColors'; | ||
import { isDarkMode, toggleDarkMode, setDarkMode, observeDarkMode, getDarkModeSetting, DarkModeSettings } from './utils'; | ||
export { variables, variables as theme, isDarkMode, toggleDarkMode, setDarkMode, observeDarkMode, getDarkModeSetting, setColorOverride, revertColorOverrides, lightModeColors, darkModeColors, DarkModeSettings, focusBoxShadow }; | ||
export { variables, variables as theme, isDarkMode, toggleDarkMode, setDarkMode, observeDarkMode, getDarkModeSetting, lightModeColors, darkModeColors, DarkModeSettings, focusBoxShadow }; | ||
export * from './variables'; |
@@ -8,2 +8,15 @@ "use strict"; | ||
}); | ||
var _exportNames = { | ||
variables: true, | ||
theme: true, | ||
lightModeColors: true, | ||
darkModeColors: true, | ||
focusBoxShadow: true, | ||
isDarkMode: true, | ||
toggleDarkMode: true, | ||
setDarkMode: true, | ||
observeDarkMode: true, | ||
getDarkModeSetting: true, | ||
DarkModeSettings: true | ||
}; | ||
Object.defineProperty(exports, "variables", { | ||
@@ -21,14 +34,2 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "setColorOverride", { | ||
enumerable: true, | ||
get: function get() { | ||
return _variables.setColorOverride; | ||
} | ||
}); | ||
Object.defineProperty(exports, "revertColorOverrides", { | ||
enumerable: true, | ||
get: function get() { | ||
return _variables.revertColorOverrides; | ||
} | ||
}); | ||
Object.defineProperty(exports, "lightModeColors", { | ||
@@ -91,2 +92,13 @@ enumerable: true, | ||
Object.keys(_variables).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; | ||
Object.defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function get() { | ||
return _variables[key]; | ||
} | ||
}); | ||
}); | ||
var _lightModeColors = _interopRequireDefault(require("./lightModeColors")); | ||
@@ -93,0 +105,0 @@ |
{ | ||
"name": "@cloudflare/style-const", | ||
"description": "Cloudflare Style Constants", | ||
"version": "5.3.10", | ||
"version": "5.3.11", | ||
"main": "lib/index.js", | ||
@@ -28,3 +28,3 @@ "module": "es/index.js", | ||
}, | ||
"gitHead": "9f6d165ba934c0302f25907b0a0ca3a0b3bcb8e9" | ||
"gitHead": "edc2cd251ac5fd289d91feda9b5903ee52a63285" | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
154569
1229