feat: Initialize backend with Express and MySQL, and restructure frontend with new routing and language support.
This commit is contained in:
95
frontend/src/styles/_variables.scss
Normal file
95
frontend/src/styles/_variables.scss
Normal file
@@ -0,0 +1,95 @@
|
||||
// ========================
|
||||
// VARIABLES SCSS
|
||||
// ========================
|
||||
|
||||
// Couleurs principales
|
||||
$primary-color: #3b82f6;
|
||||
$primary-hover: #2563eb;
|
||||
$secondary-color: #64748b;
|
||||
$accent-color: #10b981;
|
||||
|
||||
// Système de couleurs pour les thèmes
|
||||
$colors: (
|
||||
light: (
|
||||
bg-primary: #ffffff,
|
||||
bg-secondary: #f8fafc,
|
||||
bg-tertiary: #f1f5f9,
|
||||
text-primary: #1e293b,
|
||||
text-secondary: #64748b,
|
||||
text-muted: #94a3b8,
|
||||
border-color: #e2e8f0,
|
||||
shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
||||
shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
|
||||
shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1)
|
||||
),
|
||||
dark: (
|
||||
bg-primary: #0f172a,
|
||||
bg-secondary: #1e293b,
|
||||
bg-tertiary: #334155,
|
||||
text-primary: #f1f5f9,
|
||||
text-secondary: #cbd5e1,
|
||||
text-muted: #64748b,
|
||||
border-color: #334155,
|
||||
shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.3),
|
||||
shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.3),
|
||||
shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.3)
|
||||
)
|
||||
);
|
||||
|
||||
// Transitions
|
||||
$transition-fast: 0.2s ease;
|
||||
$transition-normal: 0.3s ease;
|
||||
$transition-slow: 0.5s ease;
|
||||
|
||||
// Espacements
|
||||
$section-padding: 80px 0;
|
||||
$container-padding: 0 20px;
|
||||
|
||||
// Border radius
|
||||
$border-radius: 12px;
|
||||
$border-radius-large: 20px;
|
||||
|
||||
// Breakpoints
|
||||
$breakpoints: (
|
||||
xs: 320px,
|
||||
sm: 480px,
|
||||
md: 768px,
|
||||
lg: 1024px,
|
||||
xl: 1200px,
|
||||
xxl: 1440px
|
||||
);
|
||||
|
||||
// Z-index
|
||||
$z-index: (
|
||||
dropdown: 1000,
|
||||
sticky: 1020,
|
||||
fixed: 1030,
|
||||
modal-backdrop: 1040,
|
||||
modal: 1050,
|
||||
popover: 1060,
|
||||
tooltip: 1070
|
||||
);
|
||||
|
||||
// Polices
|
||||
$font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
||||
|
||||
// Tailles de police responsive
|
||||
$font-sizes: (
|
||||
xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem),
|
||||
sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem),
|
||||
base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem),
|
||||
lg: clamp(1.125rem, 1.05rem + 0.375vw, 1.25rem),
|
||||
xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem),
|
||||
2xl: clamp(1.5rem, 1.35rem + 0.75vw, 2rem),
|
||||
3xl: clamp(2rem, 1.75rem + 1.25vw, 2.5rem),
|
||||
4xl: clamp(2.5rem, 2rem + 2.5vw, 4rem)
|
||||
);
|
||||
|
||||
// Espacements responsive
|
||||
$spaces: (
|
||||
xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem),
|
||||
sm: clamp(0.5rem, 0.4rem + 0.5vw, 1rem),
|
||||
md: clamp(1rem, 0.8rem + 1vw, 2rem),
|
||||
lg: clamp(2rem, 1.5rem + 2.5vw, 4rem),
|
||||
xl: clamp(4rem, 3rem + 5vw, 8rem)
|
||||
);
|
||||
Reference in New Issue
Block a user