Skip to content

Commit

Permalink
chore: switch to picocolors
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Aug 16, 2024
1 parent 8293819 commit f76cc21
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
4 changes: 2 additions & 2 deletions packages/cli/bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
import fs from 'node:fs';
import path from 'node:path';
import * as p from '@clack/prompts';
import { bold, cyan, grey, yellow } from 'kleur/colors';
import { bold, cyan, gray, yellow } from 'picocolors';
import { create } from './index.js';
import { dist, package_manager } from './utils.js';

const { version } = JSON.parse(fs.readFileSync(new URL('package.json', import.meta.url), 'utf-8'));
let cwd = process.argv[2] || '.';

console.log(`
${grey(`create-svelte version ${version}`)}
${gray(`create-svelte version ${version}`)}
`);

p.intro('Welcome to SvelteKit!');
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"main": "./index.js",
"dependencies": {
"@clack/prompts": "^0.7.0",
"kleur": "^4.1.5"
"picocolors": "^1.0.1"
},
"devDependencies": {
"@types/gitignore-parser": "^0.0.3",
Expand Down
12 changes: 3 additions & 9 deletions pnpm-lock.yaml

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

0 comments on commit f76cc21

Please sign in to comment.