@getcoherent/core 0.5.10 → 0.5.11
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/index.js +6 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1237,12 +1237,12 @@ function blendColors(hex1, hex2, ratio) {
|
|
|
1237
1237
|
function buildCssVariables(config) {
|
|
1238
1238
|
const light = config.tokens.colors.light;
|
|
1239
1239
|
const dark = config.tokens.colors.dark;
|
|
1240
|
-
const accentVars =
|
|
1240
|
+
const accentVars = ` --accent: ${light.muted};
|
|
1241
1241
|
--accent-foreground: ${light.foreground};
|
|
1242
|
-
|
|
1243
|
-
const accentDarkVars =
|
|
1242
|
+
`;
|
|
1243
|
+
const accentDarkVars = ` --accent: ${dark.muted};
|
|
1244
1244
|
--accent-foreground: ${dark.foreground};
|
|
1245
|
-
|
|
1245
|
+
`;
|
|
1246
1246
|
return `:root {
|
|
1247
1247
|
--background: ${light.background};
|
|
1248
1248
|
--foreground: ${light.foreground};
|
|
@@ -7067,7 +7067,7 @@ export default config
|
|
|
7067
7067
|
--secondary-foreground: ${_ProjectScaffolder.contrastingForeground(light.secondary)};
|
|
7068
7068
|
--muted: ${light.muted};
|
|
7069
7069
|
--muted-foreground: ${_ProjectScaffolder.blendColors(light.foreground, light.background, 0.45)};
|
|
7070
|
-
--accent: ${light.
|
|
7070
|
+
--accent: ${light.muted};
|
|
7071
7071
|
--accent-foreground: ${light.foreground};
|
|
7072
7072
|
--destructive: ${light.error};
|
|
7073
7073
|
--destructive-foreground: ${_ProjectScaffolder.contrastingForeground(light.error)};
|
|
@@ -7094,7 +7094,7 @@ export default config
|
|
|
7094
7094
|
--secondary-foreground: ${_ProjectScaffolder.contrastingForeground(dark.secondary)};
|
|
7095
7095
|
--muted: ${dark.muted};
|
|
7096
7096
|
--muted-foreground: ${_ProjectScaffolder.blendColors(dark.foreground, dark.background, 0.45)};
|
|
7097
|
-
--accent: ${dark.
|
|
7097
|
+
--accent: ${dark.muted};
|
|
7098
7098
|
--accent-foreground: ${dark.foreground};
|
|
7099
7099
|
--destructive: ${dark.error};
|
|
7100
7100
|
--destructive-foreground: ${_ProjectScaffolder.contrastingForeground(dark.error)};
|