@trops/dash-core 0.1.178 → 0.1.179

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.
@@ -39714,7 +39714,7 @@ function pick(arr) {
39714
39714
  /**
39715
39715
  * Generate a fun theme name based on color families.
39716
39716
  */
39717
- function generateThemeName(primary, secondary) {
39717
+ function generateThemeName$1(primary, secondary) {
39718
39718
  const adjectives = {
39719
39719
  red: "Crimson",
39720
39720
  orange: "Sunset",
@@ -39825,7 +39825,7 @@ function generateRandomTheme() {
39825
39825
  const tertiary = nearestColor(tertiaryHue);
39826
39826
 
39827
39827
  const neutral = pick(NEUTRAL_COLORS);
39828
- const name = generateThemeName(primary, secondary);
39828
+ const name = generateThemeName$1(primary, secondary);
39829
39829
 
39830
39830
  return buildRawTheme(name, primary, secondary, tertiary, neutral);
39831
39831
  }
@@ -39871,7 +39871,7 @@ function generateHarmonyTheme(baseColor, strategy = "complementary") {
39871
39871
  const secondary = nearestColor(secondaryHue);
39872
39872
  const tertiary = nearestColor(tertiaryHue);
39873
39873
  const neutral = pick(NEUTRAL_COLORS);
39874
- const name = generateThemeName(primary, secondary);
39874
+ const name = generateThemeName$1(primary, secondary);
39875
39875
 
39876
39876
  return buildRawTheme(name, primary, secondary, tertiary, neutral);
39877
39877
  }
@@ -39884,7 +39884,7 @@ function generateHarmonyTheme(baseColor, strategy = "complementary") {
39884
39884
  */
39885
39885
  function generateCustomTheme(primary, secondary, tertiary) {
39886
39886
  const neutral = pick(NEUTRAL_COLORS);
39887
- const name = generateThemeName(primary, secondary);
39887
+ const name = generateThemeName$1(primary, secondary);
39888
39888
  return buildRawTheme(name, primary, secondary, tertiary, neutral);
39889
39889
  }
39890
39890
 
@@ -39911,7 +39911,7 @@ var themeGenerator = /*#__PURE__*/Object.freeze({
39911
39911
  generateCustomTheme: generateCustomTheme,
39912
39912
  generateHarmonyTheme: generateHarmonyTheme,
39913
39913
  generateRandomTheme: generateRandomTheme,
39914
- generateThemeName: generateThemeName,
39914
+ generateThemeName: generateThemeName$1,
39915
39915
  getThemePresets: getThemePresets
39916
39916
  });
39917
39917
 
@@ -39926,6 +39926,7 @@ var require$$1 = /*@__PURE__*/getAugmentedNamespace(themeGenerator);
39926
39926
  */
39927
39927
 
39928
39928
  const { TAILWIND_COLORS } = require$$0;
39929
+ const { generateThemeName } = require$$1;
39929
39930
 
39930
39931
  const VALID_HEX_RE = /^#[0-9a-fA-F]{6}$/;
39931
39932
 
@@ -40258,7 +40259,6 @@ function generateThemeFromPalette$1(palette, overrides = {}) {
40258
40259
  }
40259
40260
 
40260
40261
  // Step 3: Generate theme name from families
40261
- const { generateThemeName } = require$$1;
40262
40262
  const themeName = generateThemeName(
40263
40263
  primaryMatch.family,
40264
40264
  secondaryMatch.family,