Skip to content

Commit

Permalink
Merge pull request #952 from ThornWalli/renovate/change-case-5.x
Browse files Browse the repository at this point in the history
chore(deps): update dependency change-case to v5
  • Loading branch information
ThornWalli authored Dec 23, 2023
2 parents a00df0a + 19e1a3a commit e24f9ef
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 149 deletions.
148 changes: 4 additions & 144 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"dependencies": {
"@js-basics/vector": "2.1.0",
"abab": "2.0.6",
"change-case": "4.1.2",
"change-case": "5.3.0",
"columnify": "1.6.0",
"firebase": "10.7.1",
"marked": "11.1.0",
Expand Down

0 comments on commit e24f9ef

Please sign in to comment.