mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
- Refactored IncidentsScreen to use theme colors for backgrounds and text. - Adjusted font sizes and styles across various components for better readability. - Updated SettingsScreen to enhance layout and visual hierarchy, including removing GlassCard and using View components with theme colors. - Modified LoginScreen and ServerUrlScreen to improve input field styling and overall layout. - Revised color tokens in theme/colors.ts for better contrast and accessibility. - Improved button labels for clarity and consistency.
90 lines
3.3 KiB
CSS
90 lines
3.3 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
:root {
|
|
--color-bg-primary: #FFFFFF;
|
|
--color-bg-secondary: #F9FAFB;
|
|
--color-bg-tertiary: #F3F4F6;
|
|
--color-bg-elevated: #FFFFFF;
|
|
--color-card-accent: rgba(0, 0, 0, 0.02);
|
|
--color-bg-glass: rgba(255, 255, 255, 0.80);
|
|
--color-icon-bg: rgba(99, 102, 241, 0.08);
|
|
--color-border-default: #E5E7EB;
|
|
--color-border-subtle: #F3F4F6;
|
|
--color-text-primary: #111827;
|
|
--color-text-secondary: #6B7280;
|
|
--color-text-tertiary: #9CA3AF;
|
|
--color-text-inverse: #FFFFFF;
|
|
--color-severity-critical: #DC2626;
|
|
--color-severity-critical-bg: rgba(220, 38, 38, 0.08);
|
|
--color-severity-major: #EA580C;
|
|
--color-severity-major-bg: rgba(234, 88, 12, 0.08);
|
|
--color-severity-minor: #CA8A04;
|
|
--color-severity-minor-bg: rgba(202, 138, 4, 0.08);
|
|
--color-severity-warning: #D97706;
|
|
--color-severity-warning-bg: rgba(217, 119, 6, 0.08);
|
|
--color-severity-info: #2563EB;
|
|
--color-severity-info-bg: rgba(37, 99, 235, 0.08);
|
|
--color-state-created: #DC2626;
|
|
--color-state-acknowledged: #D97706;
|
|
--color-state-resolved: #16A34A;
|
|
--color-state-investigating: #EA580C;
|
|
--color-state-muted: #9CA3AF;
|
|
--color-oncall-active: #16A34A;
|
|
--color-oncall-active-bg: rgba(22, 163, 74, 0.08);
|
|
--color-oncall-inactive: #9CA3AF;
|
|
--color-oncall-inactive-bg: rgba(156, 163, 175, 0.08);
|
|
--color-action-primary: #4F46E5;
|
|
--color-action-primary-pressed: #4338CA;
|
|
--color-action-destructive: #DC2626;
|
|
--color-action-destructive-pressed: #B91C1C;
|
|
--color-status-success: #16A34A;
|
|
--color-status-success-bg: rgba(22, 163, 74, 0.08);
|
|
--color-status-error: #DC2626;
|
|
--color-status-error-bg: rgba(220, 38, 38, 0.08);
|
|
}
|
|
|
|
.dark {
|
|
--color-bg-primary: #09090B;
|
|
--color-bg-secondary: #0F0F12;
|
|
--color-bg-tertiary: #18181F;
|
|
--color-bg-elevated: #141418;
|
|
--color-card-accent: rgba(255, 255, 255, 0.04);
|
|
--color-bg-glass: rgba(255, 255, 255, 0.03);
|
|
--color-icon-bg: rgba(99, 102, 241, 0.12);
|
|
--color-border-default: rgba(255, 255, 255, 0.06);
|
|
--color-border-subtle: rgba(255, 255, 255, 0.04);
|
|
--color-text-primary: #FAFAFA;
|
|
--color-text-secondary: #A1A1AA;
|
|
--color-text-tertiary: #52525B;
|
|
--color-text-inverse: #FFFFFF;
|
|
--color-severity-critical: #EF4444;
|
|
--color-severity-critical-bg: rgba(239, 68, 68, 0.12);
|
|
--color-severity-major: #F97316;
|
|
--color-severity-major-bg: rgba(249, 115, 22, 0.12);
|
|
--color-severity-minor: #EAB308;
|
|
--color-severity-minor-bg: rgba(234, 179, 8, 0.12);
|
|
--color-severity-warning: #F59E0B;
|
|
--color-severity-warning-bg: rgba(245, 158, 11, 0.12);
|
|
--color-severity-info: #3B82F6;
|
|
--color-severity-info-bg: rgba(59, 130, 246, 0.12);
|
|
--color-state-created: #EF4444;
|
|
--color-state-acknowledged: #F59E0B;
|
|
--color-state-resolved: #22C55E;
|
|
--color-state-investigating: #F97316;
|
|
--color-state-muted: #52525B;
|
|
--color-oncall-active: #22C55E;
|
|
--color-oncall-active-bg: rgba(34, 197, 94, 0.12);
|
|
--color-oncall-inactive: #52525B;
|
|
--color-oncall-inactive-bg: rgba(82, 82, 91, 0.12);
|
|
--color-action-primary: #6366F1;
|
|
--color-action-primary-pressed: #4F46E5;
|
|
--color-action-destructive: #EF4444;
|
|
--color-action-destructive-pressed: #DC2626;
|
|
--color-status-success: #22C55E;
|
|
--color-status-success-bg: rgba(34, 197, 94, 0.12);
|
|
--color-status-error: #EF4444;
|
|
--color-status-error-bg: rgba(239, 68, 68, 0.12);
|
|
}
|