diff --git a/src/assets/css/style.scss b/src/assets/css/style.scss index 57e43bd6..c9d40cf3 100644 --- a/src/assets/css/style.scss +++ b/src/assets/css/style.scss @@ -29,6 +29,8 @@ html[data-theme='dark'] { //--color-tooltip-bg: rgb(60, 63, 65); --color-tooltip-bg: #252525; --color-font-1: white; + + --color-item-bg: gray; } $anim-time: 0.3s; diff --git a/src/components/ListItem.vue b/src/components/ListItem.vue index 5a3f3d58..85e35786 100644 --- a/src/components/ListItem.vue +++ b/src/components/ListItem.vue @@ -38,8 +38,8 @@ defineEmits<{ .list-item { width: 100%; box-sizing: border-box; - background: white; - color: black; + background: var(--color-item-bg); + color: var(--color-font-1); font-size: 18rem; border-radius: 8rem; display: flex; diff --git a/src/components/Practice/Options.vue b/src/components/Practice/Options.vue index a65dc7cb..e79f9d27 100644 --- a/src/components/Practice/Options.vue +++ b/src/components/Practice/Options.vue @@ -4,6 +4,10 @@ import Tooltip from "@/components/Tooltip.vue"; import IconWrapper from "@/components/IconWrapper.vue"; import {Icon} from "@iconify/vue"; +defineProps<{ + showEdit?: boolean +}>() + const emit = defineEmits<{ remove: [], collect: [], @@ -14,7 +18,7 @@ const emit = defineEmits<{