/** * SCSS 变量定义 */ // 颜色 $primary-color: #3b82f6; $success-color: #10b981; $warning-color: #f59e0b; $error-color: #ef4444; $info-color: #3b82f6; // 灰阶 $gray-50: #f9fafb; $gray-100: #f3f4f6; $gray-200: #e5e7eb; $gray-300: #d1d5db; $gray-400: #9ca3af; $gray-500: #6b7280; $gray-600: #4b5563; $gray-700: #374151; $gray-800: #1f2937; $gray-900: #111827; // 间距 $spacing-xs: 4px; $spacing-sm: 8px; $spacing-md: 16px; $spacing-lg: 24px; $spacing-xl: 32px; $spacing-2xl: 48px; // 圆角 $radius-sm: 4px; $radius-md: 8px; $radius-lg: 12px; $radius-full: 9999px; // 阴影 $shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05); $shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1); $shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1); // 过渡 $transition-fast: 150ms ease; $transition-normal: 300ms ease; $transition-slow: 500ms ease; // 断点 $breakpoint-mobile: 768px; $breakpoint-tablet: 1024px; $breakpoint-desktop: 1280px; // Z-index $z-dropdown: 1000; $z-modal: 2000; $z-notification: 3000; // 字体 $font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; $font-mono: 'Courier New', Courier, monospace;