perf: 从tailwind.css中移除不常用的@apply

This commit is contained in:
xiaoxian521 2022-09-11 11:35:13 +08:00
parent cdaa4cdba8
commit 230af57c3e
3 changed files with 2 additions and 10 deletions

View File

@ -18,7 +18,7 @@ emitter.on("openPanel", () => {
<template>
<div :class="{ show: show }" class="right-panel-container">
<div class="right-panel-background" />
<div ref="target" class="right-panel bg-white dark:bg-dark">
<div ref="target" class="right-panel bg-bg_color">
<div class="right-panel-items">
<div class="project-configuration">
<h3 class="dark:text-white">项目配置</h3>

View File

@ -3,14 +3,6 @@
@tailwind utilities;
@layer components {
.bg-dark {
@apply bg-bg_color;
}
.wh-full {
@apply w-full h-full;
}
.flex-c {
@apply flex justify-center items-center;
}

View File

@ -67,7 +67,7 @@ dataThemeChange();
</script>
<template>
<div class="wh-full select-none">
<div class="select-none">
<img :src="bg" class="wave" />
<div class="flex-c absolute right-5 top-3">
<!-- 主题 -->