@isthatuzii/create-nano-app
Version:
Desktop application scaffolding tool for the Nano Framework
173 lines (144 loc) • 4.26 kB
CSS
:root {
/* Blender-inspired Dark Theme */
/* Background Colors - Darker Blender Palette */
--bg-primary: #181818; /* Main background (darker) */
--bg-secondary: #202020; /* Panel backgrounds */
--bg-tertiary: #2b2b2b; /* Hover/active states */
--bg-quaternary: #353535; /* Selected/highlighted */
--bg-overlay: rgba(24, 24, 24, 0.95);
--bg-glass: rgba(32, 32, 32, 0.8);
/* Border Colors */
--border-primary: #404040; /* Main borders (more muted) */
--border-secondary: #4a4a4a; /* Lighter borders */
--border-accent: #569cd6; /* Accent borders */
--border-subtle: #2d2d2d; /* Subtle separators */
/* Text Colors */
--text-primary: #d4d4d4; /* Main text */
--text-secondary: #a0a0a0; /* Secondary text */
--text-muted: #808080; /* Disabled/muted text */
--text-accent: #9cdcfe; /* Accent text */
--text-highlight: #569cd6; /* Highlighted text */
/* Icon Configuration */
--icon-stroke-width: 0.5; /* Configurable stroke width */
--icon-size-sm: 14px; /* Small icons */
--icon-size-md: 16px; /* Medium icons (default) */
--icon-size-lg: 20px; /* Large icons */
--icon-opacity-normal: 0.8; /* Normal icon opacity */
--icon-opacity-hover: 1.0; /* Hover icon opacity */
--icon-opacity-disabled: 0.4; /* Disabled icon opacity */
/* Spacing - Tighter for Blender-style */
--spacing-xs: 2px;
--spacing-sm: 4px;
--spacing-md: 8px;
--spacing-lg: 12px;
--spacing-xl: 16px;
--spacing-xxl: 24px;
/* Typography */
--font-size-xs: 10px;
--font-size-sm: 11px;
--font-size-md: 12px;
--font-size-lg: 13px;
--font-size-xl: 14px;
--font-weight-normal: 400;
--font-weight-medium: 500;
--font-weight-bold: 600;
/* Border Radius */
--radius-sm: 2px;
--radius-md: 3px;
--radius-lg: 4px;
/* Transitions */
--transition-fast: 0.1s ease;
--transition-normal: 0.15s ease;
--transition-slow: 0.25s ease;
/* Shadows */
--shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.4);
--shadow-hard: 0 1px 4px rgba(0, 0, 0, 0.6);
--shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.3);
/* Layout Dimensions */
--header-height: 28px;
--toolbar-width: 48px;
--sidebar-width: 240px;
--properties-width: 280px;
--statusbar-height: 24px;
/* State Colors */
--state-success: #4caf50;
--state-warning: #ff9800;
--state-error: #f44336;
--state-info: #2196f3;
}
/* Global Reset & Base Styles */
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
font-size: var(--font-size-sm);
font-weight: var(--font-weight-normal);
line-height: 1.3;
background: var(--bg-primary);
color: var(--text-primary);
overflow: hidden;
}
/* Icon Base Styling */
.icon {
display: inline-flex;
align-items: center;
justify-content: center;
opacity: var(--icon-opacity-normal);
transition: opacity var(--transition-fast);
}
.icon svg {
stroke-width: var(--icon-stroke-width);
}
.icon:hover {
opacity: var(--icon-opacity-hover);
}
.icon.disabled {
opacity: var(--icon-opacity-disabled);
pointer-events: none;
}
.icon.size-sm {
width: var(--icon-size-sm);
height: var(--icon-size-sm);
}
.icon.size-md {
width: var(--icon-size-md);
height: var(--icon-size-md);
}
.icon.size-lg {
width: var(--icon-size-lg);
height: var(--icon-size-lg);
}
/* Scrollbar Styling */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
background: var(--border-primary);
border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
background: var(--border-secondary);
}
::-webkit-scrollbar-corner {
background: var(--bg-primary);
}
/* Selection Styles */
::selection {
background: var(--text-highlight);
color: var(--bg-primary);
}
/* Focus Styles */
*:focus {
outline: 1px solid var(--border-accent);
outline-offset: -1px;
}
*:focus:not(:focus-visible) {
outline: none;
}