Skip to content

Commit 5d56e42

Browse files
authored
fix: replace white with reset (#10104)
1 parent caf00c8 commit 5d56e42

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/vite/src/node/cli.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ cli
103103
const viteStartTime = global.__vite_start_time ?? false
104104
const startupDurationString = viteStartTime
105105
? colors.dim(
106-
`ready in ${colors.white(
106+
`ready in ${colors.reset(
107107
colors.bold(Math.ceil(performance.now() - viteStartTime))
108108
)} ms`
109109
)

packages/vite/src/node/logger.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export function printServerUrls(
153153
info(` ${colors.green('➜')} ${colors.bold('Network')}: ${colorUrl(url)}`)
154154
}
155155
if (urls.network.length === 0 && optionsHost === undefined) {
156-
const note = `use ${colors.white(colors.bold('--host'))} to expose`
156+
const note = `use ${colors.reset(colors.bold('--host'))} to expose`
157157
info(
158158
colors.dim(` ${colors.green('➜')} ${colors.bold('Network')}: ${note}`)
159159
)

0 commit comments

Comments
 (0)