Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
:class="[
'w-5 h-5 rounded-full border-2 flex items-center justify-center transition-all duration-200',
modelValue
? 'bg-blue-500 border-blue-500'
? 'bg-blue-500 border-blue-500 dark:bg-primary dark:border-primary'
: overdue
? 'border-red-500'
: 'border-gray-300',
: 'border-gray-300 dark:border-muted-foreground',
disabled && !overdue && 'opacity-50'
]"
>
<Check
v-if="modelValue"
:size="14"
class="text-white"
class="text-white dark:text-primary-foreground"
:stroke-width="3"
/>
</div>
Expand Down Expand Up @@ -104,4 +104,16 @@ const handleChange = (event: Event) => {
font-size: 0.875rem;
color: #374151;
}

.dark .round-checkbox__label {
color: var(--foreground);
}

.dark .round-checkbox__input:disabled ~ .round-checkbox__label {
color: var(--muted-foreground);
}

.dark .round-checkbox:hover .round-checkbox__input:not(:disabled):not(:checked) ~ .round-checkbox__icon div {
border-color: var(--primary);
}
</style>
2 changes: 1 addition & 1 deletion alfy-bot-frontend/src/features/calendar/ui/HourGrid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class="absolute right-0 z-30 pointer-events-none flex items-center -translate-y-1/2"
:style="{ top: `${currentTimeTop}px` }"
>
<span class="text-[9px] font-medium text-red-500 tabular-nums pr-0.5 bg-white dark:bg-white rounded-full px-1">{{ currentTimeLabel }}</span>
<span class="text-[9px] font-medium text-red-500 tabular-nums pr-0.5 bg-card dark:text-destructive rounded-full px-1">{{ currentTimeLabel }}</span>
<div class="w-2 h-2 rounded-full bg-red-500 translate-x-1/2" />
</div>
</div>
Expand Down
64 changes: 33 additions & 31 deletions alfy-bot-frontend/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
@custom-variant dark (&:is(.dark *));

:root {
color-scheme: light;
--background: oklch(1 0 0);
--foreground: oklch(0.145 0 0);
--card: oklch(1 0 0);
Expand Down Expand Up @@ -39,37 +40,38 @@
}

.dark {
--background: oklch(0.145 0 0);
--foreground: oklch(0.985 0 0);
--card: oklch(0.205 0 0);
--card-foreground: oklch(0.87 0 0);
--popover: oklch(0.205 0 0);
--popover-foreground: oklch(0.985 0 0);
--primary: oklch(0.588 0.243 264.376);
--primary-foreground: oklch(0.985 0 0);
--secondary: oklch(0.269 0.01 264);
--secondary-foreground: oklch(0.985 0 0);
--muted: oklch(0.269 0.01 264);
--muted-foreground: oklch(0.708 0 0);
--accent: oklch(0.269 0.01 264);
--accent-foreground: oklch(0.985 0 0);
--destructive: oklch(0.65 0.245 27.325);
--border: oklch(1 0 0 / 10%);
--input: oklch(1 0 0 / 10%);
--ring: oklch(0.588 0.243 264.376);
--chart-1: oklch(0.588 0.243 264.376);
--chart-2: oklch(0.65 0.2 264);
--chart-3: oklch(0.75 0.15 264);
--chart-4: oklch(0.6 0.18 240);
--chart-5: oklch(0.7 0.12 280);
--sidebar: oklch(0.205 0 0);
--sidebar-foreground: oklch(0.985 0 0);
--sidebar-primary: oklch(0.588 0.243 264.376);
--sidebar-primary-foreground: oklch(0.985 0 0);
--sidebar-accent: oklch(0.269 0.01 264);
--sidebar-accent-foreground: oklch(0.985 0 0);
--sidebar-border: oklch(1 0 0 / 10%);
--sidebar-ring: oklch(0.588 0.243 264.376);
color-scheme: dark;
--background: #151517;
--foreground: #ebeef2;
--card: #232324;
--card-foreground: #cfd3d6;
--popover: #2c2c2e;
--popover-foreground: #ebeef2;
--primary: #7aaaff;
--primary-foreground: #0f1115;
--secondary: #2c2c2e;
--secondary-foreground: #cfd3d6;
--muted: #232324;
--muted-foreground: #adb2b8;
--accent: #353638;
--accent-foreground: #ebeef2;
--destructive: #f25a5a;
--border: rgb(255 255 255 / 12%);
--input: rgb(255 255 255 / 16%);
--ring: var(--primary);
--chart-1: #7aaaff;
--chart-2: #4ed17e;
--chart-3: #a78bfa;
--chart-4: #f7ad31;
--chart-5: #f25a5a;
--sidebar: #1b1b1c;
--sidebar-foreground: #cfd3d6;
--sidebar-primary: var(--primary);
--sidebar-primary-foreground: var(--primary-foreground);
--sidebar-accent: #353638;
--sidebar-accent-foreground: #ebeef2;
--sidebar-border: rgb(255 255 255 / 6%);
--sidebar-ring: var(--ring);
}

@theme inline {
Expand Down
Loading