fix: 💄 Fix broken colors in some parts of the UI
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 0s
Deploy to GitHub Pages / build (push) Failing after 0s
Deploy to GitHub Pages / deploy (push) Has been skipped
Docker / build (push) Failing after 0s
Mirror to Codeberg / Mirror (push) Failing after 0s

The hsl() wrapper was no longer needed with tailwind v4
This commit is contained in:
Jesse Wierzbinski 2025-05-01 21:55:39 +02:00
parent 6d1b29f673
commit 1ec56ef150
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -75,7 +75,7 @@ onUnmounted(() => {
@reference "../../styles/index.css";
.tiptap p.is-editor-empty:first-child::before {
color: hsl(var(--muted-foreground));
color: var(--muted-foreground);
content: attr(data-placeholder);
float: left;
height: 0;

View file

@ -1,5 +1,5 @@
<template>
<svg class="absolute inset-x-0 top-0 h-full w-full stroke-primary/[0.07] [mask-image:radial-gradient(100%_100%_at_top_right,hsl(var(--primary-foreground)),transparent)] pointer-events-none"
<svg class="absolute inset-x-0 top-0 h-full w-full stroke-primary/[0.07] [mask-image:radial-gradient(100%_100%_at_top_right,var(--primary-foreground),transparent)] pointer-events-none"
aria-hidden="true">
<defs>
<pattern id="983e3e4c-de6d-4c3f-8d64-b9761d1534cc" width="200" height="200" x="50%" y="-1"

View file

@ -43,7 +43,7 @@ export const sidebarMenuButtonVariants = cva(
default:
"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
outline:
"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]",
"bg-background shadow-[0_0_0_1px_var(--sidebar-border)] hovfer:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_var(--sidebar-accent)]",
},
size: {
default: "h-8 text-sm",