fix: color

This commit is contained in:
Fine 2023-11-26 19:35:56 +08:00
parent e2be8d2e54
commit bdd69a7d58
2 changed files with 7 additions and 1 deletions

View File

@ -198,6 +198,7 @@ limitations under the License. -->
.new-task { .new-task {
float: right; float: right;
color: $font-color;
} }
.reload { .reload {

View File

@ -18,7 +18,11 @@ limitations under the License. -->
<div class="profile-t-tool"> <div class="profile-t-tool">
<span>{{ t("taskList") }}</span> <span>{{ t("taskList") }}</span>
<span class="new-task cp" @click="createTask"> <span class="new-task cp" @click="createTask">
<Icon :style="{ color: inProcess ? '#ccc' : '#000' }" iconName="library_add" size="middle" /> <Icon
:style="{ color: inProcess ? '#ccc' : appStore.theme === Themes.Dark ? '#fff' : '#000' }"
iconName="library_add"
size="middle"
/>
</span> </span>
</div> </div>
<div class="profile-t-wrapper"> <div class="profile-t-wrapper">
@ -78,6 +82,7 @@ limitations under the License. -->
import { useAppStoreWithOut } from "@/store/modules/app"; import { useAppStoreWithOut } from "@/store/modules/app";
import NewTask from "./NewTask.vue"; import NewTask from "./NewTask.vue";
import { EBPFProfilingTriggerType } from "@/store/data"; import { EBPFProfilingTriggerType } from "@/store/data";
import { Themes } from "@/constants/data";
/*global Nullable */ /*global Nullable */
const { t } = useI18n(); const { t } = useI18n();