1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
|
$theme-colors: ( "primary": #1677ff, "success": #52c41a, "warning": #faad14, "danger": #ff4d4f, "info": #909399, );
$semantic-colors: ( "bg-page": #f5f5f5, "bg-white": #fff, "text": #333, "text-secondary": #666, "text-disabled": #bbb, "text-placeholder": #c0c4cc, "border": #eee, "border-light": #f0f0f0, );
$dark-theme-colors: ( "bg-page": #141414, "bg-white": #1e1e1e, "text": #e5e5e5, "text-secondary": #999, "text-disabled": #555, "border": #333, "border-light": #2a2a2a, );
$font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; $font-size-base: 14px; $font-sizes: (10, 12, 13, 14, 15, 16, 18, 20, 22, 24, 28, 32, 36, 40, 48); $font-weights: ( "normal": 400, "medium": 500, "semibold": 600, "bold": 700, ); $line-heights: ( "tight": 1.25, "normal": 1.5, "relaxed": 1.75, );
$radius-map: ( "sm": 4px, "base": 8px, "md": 12px, "lg": 16px, "full": 50%, );
$spacing-sizes: (0, 2, 4, 6, 8, 10, 12, 14, 16, 20, 24); $spacing-base: 16px;
$shadow-map: ( "sm": 0 1px 3px rgba(0, 0, 0, 0.08), "base": 0 2px 8px rgba(0, 0, 0, 0.1), "lg": 0 4px 16px rgba(0, 0, 0, 0.12), );
$transition-duration: 0.3s; $transition-timing: ease; $transition-duration-base: $transition-duration; $transition-base: all $transition-duration $transition-timing;
$breakpoints: ( "sm": 576px, "md": 768px, "lg": 992px, "xl": 1200px, "xxl": 1400px, );
$color-primary: map-get($theme-colors, "primary"); $color-success: map-get($theme-colors, "success"); $color-warning: map-get($theme-colors, "warning"); $color-danger: map-get($theme-colors, "danger"); $color-info: map-get($theme-colors, "info");
$color-bg-page: map-get($semantic-colors, "bg-page"); $color-bg-white: map-get($semantic-colors, "bg-white"); $color-text: map-get($semantic-colors, "text"); $color-text-secondary: map-get($semantic-colors, "text-secondary"); $color-text-disabled: map-get($semantic-colors, "text-disabled"); $color-text-placeholder: map-get($semantic-colors, "text-placeholder"); $color-border: map-get($semantic-colors, "border"); $color-border-light: map-get($semantic-colors, "border-light");
$radius-sm: map-get($radius-map, "sm"); $radius-base: map-get($radius-map, "base"); $radius-md: map-get($radius-map, "md"); $radius-lg: map-get($radius-map, "lg"); $radius-full: map-get($radius-map, "full");
$shadow-sm: map-get($shadow-map, "sm"); $shadow-base: map-get($shadow-map, "base"); $shadow-lg: map-get($shadow-map, "lg");
|