diff --git a/components/calendar/form/Create.vue b/components/calendar/form/Create.vue index 0ea82c5..e6e3c51 100644 --- a/components/calendar/form/Create.vue +++ b/components/calendar/form/Create.vue @@ -2,7 +2,7 @@ import type { Calendar } from "~/models/CalendarConfig"; import { PhAlarm, PhCalendarDots, PhCircleNotch, PhWrench } from "@phosphor-icons/vue"; -const defaultSkeleton: Calendar = { name: "", today: { day: 1, month: 0, year: 0 }, months: [], events: [], state: "draft" } +const defaultSkeleton: Calendar = { name: "", today: { day: 1, month: 0, year: 0 }, months: [], events: [], state: "draft", color: "white" } const calendarSkeleton = ref({ ...defaultSkeleton }) onMounted(() => { @@ -97,7 +97,7 @@ function handleFormCancel() { - + + +
+ + {{ $t('ui.colors.label') }} + + + +
diff --git a/components/world/form/Create.vue b/components/world/form/Create.vue index 13abc64..0693770 100644 --- a/components/world/form/Create.vue +++ b/components/world/form/Create.vue @@ -77,14 +77,6 @@ function handleFormCancel() { class="w-full -my-1 py-1 -mx-1 px-1 min-h-24 max-h-36 text-sm border-b-[1px] bg-transparent focus-visible:outline-none focus-visible:border-blue-600" /> -
- - {{ $t('ui.colors.label') }} - - - -
-
{{ $t('ui.contentState.label') }} @@ -92,6 +84,14 @@ function handleFormCancel() {
+ +
+ + {{ $t('ui.colors.label') }} + + + +