@shikijs/core 1.1.6 → 1.1.7
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.mjs +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -122,7 +122,7 @@ function splitTokens(tokens, breakpoints) {
|
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
124
|
function applyColorReplacements(color, replacements) {
|
|
125
|
-
return replacements?.[color
|
|
125
|
+
return replacements?.[color?.toLowerCase()] || color;
|
|
126
126
|
}
|
|
127
127
|
function getTokenStyleObject(token) {
|
|
128
128
|
const styles = {};
|