Skip to content

Commit 5a05ee3

Browse files
committed
change dashboard card colors and input background colors
1 parent 00d9d14 commit 5a05ee3

File tree

8 files changed

+11
-12
lines changed

8 files changed

+11
-12
lines changed

resources/js/Components/Dashboard/DashboardCard.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<template>
22
<section class="flex flex-col">
33
<CardTitle :title="title" :icon="icon"></CardTitle>
4-
<div
5-
class="rounded-lg bg-card-background border border-card-border flex-1 flex items-stretch shadow-card">
4+
<div class="rounded-lg border border-card-border flex-1 flex items-stretch">
65
<div class="w-full flex flex-col">
76
<slot></slot>
87
</div>

resources/js/Pages/Dashboard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const refreshDashboardData = () => {
3535
</MainContainer>
3636

3737
<MainContainer
38-
class="grid gap-5 sm:gap-6 grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 pt-3 sm:pt-5 pb-4 sm:pb-6 border-b border-default-background-separator items-stretch">
38+
class="grid gap-2 sm:gap-4 grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 pt-3 sm:pt-5 pb-4 sm:pb-6 border-b border-default-background-separator items-stretch">
3939
<RecentlyTrackedTasksCard></RecentlyTrackedTasksCard>
4040
<LastSevenDaysCard></LastSevenDaysCard>
4141
<ActivityGraphCard></ActivityGraphCard>

resources/js/packages/ui/src/FullCalendar/TimeEntryCalendar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ onUnmounted(() => {
548548
}
549549
550550
.fullcalendar :deep(.fc-day-today.fc-col-header-cell) {
551-
background-color: var(--color-accent-default);
551+
background-color: var(--color-bg-secondary);
552552
}
553553
554554
.fullcalendar :deep(.fc-day-today) {

resources/js/packages/ui/src/Input/Dropdown.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ watch(open, (value) => {
5252
</PopoverTrigger>
5353
<PopoverContent
5454
:align="align"
55-
class="rounded-lg overflow-hidden relative border border-card-border overflow-none shadow-dropdown bg-card-background"
55+
class="rounded-lg overflow-hidden relative border border-card-border overflow-none shadow-dropdown bg-secondary"
5656
@open-auto-focus="handleAutofocus"
5757
@click="onContentClick">
5858
<slot name="content" />

resources/js/packages/ui/src/MainContainer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts"></script>
22

33
<template>
4-
<div class="px-3 sm:px-4 lg:px-8 3xl:px-12 mx-auto">
4+
<div class="px-3 sm:px-4 lg:px-6 mx-auto">
55
<slot></slot>
66
</div>
77
</template>

resources/js/packages/ui/src/TimeTracker/TimeTrackerControls.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ useSelectEvents(
207207
<template>
208208
<div class="flex items-center relative @container" data-testid="dashboard_timer">
209209
<div
210-
class="flex flex-col @2xl:flex-row w-full justify-between rounded-lg bg-card-background border-card-border border transition shadow-card">
210+
class="flex flex-col @2xl:flex-row w-full justify-between rounded-lg bg-secondary border-card-border border transition shadow-card">
211211
<div class="flex flex-1 items-center pr-6 relative">
212212
<input
213213
ref="currentTimeEntryDescriptionInput"

resources/js/packages/ui/src/TimeTracker/TimeTrackerRangeSelector.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ function closeAndFocusInput() {
154154
v-model="currentTime"
155155
placeholder="00:00:00"
156156
data-testid="time_entry_time"
157-
class="w-[110px] lg:w-[130px] h-full text-text-primary py-2.5 rounded-lg border-border-secondary border text-center px-4 text-base lg:text-lg font-semibold bg-card-background border-none placeholder-text-tertiary focus:ring-0 transition"
157+
class="w-[110px] lg:w-[130px] h-full text-text-primary py-2.5 rounded-lg border-border-secondary border text-center px-4 text-base lg:text-lg font-semibold bg-secondary border-none placeholder-text-tertiary focus:ring-0 transition"
158158
type="text"
159159
@focusin="openModalOnTab"
160160
@click="openModalOnClick"

resources/js/packages/ui/styles.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
--theme-color-chart: var(--color-accent-200);
3434

3535
--theme-color-menu-active: var(--color-bg-secondary);
36-
--theme-color-card-background: var(--color-bg-secondary);
36+
--theme-color-card-background: var(--color-bg-primary);
3737
--theme-shadow-card: 0 4px 7px 0px rgb(0 0 0 / 15%);
3838
--theme-shadow-dropdown: 0 4px 7px 0px rgb(0 0 0 / 40%);
3939

@@ -51,7 +51,7 @@
5151
--theme-color-button-primary-border: rgba(var(--color-accent-300), 0.2);
5252
--theme-color-button-primary-text: var(--color-text-primary);
5353

54-
--theme-color-input-background: var(--color-bg-secondary);
54+
--theme-color-input-background: transparent;
5555

5656
--theme-color-input-select-active: rgb(var(--color-accent-300));
5757
--theme-color-input-select-active-hover: rgb(var(--color-accent-200));
@@ -98,7 +98,7 @@
9898
--theme-color-button-primary-border: rgba(var(--color-accent-600), 1);
9999
--theme-color-button-primary-text: #ffffff;
100100

101-
--theme-color-input-background: var(--color-bg-primary);
101+
--theme-color-input-background: transparent;
102102

103103
--theme-color-input-select-active: rgb(var(--color-accent-400));
104104
--theme-color-input-select-active-hover: rgb(var(--color-accent-500));
@@ -187,7 +187,7 @@ body {
187187
--foreground: var(--color-text-primary);
188188
--card: var(--theme-color-card-background);
189189
--card-foreground: var(--color-text-primary);
190-
--popover: var(--theme-color-card-background);
190+
--popover: var(--color-bg-tertiary);
191191
--popover-foreground: var(--color-text-primary);
192192
--primary: var(--color-bg-primary);
193193
--primary-foreground: var(--color-text-primary);

0 commit comments

Comments
 (0)