Files
pezkuwi-p2p-mobile/src/index.css
T
Kurdistan Tech Ministry 9223c719cc fix: improve dark mode styling and contrast
- Set dark mode as default (class="dark" on html)
- Update dark mode CSS variables for better contrast
- Fix popover/select dropdown colors
- Improve SelectItem hover and focus states
2026-02-01 23:24:09 +03:00

124 lines
3.4 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=JetBrains+Mono:wght@100..800&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
/* Kurdish color scheme - kesk u sor u zer */
--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: 148 100% 32%; /* Kurdish green */
--primary-foreground: 0 0% 98%;
--secondary: 358 84% 52%; /* Kurdish red */
--secondary-foreground: 0 0% 98%;
--muted: 52 100% 50%; /* Kurdish yellow muted */
--muted-foreground: 0 0% 20%;
--accent: 52 100% 50%; /* Kurdish yellow */
--accent-foreground: 0 0% 9%;
--destructive: 358 84% 52%;
--destructive-foreground: 0 0% 98%;
--border: 0 0% 89.8%;
--input: 0 0% 89.8%;
--ring: 148 100% 32%;
--radius: 0.5rem;
--chart-1: 148 100% 32%;
--chart-2: 358 84% 52%;
--chart-3: 52 100% 50%;
--chart-4: 148 100% 25%;
--chart-5: 358 84% 40%;
--sidebar-background: 0 0% 98%;
--sidebar-foreground: 0 0% 3.9%;
--sidebar-primary: 148 100% 32%;
--sidebar-primary-foreground: 0 0% 98%;
--sidebar-accent: 52 100% 50%;
--sidebar-accent-foreground: 0 0% 9%;
--sidebar-border: 0 0% 89.8%;
--sidebar-ring: 148 100% 32%;
}
.dark {
--background: 220 13% 10%; /* Dark blue-gray like Telegram dark mode */
--foreground: 0 0% 98%;
--card: 220 13% 12%;
--card-foreground: 0 0% 98%;
--popover: 220 13% 15%; /* Slightly lighter for dropdown menus */
--popover-foreground: 0 0% 98%;
--primary: 148 100% 40%; /* Kurdish green dark */
--primary-foreground: 0 0% 98%;
--secondary: 358 84% 60%; /* Kurdish red dark */
--secondary-foreground: 0 0% 98%;
--muted: 220 13% 18%; /* Subtle gray for muted backgrounds */
--muted-foreground: 0 0% 70%; /* Light gray text for muted */
--accent: 52 100% 50%; /* Kurdish yellow - bright for visibility */
--accent-foreground: 0 0% 9%; /* Dark text on yellow */
--destructive: 358 84% 52%;
--destructive-foreground: 0 0% 98%;
--border: 220 13% 20%;
--input: 220 13% 18%;
--ring: 148 100% 40%;
--chart-1: 148 100% 40%;
--chart-2: 358 84% 60%;
--chart-3: 52 100% 45%;
--chart-4: 148 100% 30%;
--chart-5: 358 84% 50%;
--sidebar-background: 220 13% 8%;
--sidebar-foreground: 0 0% 98%;
--sidebar-primary: 148 100% 40%;
--sidebar-primary-foreground: 0 0% 98%;
--sidebar-accent: 52 100% 50%;
--sidebar-accent-foreground: 0 0% 9%;
--sidebar-border: 220 13% 20%;
--sidebar-ring: 148 100% 40%;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground font-sans dark:bg-background dark:text-foreground;
}
pre, code {
@apply font-mono;
}
}
.markdown-editor {
@apply font-mono text-base leading-relaxed;
}
.markdown-preview {
@apply prose max-w-none prose-blue dark:prose-invert;
}
.markdown-preview pre {
@apply bg-secondary p-4 rounded-md overflow-x-auto;
}
.markdown-preview code {
@apply text-sm font-mono text-primary;
}
.markdown-preview h1,
.markdown-preview h2,
.markdown-preview h3,
.markdown-preview h4,
.markdown-preview h5,
.markdown-preview h6 {
@apply font-sans font-semibold text-foreground;
}
.markdown-preview ul,
.markdown-preview ol {
@apply my-4 ml-6;
}