-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add css autoprefixer #93
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,11 +48,14 @@ | |
"@typescript-eslint/eslint-plugin": "^5.54.1", | ||
"@typescript-eslint/parser": "^5.54.1", | ||
"@vitejs/plugin-vue": "^4.0.0", | ||
"autoprefixer": "^10.4.14", | ||
"browserslist": "^4.21.5", | ||
"eslint": "^8.35.0", | ||
"eslint-config-prettier": "^8.7.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-vue": "^9.9.0", | ||
"husky": "^8.0.3", | ||
"lightningcss": "^1.19.0", | ||
"lint-staged": "^13.1.2", | ||
"prettier": "^2.8.4", | ||
"prettier-plugin-tailwindcss": "^0.2.4", | ||
|
@@ -61,10 +64,11 @@ | |
"sass": "^1.58.3", | ||
"typescript": "^4.6.4", | ||
"unocss": "^0.50.4", | ||
"unocss-preset-autoprefixer": "^0.0.5", | ||
"unocss-preset-daisy": "^2.0.0", | ||
"unplugin-auto-import": "^0.15.1", | ||
"unplugin-vue-components": "^0.24.1", | ||
"vite": "^4.0.0", | ||
"vue-tsc": "^1.0.11" | ||
} | ||
} | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 这段代码补丁添加了三个依赖项:autoprefixer、browserslist和lightningcss,以及一个新的Unocss预设unocss-preset-autoprefixer。此外,还有两个已有的依赖项更新了版本号。 对于这些更改,我有以下建议:
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,7 +85,6 @@ code { | |
|
||
background-color: inherit; | ||
|
||
-webkit-filter: blur(24px); | ||
filter: blur(24px); | ||
} | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 这段代码补丁只是去掉了一个旧的CSS属性 "-webkit-filter: blur(24px);",这个属性在现代浏览器中已经不需要了。删除它不会增加任何风险,因为其他部分的CSS没有改变。如果您想要进一步改进代码,可以考虑优化CSS以提高性能和可维护性。 |
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这是一个关于 ChatGPT-Desktop 项目的代码补丁。以下是我的简要代码审核:
总体来说,这个代码补丁看起来很不错。如果有任何漏洞或改进建议,欢迎提出。