@keenmate/pure-admin-core 2.3.0 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -5
- package/dist/css/main.css +207 -181
- package/package.json +1 -1
- package/snippets/buttons.html +375 -365
- package/src/scss/_base-css-variables.scss +8 -0
- package/src/scss/_core.scss +121 -121
- package/src/scss/core-components/_alerts.scss +227 -227
- package/src/scss/core-components/_badges.scss +16 -16
- package/src/scss/core-components/_base.scss +125 -125
- package/src/scss/core-components/_buttons.scss +580 -548
- package/src/scss/core-components/_callouts.scss +152 -152
- package/src/scss/core-components/_cards.scss +488 -488
- package/src/scss/core-components/_checkbox-lists.scss +289 -289
- package/src/scss/core-components/_code.scss +141 -141
- package/src/scss/core-components/_command-palette.scss +509 -509
- package/src/scss/core-components/_comparison.scss +172 -172
- package/src/scss/core-components/_data-display.scss +9 -9
- package/src/scss/core-components/_data-viz.scss +9 -9
- package/src/scss/core-components/_detail-panel.scss +1 -1
- package/src/scss/core-components/_file-selector.scss +780 -780
- package/src/scss/core-components/_filter-card.scss +58 -58
- package/src/scss/core-components/_forms.scss +16 -16
- package/src/scss/core-components/_grid.scss +293 -293
- package/src/scss/core-components/_layout.scss +15 -15
- package/src/scss/core-components/_lists.scss +211 -211
- package/src/scss/core-components/_loaders.scss +277 -277
- package/src/scss/core-components/_logic-tree.scss +280 -280
- package/src/scss/core-components/_modals.scss +203 -203
- package/src/scss/core-components/_notifications.scss +320 -320
- package/src/scss/core-components/_pagers.scss +141 -141
- package/src/scss/core-components/_popconfirm.scss +170 -170
- package/src/scss/core-components/_profile.scss +405 -405
- package/src/scss/core-components/_scrollbars.scss +40 -40
- package/src/scss/core-components/_settings-panel.scss +141 -141
- package/src/scss/core-components/_statistics.scss +200 -201
- package/src/scss/core-components/_tables.scss +900 -900
- package/src/scss/core-components/_tabs.scss +504 -504
- package/src/scss/core-components/_timeline.scss +589 -589
- package/src/scss/core-components/_toasts.scss +425 -425
- package/src/scss/core-components/_tooltips.scss +605 -605
- package/src/scss/core-components/_utilities.scss +1 -1
- package/src/scss/core-components/_web-components-theme.scss +21 -21
- package/src/scss/core-components/badges/_badge-base.scss +121 -121
- package/src/scss/core-components/badges/_badge-group.scss +25 -25
- package/src/scss/core-components/badges/_composite-badge-variants.scss +396 -396
- package/src/scss/core-components/badges/_composite-badge.scss +70 -70
- package/src/scss/core-components/badges/_index.scss +10 -10
- package/src/scss/core-components/badges/_labels.scss +155 -155
- package/src/scss/core-components/forms/_checkboxes-radios.scss +205 -205
- package/src/scss/core-components/forms/_form-inputs.scss +136 -135
- package/src/scss/core-components/forms/_form-layout.scss +66 -66
- package/src/scss/core-components/forms/_form-states.scss +115 -115
- package/src/scss/core-components/forms/_index.scss +12 -12
- package/src/scss/core-components/forms/_input-groups.scss +154 -154
- package/src/scss/core-components/forms/_input-wrapper.scss +89 -89
- package/src/scss/core-components/forms/_query-editor.scss +313 -313
- package/src/scss/core-components/layout/_index.scss +11 -11
- package/src/scss/core-components/layout/_layout-container.scss +168 -168
- package/src/scss/core-components/layout/_layout-responsive.scss +99 -99
- package/src/scss/core-components/layout/_navbar-elements.scss +250 -250
- package/src/scss/core-components/layout/_navbar.scss +83 -83
- package/src/scss/core-components/layout/_sidebar-states.scss +237 -237
- package/src/scss/core-components/layout/_sidebar.scss +234 -234
- package/src/scss/main.scss +7 -7
- package/src/scss/utilities.scss +740 -740
- package/src/scss/variables/_base.scss +228 -228
- package/src/scss/variables/_components.scss +748 -748
- package/src/scss/variables/_layout.scss +65 -65
- package/src/scss/variables/_typography.scss +37 -37
|
@@ -1,228 +1,228 @@
|
|
|
1
|
-
// ============================================================================
|
|
2
|
-
// BASE VARIABLES - Single Source of Truth for Theming
|
|
3
|
-
// ============================================================================
|
|
4
|
-
// These $base-* SCSS variables are the PRIMARY source for all theme colors.
|
|
5
|
-
// Framework variables in _colors.scss, _typography.scss, etc. DERIVE from these.
|
|
6
|
-
// Web components consume these via --base-* CSS custom properties.
|
|
7
|
-
//
|
|
8
|
-
// To create a theme: Override these variables, everything else auto-derives.
|
|
9
|
-
// ============================================================================
|
|
10
|
-
|
|
11
|
-
@use 'sass:color';
|
|
12
|
-
|
|
13
|
-
// =============================================================================
|
|
14
|
-
// ACCENT COLORS
|
|
15
|
-
// Primary brand/interactive color and its variants
|
|
16
|
-
// =============================================================================
|
|
17
|
-
|
|
18
|
-
$base-accent-color: #007bff !default;
|
|
19
|
-
$base-accent-color-hover: color.adjust($base-accent-color, $lightness: 10%) !default;
|
|
20
|
-
$base-accent-color-active: color.adjust($base-accent-color, $lightness: 20%) !default;
|
|
21
|
-
$base-accent-color-light: rgba($base-accent-color, 0.05) !default;
|
|
22
|
-
$base-accent-color-light-hover: rgba($base-accent-color, 0.12) !default;
|
|
23
|
-
|
|
24
|
-
// =============================================================================
|
|
25
|
-
// TEXT COLORS
|
|
26
|
-
// Hierarchical text colors for different emphasis levels
|
|
27
|
-
// =============================================================================
|
|
28
|
-
|
|
29
|
-
$base-text-color-1: #2c3e50 !default; // Primary text (strongest)
|
|
30
|
-
$base-text-color-2: #6c757d !default; // Secondary text (muted)
|
|
31
|
-
$base-text-color-3: #7a8a99 !default; // Tertiary text (lighter)
|
|
32
|
-
$base-text-color-4: #a3b1bf !default; // Quaternary text (lightest)
|
|
33
|
-
$base-text-color-on-accent: #ffffff !default; // Text on accent backgrounds
|
|
34
|
-
|
|
35
|
-
// =============================================================================
|
|
36
|
-
// BACKGROUND COLORS
|
|
37
|
-
// Semantic background colors for different purposes
|
|
38
|
-
// =============================================================================
|
|
39
|
-
|
|
40
|
-
$base-main-bg: #ffffff !default; // Primary background (cards, modals, content)
|
|
41
|
-
$base-page-bg: #f8f9fa !default; // Page background, subtle sections
|
|
42
|
-
$base-subtle-bg: #e9ecef !default; // Muted areas, dividers
|
|
43
|
-
$base-inverse-bg: #2c3e50 !default; // Inverse background (tooltips, dark elements)
|
|
44
|
-
$base-overlay-bg: rgba(0, 0, 0, 0.5) !default; // Modal/overlay background
|
|
45
|
-
$base-shadow-color: rgba(0, 0, 0, 0.15) !default; // Shadow color for elevation
|
|
46
|
-
$base-elevated-bg: #f5f5f5 !default; // Header row, striped rows, elevated surfaces
|
|
47
|
-
|
|
48
|
-
// Interactive state backgrounds
|
|
49
|
-
$base-hover-bg: $base-subtle-bg !default; // Hover state background
|
|
50
|
-
$base-active-bg: color.adjust($base-subtle-bg, $lightness: -5%) !default; // Active/pressed state
|
|
51
|
-
$base-disabled-bg: $base-subtle-bg !default; // Disabled element background
|
|
52
|
-
|
|
53
|
-
// Legacy aliases (backward compatibility)
|
|
54
|
-
$base-surface-1: $base-main-bg !default;
|
|
55
|
-
$base-surface-2: $base-page-bg !default;
|
|
56
|
-
$base-surface-3: $base-subtle-bg !default;
|
|
57
|
-
$base-surface-inverse: $base-inverse-bg !default;
|
|
58
|
-
$base-primary-bg: $base-main-bg !default;
|
|
59
|
-
$base-primary-bg-hover: color.adjust($base-main-bg, $lightness: -5%) !default;
|
|
60
|
-
|
|
61
|
-
// =============================================================================
|
|
62
|
-
// BORDER COLORS
|
|
63
|
-
// Border colors and shorthand
|
|
64
|
-
// =============================================================================
|
|
65
|
-
|
|
66
|
-
$base-border-color: #e1e5e9 !default;
|
|
67
|
-
$base-border: 1px solid $base-border-color !default;
|
|
68
|
-
|
|
69
|
-
// =============================================================================
|
|
70
|
-
// INPUT FIELDS
|
|
71
|
-
// Input field styling and states
|
|
72
|
-
// =============================================================================
|
|
73
|
-
|
|
74
|
-
$base-input-bg: $base-surface-1 !default;
|
|
75
|
-
$base-input-color: #495057 !default;
|
|
76
|
-
$base-input-border: 1px solid #ced4da !default;
|
|
77
|
-
$base-input-border-hover: 1px solid #b8bfc6 !default;
|
|
78
|
-
$base-input-border-focus: 1px solid $base-accent-color !default;
|
|
79
|
-
$base-input-placeholder-color: $base-text-color-4 !default;
|
|
80
|
-
$base-input-bg-disabled: rgba($base-input-bg, 0.5) !default;
|
|
81
|
-
|
|
82
|
-
// Input size heights (unitless multipliers for x10px base)
|
|
83
|
-
$base-input-size-xs-height: 3.1 !default; // 31px
|
|
84
|
-
$base-input-size-sm-height: 3.3 !default; // 33px
|
|
85
|
-
$base-input-size-md-height: 3.5 !default; // 35px
|
|
86
|
-
$base-input-size-lg-height: 3.8 !default; // 38px
|
|
87
|
-
$base-input-size-xl-height: 4.1 !default; // 41px
|
|
88
|
-
|
|
89
|
-
// =============================================================================
|
|
90
|
-
// DROPDOWN / POPOVER
|
|
91
|
-
// Floating element styling
|
|
92
|
-
// =============================================================================
|
|
93
|
-
|
|
94
|
-
$base-dropdown-bg: $base-surface-1 !default;
|
|
95
|
-
$base-dropdown-border: 1px solid $base-border-color !default;
|
|
96
|
-
$base-dropdown-box-shadow: 0 8px 16px $base-shadow-color !default;
|
|
97
|
-
|
|
98
|
-
// =============================================================================
|
|
99
|
-
// TOOLTIP
|
|
100
|
-
// Tooltip styling
|
|
101
|
-
// =============================================================================
|
|
102
|
-
|
|
103
|
-
$base-tooltip-bg: $base-surface-inverse !default;
|
|
104
|
-
$base-tooltip-text-color: #ffffff !default;
|
|
105
|
-
|
|
106
|
-
// =============================================================================
|
|
107
|
-
// CONTEXTUAL COLORS - SUCCESS
|
|
108
|
-
// Success/positive semantic colors
|
|
109
|
-
// =============================================================================
|
|
110
|
-
|
|
111
|
-
$base-success-color: #28a745 !default;
|
|
112
|
-
$base-success-color-hover: color.adjust($base-success-color, $lightness: -10%) !default;
|
|
113
|
-
$base-success-bg-light: rgba($base-success-color, 0.1) !default;
|
|
114
|
-
$base-success-bg-subtle: rgba($base-success-color, 0.08) !default;
|
|
115
|
-
$base-success-border: rgba($base-success-color, 0.2) !default;
|
|
116
|
-
$base-success-text: #155724 !default;
|
|
117
|
-
$base-success-text-light: #d4edda !default;
|
|
118
|
-
$base-text-on-success: #ffffff !default;
|
|
119
|
-
|
|
120
|
-
// =============================================================================
|
|
121
|
-
// CONTEXTUAL COLORS - DANGER
|
|
122
|
-
// Danger/error semantic colors
|
|
123
|
-
// =============================================================================
|
|
124
|
-
|
|
125
|
-
$base-danger-color: #dc3545 !default;
|
|
126
|
-
$base-danger-color-hover: color.adjust($base-danger-color, $lightness: -10%) !default;
|
|
127
|
-
$base-danger-bg-light: rgba($base-danger-color, 0.1) !default;
|
|
128
|
-
$base-danger-bg-subtle: rgba($base-danger-color, 0.08) !default;
|
|
129
|
-
$base-danger-border: rgba($base-danger-color, 0.2) !default;
|
|
130
|
-
$base-danger-text: #721c24 !default;
|
|
131
|
-
$base-danger-text-light: #f8d7da !default;
|
|
132
|
-
$base-text-on-danger: #ffffff !default;
|
|
133
|
-
|
|
134
|
-
// =============================================================================
|
|
135
|
-
// CONTEXTUAL COLORS - WARNING
|
|
136
|
-
// Warning semantic colors
|
|
137
|
-
// =============================================================================
|
|
138
|
-
|
|
139
|
-
$base-warning-color: #ffc107 !default;
|
|
140
|
-
$base-warning-color-hover: color.adjust($base-warning-color, $lightness: -10%) !default;
|
|
141
|
-
$base-warning-bg-light: rgba($base-warning-color, 0.1) !default;
|
|
142
|
-
$base-warning-bg-subtle: rgba($base-warning-color, 0.08) !default;
|
|
143
|
-
$base-warning-border: rgba($base-warning-color, 0.2) !default;
|
|
144
|
-
$base-warning-text: #856404 !default;
|
|
145
|
-
$base-warning-text-light: #fff3cd !default;
|
|
146
|
-
$base-text-on-warning: #212529 !default; // Dark text for yellow backgrounds
|
|
147
|
-
|
|
148
|
-
// =============================================================================
|
|
149
|
-
// CONTEXTUAL COLORS - INFO
|
|
150
|
-
// Info semantic colors
|
|
151
|
-
// =============================================================================
|
|
152
|
-
|
|
153
|
-
$base-info-color: #17a2b8 !default;
|
|
154
|
-
$base-info-color-hover: color.adjust($base-info-color, $lightness: -10%) !default;
|
|
155
|
-
$base-info-bg-light: rgba($base-info-color, 0.1) !default;
|
|
156
|
-
$base-info-bg-subtle: rgba($base-info-color, 0.08) !default;
|
|
157
|
-
$base-info-border: rgba($base-info-color, 0.2) !default;
|
|
158
|
-
$base-info-text: #0c5460 !default;
|
|
159
|
-
$base-info-text-light: #d1ecf1 !default;
|
|
160
|
-
$base-text-on-info: #ffffff !default;
|
|
161
|
-
|
|
162
|
-
// =============================================================================
|
|
163
|
-
// INTERACTIVE STATES
|
|
164
|
-
// Generic interaction feedback colors
|
|
165
|
-
// =============================================================================
|
|
166
|
-
|
|
167
|
-
$base-hover-overlay: rgba(0, 0, 0, 0.04) !default;
|
|
168
|
-
$base-active-overlay: rgba(0, 0, 0, 0.08) !default;
|
|
169
|
-
$base-focus-ring-color: $base-accent-color !default;
|
|
170
|
-
$base-focus-ring-width: 3px !default;
|
|
171
|
-
|
|
172
|
-
// =============================================================================
|
|
173
|
-
// TYPOGRAPHY
|
|
174
|
-
// Font families, sizes, weights, and line heights
|
|
175
|
-
// =============================================================================
|
|
176
|
-
|
|
177
|
-
$base-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !default;
|
|
178
|
-
$base-font-family-mono: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace !default;
|
|
179
|
-
|
|
180
|
-
// Font sizes (unitless multipliers for x10px base)
|
|
181
|
-
$base-font-size-2xs: 1.0 !default; // 10px
|
|
182
|
-
$base-font-size-xs: 1.2 !default; // 12px
|
|
183
|
-
$base-font-size-sm: 1.4 !default; // 14px
|
|
184
|
-
$base-font-size-base: 1.6 !default; // 16px
|
|
185
|
-
$base-font-size-lg: 1.8 !default; // 18px
|
|
186
|
-
$base-font-size-xl: 2.0 !default; // 20px
|
|
187
|
-
$base-font-size-2xl: 2.4 !default; // 24px
|
|
188
|
-
|
|
189
|
-
// Font weights
|
|
190
|
-
$base-font-weight-normal: 400 !default;
|
|
191
|
-
$base-font-weight-medium: 500 !default;
|
|
192
|
-
$base-font-weight-semibold: 600 !default;
|
|
193
|
-
$base-font-weight-bold: 700 !default;
|
|
194
|
-
|
|
195
|
-
// Line heights
|
|
196
|
-
$base-line-height-tight: 1.25 !default;
|
|
197
|
-
$base-line-height-normal: 1.5 !default;
|
|
198
|
-
$base-line-height-relaxed: 1.75 !default;
|
|
199
|
-
|
|
200
|
-
// =============================================================================
|
|
201
|
-
// BORDER RADIUS
|
|
202
|
-
// Border radius sizes (unitless multipliers for x10px base)
|
|
203
|
-
// =============================================================================
|
|
204
|
-
|
|
205
|
-
$base-border-radius-sm: 0.4 !default; // 4px
|
|
206
|
-
$base-border-radius-md: 0.6 !default; // 6px
|
|
207
|
-
$base-border-radius-lg: 0.8 !default; // 8px
|
|
208
|
-
|
|
209
|
-
// =============================================================================
|
|
210
|
-
// COMPONENT-SPECIFIC DERIVED VALUES
|
|
211
|
-
// Variables that components need, derived from base
|
|
212
|
-
// =============================================================================
|
|
213
|
-
|
|
214
|
-
// Command palette input height (must be after $base-input-size-* variables)
|
|
215
|
-
$command-palette-input-height: #{$base-input-size-lg-height}rem !default;
|
|
216
|
-
|
|
217
|
-
// =============================================================================
|
|
218
|
-
// ALERT COLOR DERIVATION PARAMETERS
|
|
219
|
-
// Used by color-mix() mixins to derive alert colors from semantic base colors
|
|
220
|
-
// Themes can override these to customize alert appearance
|
|
221
|
-
// =============================================================================
|
|
222
|
-
|
|
223
|
-
$alert-bg-opacity-light: 15 !default; // Light mode: subtle bg (%)
|
|
224
|
-
$alert-bg-opacity-dark: 45 !default; // Dark mode: punchy, vibrant bg (%)
|
|
225
|
-
$alert-border-opacity-light: 30 !default; // Light mode border (%)
|
|
226
|
-
$alert-border-opacity-dark: 70 !default; // Dark mode border - more visible (%)
|
|
227
|
-
$alert-text-mix-light: 60% !default; // Mix with black for dark text
|
|
228
|
-
$alert-text-mix-dark: 80% !default; // Mix with white for light text
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// BASE VARIABLES - Single Source of Truth for Theming
|
|
3
|
+
// ============================================================================
|
|
4
|
+
// These $base-* SCSS variables are the PRIMARY source for all theme colors.
|
|
5
|
+
// Framework variables in _colors.scss, _typography.scss, etc. DERIVE from these.
|
|
6
|
+
// Web components consume these via --base-* CSS custom properties.
|
|
7
|
+
//
|
|
8
|
+
// To create a theme: Override these variables, everything else auto-derives.
|
|
9
|
+
// ============================================================================
|
|
10
|
+
|
|
11
|
+
@use 'sass:color';
|
|
12
|
+
|
|
13
|
+
// =============================================================================
|
|
14
|
+
// ACCENT COLORS
|
|
15
|
+
// Primary brand/interactive color and its variants
|
|
16
|
+
// =============================================================================
|
|
17
|
+
|
|
18
|
+
$base-accent-color: #007bff !default;
|
|
19
|
+
$base-accent-color-hover: color.adjust($base-accent-color, $lightness: 10%) !default;
|
|
20
|
+
$base-accent-color-active: color.adjust($base-accent-color, $lightness: 20%) !default;
|
|
21
|
+
$base-accent-color-light: rgba($base-accent-color, 0.05) !default;
|
|
22
|
+
$base-accent-color-light-hover: rgba($base-accent-color, 0.12) !default;
|
|
23
|
+
|
|
24
|
+
// =============================================================================
|
|
25
|
+
// TEXT COLORS
|
|
26
|
+
// Hierarchical text colors for different emphasis levels
|
|
27
|
+
// =============================================================================
|
|
28
|
+
|
|
29
|
+
$base-text-color-1: #2c3e50 !default; // Primary text (strongest)
|
|
30
|
+
$base-text-color-2: #6c757d !default; // Secondary text (muted)
|
|
31
|
+
$base-text-color-3: #7a8a99 !default; // Tertiary text (lighter)
|
|
32
|
+
$base-text-color-4: #a3b1bf !default; // Quaternary text (lightest)
|
|
33
|
+
$base-text-color-on-accent: #ffffff !default; // Text on accent backgrounds
|
|
34
|
+
|
|
35
|
+
// =============================================================================
|
|
36
|
+
// BACKGROUND COLORS
|
|
37
|
+
// Semantic background colors for different purposes
|
|
38
|
+
// =============================================================================
|
|
39
|
+
|
|
40
|
+
$base-main-bg: #ffffff !default; // Primary background (cards, modals, content)
|
|
41
|
+
$base-page-bg: #f8f9fa !default; // Page background, subtle sections
|
|
42
|
+
$base-subtle-bg: #e9ecef !default; // Muted areas, dividers
|
|
43
|
+
$base-inverse-bg: #2c3e50 !default; // Inverse background (tooltips, dark elements)
|
|
44
|
+
$base-overlay-bg: rgba(0, 0, 0, 0.5) !default; // Modal/overlay background
|
|
45
|
+
$base-shadow-color: rgba(0, 0, 0, 0.15) !default; // Shadow color for elevation
|
|
46
|
+
$base-elevated-bg: #f5f5f5 !default; // Header row, striped rows, elevated surfaces
|
|
47
|
+
|
|
48
|
+
// Interactive state backgrounds
|
|
49
|
+
$base-hover-bg: $base-subtle-bg !default; // Hover state background
|
|
50
|
+
$base-active-bg: color.adjust($base-subtle-bg, $lightness: -5%) !default; // Active/pressed state
|
|
51
|
+
$base-disabled-bg: $base-subtle-bg !default; // Disabled element background
|
|
52
|
+
|
|
53
|
+
// Legacy aliases (backward compatibility)
|
|
54
|
+
$base-surface-1: $base-main-bg !default;
|
|
55
|
+
$base-surface-2: $base-page-bg !default;
|
|
56
|
+
$base-surface-3: $base-subtle-bg !default;
|
|
57
|
+
$base-surface-inverse: $base-inverse-bg !default;
|
|
58
|
+
$base-primary-bg: $base-main-bg !default;
|
|
59
|
+
$base-primary-bg-hover: color.adjust($base-main-bg, $lightness: -5%) !default;
|
|
60
|
+
|
|
61
|
+
// =============================================================================
|
|
62
|
+
// BORDER COLORS
|
|
63
|
+
// Border colors and shorthand
|
|
64
|
+
// =============================================================================
|
|
65
|
+
|
|
66
|
+
$base-border-color: #e1e5e9 !default;
|
|
67
|
+
$base-border: 1px solid $base-border-color !default;
|
|
68
|
+
|
|
69
|
+
// =============================================================================
|
|
70
|
+
// INPUT FIELDS
|
|
71
|
+
// Input field styling and states
|
|
72
|
+
// =============================================================================
|
|
73
|
+
|
|
74
|
+
$base-input-bg: $base-surface-1 !default;
|
|
75
|
+
$base-input-color: #495057 !default;
|
|
76
|
+
$base-input-border: 1px solid #ced4da !default;
|
|
77
|
+
$base-input-border-hover: 1px solid #b8bfc6 !default;
|
|
78
|
+
$base-input-border-focus: 1px solid $base-accent-color !default;
|
|
79
|
+
$base-input-placeholder-color: $base-text-color-4 !default;
|
|
80
|
+
$base-input-bg-disabled: rgba($base-input-bg, 0.5) !default;
|
|
81
|
+
|
|
82
|
+
// Input size heights (unitless multipliers for x10px base)
|
|
83
|
+
$base-input-size-xs-height: 3.1 !default; // 31px
|
|
84
|
+
$base-input-size-sm-height: 3.3 !default; // 33px
|
|
85
|
+
$base-input-size-md-height: 3.5 !default; // 35px
|
|
86
|
+
$base-input-size-lg-height: 3.8 !default; // 38px
|
|
87
|
+
$base-input-size-xl-height: 4.1 !default; // 41px
|
|
88
|
+
|
|
89
|
+
// =============================================================================
|
|
90
|
+
// DROPDOWN / POPOVER
|
|
91
|
+
// Floating element styling
|
|
92
|
+
// =============================================================================
|
|
93
|
+
|
|
94
|
+
$base-dropdown-bg: $base-surface-1 !default;
|
|
95
|
+
$base-dropdown-border: 1px solid $base-border-color !default;
|
|
96
|
+
$base-dropdown-box-shadow: 0 8px 16px $base-shadow-color !default;
|
|
97
|
+
|
|
98
|
+
// =============================================================================
|
|
99
|
+
// TOOLTIP
|
|
100
|
+
// Tooltip styling
|
|
101
|
+
// =============================================================================
|
|
102
|
+
|
|
103
|
+
$base-tooltip-bg: $base-surface-inverse !default;
|
|
104
|
+
$base-tooltip-text-color: #ffffff !default;
|
|
105
|
+
|
|
106
|
+
// =============================================================================
|
|
107
|
+
// CONTEXTUAL COLORS - SUCCESS
|
|
108
|
+
// Success/positive semantic colors
|
|
109
|
+
// =============================================================================
|
|
110
|
+
|
|
111
|
+
$base-success-color: #28a745 !default;
|
|
112
|
+
$base-success-color-hover: color.adjust($base-success-color, $lightness: -10%) !default;
|
|
113
|
+
$base-success-bg-light: rgba($base-success-color, 0.1) !default;
|
|
114
|
+
$base-success-bg-subtle: rgba($base-success-color, 0.08) !default;
|
|
115
|
+
$base-success-border: rgba($base-success-color, 0.2) !default;
|
|
116
|
+
$base-success-text: #155724 !default;
|
|
117
|
+
$base-success-text-light: #d4edda !default;
|
|
118
|
+
$base-text-on-success: #ffffff !default;
|
|
119
|
+
|
|
120
|
+
// =============================================================================
|
|
121
|
+
// CONTEXTUAL COLORS - DANGER
|
|
122
|
+
// Danger/error semantic colors
|
|
123
|
+
// =============================================================================
|
|
124
|
+
|
|
125
|
+
$base-danger-color: #dc3545 !default;
|
|
126
|
+
$base-danger-color-hover: color.adjust($base-danger-color, $lightness: -10%) !default;
|
|
127
|
+
$base-danger-bg-light: rgba($base-danger-color, 0.1) !default;
|
|
128
|
+
$base-danger-bg-subtle: rgba($base-danger-color, 0.08) !default;
|
|
129
|
+
$base-danger-border: rgba($base-danger-color, 0.2) !default;
|
|
130
|
+
$base-danger-text: #721c24 !default;
|
|
131
|
+
$base-danger-text-light: #f8d7da !default;
|
|
132
|
+
$base-text-on-danger: #ffffff !default;
|
|
133
|
+
|
|
134
|
+
// =============================================================================
|
|
135
|
+
// CONTEXTUAL COLORS - WARNING
|
|
136
|
+
// Warning semantic colors
|
|
137
|
+
// =============================================================================
|
|
138
|
+
|
|
139
|
+
$base-warning-color: #ffc107 !default;
|
|
140
|
+
$base-warning-color-hover: color.adjust($base-warning-color, $lightness: -10%) !default;
|
|
141
|
+
$base-warning-bg-light: rgba($base-warning-color, 0.1) !default;
|
|
142
|
+
$base-warning-bg-subtle: rgba($base-warning-color, 0.08) !default;
|
|
143
|
+
$base-warning-border: rgba($base-warning-color, 0.2) !default;
|
|
144
|
+
$base-warning-text: #856404 !default;
|
|
145
|
+
$base-warning-text-light: #fff3cd !default;
|
|
146
|
+
$base-text-on-warning: #212529 !default; // Dark text for yellow backgrounds
|
|
147
|
+
|
|
148
|
+
// =============================================================================
|
|
149
|
+
// CONTEXTUAL COLORS - INFO
|
|
150
|
+
// Info semantic colors
|
|
151
|
+
// =============================================================================
|
|
152
|
+
|
|
153
|
+
$base-info-color: #17a2b8 !default;
|
|
154
|
+
$base-info-color-hover: color.adjust($base-info-color, $lightness: -10%) !default;
|
|
155
|
+
$base-info-bg-light: rgba($base-info-color, 0.1) !default;
|
|
156
|
+
$base-info-bg-subtle: rgba($base-info-color, 0.08) !default;
|
|
157
|
+
$base-info-border: rgba($base-info-color, 0.2) !default;
|
|
158
|
+
$base-info-text: #0c5460 !default;
|
|
159
|
+
$base-info-text-light: #d1ecf1 !default;
|
|
160
|
+
$base-text-on-info: #ffffff !default;
|
|
161
|
+
|
|
162
|
+
// =============================================================================
|
|
163
|
+
// INTERACTIVE STATES
|
|
164
|
+
// Generic interaction feedback colors
|
|
165
|
+
// =============================================================================
|
|
166
|
+
|
|
167
|
+
$base-hover-overlay: rgba(0, 0, 0, 0.04) !default;
|
|
168
|
+
$base-active-overlay: rgba(0, 0, 0, 0.08) !default;
|
|
169
|
+
$base-focus-ring-color: $base-accent-color !default;
|
|
170
|
+
$base-focus-ring-width: 3px !default;
|
|
171
|
+
|
|
172
|
+
// =============================================================================
|
|
173
|
+
// TYPOGRAPHY
|
|
174
|
+
// Font families, sizes, weights, and line heights
|
|
175
|
+
// =============================================================================
|
|
176
|
+
|
|
177
|
+
$base-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !default;
|
|
178
|
+
$base-font-family-mono: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace !default;
|
|
179
|
+
|
|
180
|
+
// Font sizes (unitless multipliers for x10px base)
|
|
181
|
+
$base-font-size-2xs: 1.0 !default; // 10px
|
|
182
|
+
$base-font-size-xs: 1.2 !default; // 12px
|
|
183
|
+
$base-font-size-sm: 1.4 !default; // 14px
|
|
184
|
+
$base-font-size-base: 1.6 !default; // 16px
|
|
185
|
+
$base-font-size-lg: 1.8 !default; // 18px
|
|
186
|
+
$base-font-size-xl: 2.0 !default; // 20px
|
|
187
|
+
$base-font-size-2xl: 2.4 !default; // 24px
|
|
188
|
+
|
|
189
|
+
// Font weights
|
|
190
|
+
$base-font-weight-normal: 400 !default;
|
|
191
|
+
$base-font-weight-medium: 500 !default;
|
|
192
|
+
$base-font-weight-semibold: 600 !default;
|
|
193
|
+
$base-font-weight-bold: 700 !default;
|
|
194
|
+
|
|
195
|
+
// Line heights
|
|
196
|
+
$base-line-height-tight: 1.25 !default;
|
|
197
|
+
$base-line-height-normal: 1.5 !default;
|
|
198
|
+
$base-line-height-relaxed: 1.75 !default;
|
|
199
|
+
|
|
200
|
+
// =============================================================================
|
|
201
|
+
// BORDER RADIUS
|
|
202
|
+
// Border radius sizes (unitless multipliers for x10px base)
|
|
203
|
+
// =============================================================================
|
|
204
|
+
|
|
205
|
+
$base-border-radius-sm: 0.4 !default; // 4px
|
|
206
|
+
$base-border-radius-md: 0.6 !default; // 6px
|
|
207
|
+
$base-border-radius-lg: 0.8 !default; // 8px
|
|
208
|
+
|
|
209
|
+
// =============================================================================
|
|
210
|
+
// COMPONENT-SPECIFIC DERIVED VALUES
|
|
211
|
+
// Variables that components need, derived from base
|
|
212
|
+
// =============================================================================
|
|
213
|
+
|
|
214
|
+
// Command palette input height (must be after $base-input-size-* variables)
|
|
215
|
+
$command-palette-input-height: #{$base-input-size-lg-height}rem !default;
|
|
216
|
+
|
|
217
|
+
// =============================================================================
|
|
218
|
+
// ALERT COLOR DERIVATION PARAMETERS
|
|
219
|
+
// Used by color-mix() mixins to derive alert colors from semantic base colors
|
|
220
|
+
// Themes can override these to customize alert appearance
|
|
221
|
+
// =============================================================================
|
|
222
|
+
|
|
223
|
+
$alert-bg-opacity-light: 15 !default; // Light mode: subtle bg (%)
|
|
224
|
+
$alert-bg-opacity-dark: 45 !default; // Dark mode: punchy, vibrant bg (%)
|
|
225
|
+
$alert-border-opacity-light: 30 !default; // Light mode border (%)
|
|
226
|
+
$alert-border-opacity-dark: 70 !default; // Dark mode border - more visible (%)
|
|
227
|
+
$alert-text-mix-light: 60% !default; // Mix with black for dark text
|
|
228
|
+
$alert-text-mix-dark: 80% !default; // Mix with white for light text
|