@trops/dash-core 0.1.569 → 0.1.570
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.
- package/dist/electron/index.js +24 -0
- package/dist/electron/index.js.map +1 -1
- package/dist/index.esm.js +218 -67
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +217 -65
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/electron/index.js
CHANGED
|
@@ -51724,6 +51724,29 @@ function getThemePresets() {
|
|
|
51724
51724
|
];
|
|
51725
51725
|
}
|
|
51726
51726
|
|
|
51727
|
+
/**
|
|
51728
|
+
* Brand presets — curated hex palettes mirroring well-known
|
|
51729
|
+
* products. Surfaced in the theme picker so users can pick
|
|
51730
|
+
* familiar brand identities in one click. Hex values flow
|
|
51731
|
+
* through the arbitrary-color-themes pipeline (PRD US-006).
|
|
51732
|
+
*
|
|
51733
|
+
* Each preset spans all four channels (primary, secondary,
|
|
51734
|
+
* tertiary, neutral). When applied, every theme token resolves
|
|
51735
|
+
* to a brand-equivalent shade via the cssVars map.
|
|
51736
|
+
*/
|
|
51737
|
+
function getBrandPresets() {
|
|
51738
|
+
return [
|
|
51739
|
+
buildRawTheme("Slack Brand", "#4A154B", "#36C5F0", "#ECB22E", "#BCBEC0"),
|
|
51740
|
+
buildRawTheme("Notion Brand", "#2F3437", "#9B6A8C", "#D4845A", "#C1B5A7"),
|
|
51741
|
+
buildRawTheme("GitHub Brand", "#0D1117", "#58A6FF", "#F0883E", "#21262D"),
|
|
51742
|
+
buildRawTheme("Stripe Brand", "#635BFF", "#00D4FF", "#FFD600", "#525F7F"),
|
|
51743
|
+
buildRawTheme("Linear Brand", "#5E6AD2", "#B07FD0", "#E2A8F5", "#1F2026"),
|
|
51744
|
+
buildRawTheme("Discord Brand", "#5865F2", "#57F287", "#FEE75C", "#36393F"),
|
|
51745
|
+
buildRawTheme("Vercel Brand", "#000000", "#0070F3", "#FF0080", "#888888"),
|
|
51746
|
+
buildRawTheme("Figma Brand", "#F24E1E", "#A259FF", "#1ABCFE", "#2C2C2C"),
|
|
51747
|
+
];
|
|
51748
|
+
}
|
|
51749
|
+
|
|
51727
51750
|
// ─── Random Generation ───────────────────────────────────────────────────
|
|
51728
51751
|
|
|
51729
51752
|
function generateRandomTheme() {
|
|
@@ -51827,6 +51850,7 @@ var themeGenerator = /*#__PURE__*/Object.freeze({
|
|
|
51827
51850
|
generateHarmonyTheme: generateHarmonyTheme,
|
|
51828
51851
|
generateRandomTheme: generateRandomTheme,
|
|
51829
51852
|
generateThemeName: generateThemeName$1,
|
|
51853
|
+
getBrandPresets: getBrandPresets,
|
|
51830
51854
|
getThemePresets: getThemePresets
|
|
51831
51855
|
});
|
|
51832
51856
|
|