Skip to content

Commit

Permalink
chore(deps): update dependency change-case to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
ThornWalli committed Dec 23, 2023
1 parent b8c141d commit 19e1a3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/core/classes/Theme.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { paramCase } from 'change-case';
import { kebabCase } from 'change-case';
export const DEFAULT_PALETTE_THEME = 'default';
export const PALETTE_THEMES = {
default: {
Expand Down Expand Up @@ -335,7 +335,7 @@ function generateVars(colors, name = '', result = {}) {
});
return result;
} else {
result[`--${paramCase(name)}`] = colors;
result[`--${kebabCase(name)}`] = colors;
return result;
}
}
Expand Down
4 changes: 2 additions & 2 deletions packages/core/composables/useFonts.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { paramCase } from 'change-case';
import { kebabCase } from 'change-case';
import AmigaTopaz13 from '../assets/fonts/Amiga-Topaz-13/Amiga-Topaz-13.woff2';
import AmigaTopaz13Console from '../assets/fonts/Amiga-Topaz-13-Console/Amiga-Topaz-13-Console.woff2';
import BitFont from '../assets/fonts/BitFont/BitFont.woff2';
Expand All @@ -10,7 +10,7 @@ export default function useFonts() {
.filter(font => font.preload)
.map(font => {
return {
key: `preload-${paramCase(font.fontFamily)}`,
key: `preload-${kebabCase(font.fontFamily)}`,
rel: 'preload',
as: 'font',
href: font.src[0],
Expand Down

0 comments on commit 19e1a3a

Please sign in to comment.