mirror of
https://github.com/pure-admin/pure-admin-thin.git
synced 2025-04-24 23:47:17 +08:00
style: update
This commit is contained in:
parent
2888f8c4f1
commit
20fee1418c
@ -182,7 +182,6 @@ button,
|
|||||||
[type="reset"],
|
[type="reset"],
|
||||||
[type="submit"] {
|
[type="submit"] {
|
||||||
-webkit-appearance: button; /* 1 */
|
-webkit-appearance: button; /* 1 */
|
||||||
background-color: transparent; /* 2 */
|
|
||||||
background-image: none; /* 2 */
|
background-image: none; /* 2 */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,16 +1,7 @@
|
|||||||
import {
|
import { defineConfig, presetUno } from "unocss";
|
||||||
transformerVariantGroup,
|
|
||||||
transformerDirectives,
|
|
||||||
presetAttributify,
|
|
||||||
defineConfig,
|
|
||||||
presetMini,
|
|
||||||
presetUno
|
|
||||||
} from "unocss";
|
|
||||||
|
|
||||||
// https://github.com/unocss/unocss#readme
|
// https://github.com/unocss/unocss#readme
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
presets: [presetMini({ dark: "class" }), presetAttributify(), presetUno()],
|
|
||||||
transformers: [transformerDirectives(), transformerVariantGroup()],
|
|
||||||
// unocss默认不扫描 node_modules、dist、css以及其扩展 具体实现:https://github.com/unocss/unocss/blob/03c8abe8f5020b3baaed3dfbfe8e2258dd041a7e/packages/vite/src/utils.ts#L3
|
// unocss默认不扫描 node_modules、dist、css以及其扩展 具体实现:https://github.com/unocss/unocss/blob/03c8abe8f5020b3baaed3dfbfe8e2258dd041a7e/packages/vite/src/utils.ts#L3
|
||||||
exclude: [
|
exclude: [
|
||||||
"node_modules",
|
"node_modules",
|
||||||
@ -35,6 +26,7 @@ export default defineConfig({
|
|||||||
"CHANGELOG.en_US.md",
|
"CHANGELOG.en_US.md",
|
||||||
"CHANGELOG.zh_CN.md"
|
"CHANGELOG.zh_CN.md"
|
||||||
],
|
],
|
||||||
|
presets: [presetUno({ dark: "class" })],
|
||||||
shortcuts: {
|
shortcuts: {
|
||||||
"bg-dark": "bg-bg_color",
|
"bg-dark": "bg-bg_color",
|
||||||
"wh-full": "w-full h-full",
|
"wh-full": "w-full h-full",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user