-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 切换按钮更新为 input:checkbox - 切换事件变更为 click -> checked - 新增深色模式所需class - 新增运行提示信息
- Loading branch information
Showing
4 changed files
with
63 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
#!/usr/bin/env node | ||
|
||
const {version, description, author, bugs} = require('./package.json') | ||
|
||
console.log(`\x1b[1;32m${description} v${version}\x1b[0m`); | ||
console.log('作者', `林小帅(${author})\n`); | ||
console.log('如有使用问题 Issues ->', `\x1b[34m${bugs.url}\x1b[0m`); | ||
console.log('深色模式为 juejin-theme-devtool 作者私有实现,非官方支持!'); | ||
console.log('深色模式切换的 chrome 插件目前正在开发中……\n'); | ||
|
||
const viewServer = require('./tools/server.js'); | ||
viewServer.run(process.argv.slice(2)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters