mirror of
https://github.com/linsa-io/linsa.git
synced 2026-01-12 12:20:23 +01:00
chore: Enhancement + New Feature (#185)
* wip * wip page * chore: style * wip pages * wip pages * chore: toggle * chore: link * feat: topic search * chore: page section * refactor: apply tailwind class ordering * fix: handle loggedIn user for guest route * feat: folder & image schema * chore: move utils to shared * refactor: tailwind class ordering * feat: img ext for editor * refactor: remove qa * fix: tanstack start * fix: wrong import * chore: use toast * chore: schema
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
--foreground: 0 0% 98%;
|
||||
--card: 240 10% 3.9%;
|
||||
--card-foreground: 0 0% 98%;
|
||||
--popover: 240 10% 3.9%;
|
||||
--popover: 220, 5.66%, 10.39%;
|
||||
--popover-foreground: 0 0% 98%;
|
||||
--primary: 0 0% 98%;
|
||||
--primary-foreground: 240 5.9% 10%;
|
||||
@@ -55,7 +55,7 @@
|
||||
--accent-foreground: 0 0% 98%;
|
||||
--destructive: 0 62.8% 30.6%;
|
||||
--destructive-foreground: 0 0% 98%;
|
||||
--border: 240 3.7% 15.9%;
|
||||
--border: 240 3.7% 20%;
|
||||
--input: 220 9% 10%;
|
||||
--result: 0 0% 7%;
|
||||
--ring: 240 4.9% 83.9%;
|
||||
@@ -77,7 +77,7 @@
|
||||
}
|
||||
body,
|
||||
div#root {
|
||||
@apply bg-background text-foreground size-full font-sans antialiased;
|
||||
@apply size-full bg-[var(--body-background)] font-sans text-foreground antialiased;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -116,11 +116,11 @@
|
||||
.la [cmdk-group-heading] {
|
||||
font-size: 13px;
|
||||
height: 30px;
|
||||
@apply text-muted-foreground flex items-center px-2;
|
||||
@apply flex items-center px-2 text-muted-foreground;
|
||||
}
|
||||
|
||||
.la [cmdk-empty] {
|
||||
@apply text-muted-foreground flex h-16 items-center justify-center whitespace-pre-wrap text-sm;
|
||||
@apply flex h-16 items-center justify-center whitespace-pre-wrap text-sm text-muted-foreground;
|
||||
}
|
||||
|
||||
.la [cmdk-item] {
|
||||
|
||||
@@ -1,11 +1,42 @@
|
||||
:root {
|
||||
--link-background-muted: hsl(0, 0%, 97.3%);
|
||||
--link-border-after: hsl(0, 0%, 91%);
|
||||
--link-background-muted-new: hsl(0, 0%, 97.3%);
|
||||
--la-border: hsl(0, 0%, 91%);
|
||||
--la-border-new: hsl(0, 0%, 91%);
|
||||
--link-shadow: hsl(240, 5.6%, 82.5%);
|
||||
--less-foreground: hsl(240 10% 3.9%);
|
||||
|
||||
--item-active: rgb(228, 228, 229);
|
||||
--item-hover: rgb(237, 237, 239);
|
||||
--body-background: rgb(248, 248, 249);
|
||||
--container-background: rgb(255, 255, 255);
|
||||
}
|
||||
|
||||
.dark {
|
||||
--link-background-muted: hsl(220, 6.7%, 8.8%);
|
||||
--link-border-after: hsl(230, 10%, 11.8%);
|
||||
--link-background-muted-new: rgb(28, 29, 32);
|
||||
--la-border: hsl(230, 10%, 11.8%);
|
||||
--la-border-new: hsl(230, 10%, 15%);
|
||||
--link-shadow: hsl(234.9, 27.1%, 25.3%);
|
||||
--less-foreground: #e5e7eb;
|
||||
|
||||
--item-active: rgb(53, 54, 57);
|
||||
--item-hover: rgb(42, 43, 46);
|
||||
--body-background: rgb(31, 32, 35);
|
||||
--container-background: rgb(24, 25, 28);
|
||||
}
|
||||
|
||||
.title-editor .ProseMirror .is-empty::before {
|
||||
@apply pointer-events-none float-left h-0 w-full text-[var(--la-secondary)];
|
||||
}
|
||||
|
||||
.title-editor:not(.no-command)
|
||||
.ProseMirror.ProseMirror-focused
|
||||
> p.has-focus.is-empty::before {
|
||||
content: "Type / for commands...";
|
||||
}
|
||||
|
||||
.title-editor .ProseMirror > p.is-editor-empty::before {
|
||||
content: attr(data-placeholder);
|
||||
@apply pointer-events-none float-left h-0 text-[var(--la-secondary)];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user