Ai_Suite / app /globals.css
ADITYA025's picture
Upload 211 files
6127734 verified
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 0 0% 3.9%;
--card: 0 0% 100%;
--card-foreground: 0 0% 3.9%;
--popover: 0 0% 100%;
--popover-foreground: 0 0% 3.9%;
--primary: 0 0% 9%;
--primary-foreground: 0 0% 98%;
--secondary: 0 0% 96.1%;
--secondary-foreground: 0 0% 9%;
--muted: 0 0% 96.1%;
--muted-foreground: 0 0% 45.1%;
--accent: 0 0% 96.1%;
--accent-foreground: 0 0% 9%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 0 0% 98%;
--border: 0 0% 89.8%;
--input: 0 0% 89.8%;
--ring: 0 0% 3.9%;
--radius: 0.5rem;
}
.dark {
--background: 0 0% 3.9%;
--foreground: 0 0% 98%;
--card: 0 0% 3.9%;
--card-foreground: 0 0% 98%;
--popover: 0 0% 3.9%;
--popover-foreground: 0 0% 98%;
--primary: 0 0% 98%;
--primary-foreground: 0 0% 9%;
--secondary: 0 0% 14.9%;
--secondary-foreground: 0 0% 98%;
--muted: 0 0% 14.9%;
--muted-foreground: 0 0% 63.9%;
--accent: 0 0% 14.9%;
--accent-foreground: 0 0% 98%;
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 0 0% 98%;
--border: 0 0% 14.9%;
--input: 0 0% 14.9%;
--ring: 0 0% 83.1%;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
}
/* Liveblocks Editor Styles */
.editor {
min-height: 400px;
padding: 1rem;
border: 1px solid #e5e7eb;
border-radius: 0.5rem;
background: white;
}
.editor .ProseMirror {
outline: none;
min-height: 300px;
padding: 1rem;
}
.editor .ProseMirror p {
margin: 0.5rem 0;
}
.editor .ProseMirror h1,
.editor .ProseMirror h2,
.editor .ProseMirror h3 {
margin: 1rem 0 0.5rem 0;
font-weight: bold;
}
.editor .ProseMirror h1 {
font-size: 2rem;
}
.editor .ProseMirror h2 {
font-size: 1.5rem;
}
.editor .ProseMirror h3 {
font-size: 1.25rem;
}
.editor .ProseMirror ul,
.editor .ProseMirror ol {
padding-left: 1.5rem;
margin: 0.5rem 0;
}
.editor .ProseMirror blockquote {
border-left: 4px solid #e5e7eb;
padding-left: 1rem;
margin: 1rem 0;
font-style: italic;
}
.editor .ProseMirror code {
background-color: #f3f4f6;
padding: 0.125rem 0.25rem;
border-radius: 0.25rem;
font-family: monospace;
}
.editor .ProseMirror pre {
background-color: #f3f4f6;
padding: 1rem;
border-radius: 0.5rem;
overflow-x: auto;
margin: 1rem 0;
}
.editor .ProseMirror pre code {
background: none;
padding: 0;
}