@keenmate/pure-admin-theme-express 1.1.1 → 1.2.0
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/dist/express.css +1586 -393
- package/package.json +1 -1
- package/src/scss/express.scss +35 -92
package/package.json
CHANGED
package/src/scss/express.scss
CHANGED
|
@@ -14,6 +14,17 @@ $color-7: #8C8C8C; // Gray (neutral)
|
|
|
14
14
|
$color-8: #333333; // Dark (contrast)
|
|
15
15
|
$color-9: #00b4d8; // Cyan (info)
|
|
16
16
|
|
|
17
|
+
// Contrast text colors for color slots
|
|
18
|
+
$color-1-text: #ffffff; // White on Express Red
|
|
19
|
+
$color-2-text: #1a1a1a; // Dark on Express Yellow (light background)
|
|
20
|
+
$color-3-text: #ffffff; // White on Orange
|
|
21
|
+
$color-4-text: #ffffff; // White on Green
|
|
22
|
+
$color-5-text: #ffffff; // White on Blue
|
|
23
|
+
$color-6-text: #ffffff; // White on Purple
|
|
24
|
+
$color-7-text: #ffffff; // White on Gray
|
|
25
|
+
$color-8-text: #ffffff; // White on Dark
|
|
26
|
+
$color-9-text: #ffffff; // White on Cyan
|
|
27
|
+
|
|
17
28
|
// ============================================================================
|
|
18
29
|
// EXPRESS COLOR PALETTE
|
|
19
30
|
// ============================================================================
|
|
@@ -111,6 +122,12 @@ $base-focus-ring-color: rgba($express-red, 0.25);
|
|
|
111
122
|
// Typography
|
|
112
123
|
$base-font-family: "Fira Sans Condensed", "Arial Narrow", "Arial", sans-serif;
|
|
113
124
|
|
|
125
|
+
// ============================================================================
|
|
126
|
+
// ALERT COLOR DERIVATION - Express wants saturated, high-contrast alerts
|
|
127
|
+
// ============================================================================
|
|
128
|
+
$alert-bg-opacity-light: 68; // Saturated backgrounds for light mode
|
|
129
|
+
$alert-bg-opacity-dark: 30; // Standard dark mode backgrounds
|
|
130
|
+
|
|
114
131
|
// ============================================================================
|
|
115
132
|
// FRAMEWORK VARIABLES - Import and let them derive from base
|
|
116
133
|
// ============================================================================
|
|
@@ -189,23 +206,6 @@ $modal-content-bg: #ffffff;
|
|
|
189
206
|
// Profile name in header
|
|
190
207
|
$header-profile-name-color: $express-black; // Black text on yellow header
|
|
191
208
|
|
|
192
|
-
// Alert colors - Vibrant and punchy with semi-transparent backgrounds
|
|
193
|
-
$alert-success-text: $base-success-text;
|
|
194
|
-
$alert-success-bg: rgba(16, 185, 129, 0.68);
|
|
195
|
-
$alert-success-border: $base-success-color;
|
|
196
|
-
|
|
197
|
-
$alert-danger-text: $base-danger-text;
|
|
198
|
-
$alert-danger-bg: rgba(212, 5, 17, 0.58);
|
|
199
|
-
$alert-danger-border: $express-red;
|
|
200
|
-
|
|
201
|
-
$alert-warning-text: $base-warning-text;
|
|
202
|
-
$alert-warning-bg: rgba(255, 193, 7, 0.58);
|
|
203
|
-
$alert-warning-border: #ffc107;
|
|
204
|
-
|
|
205
|
-
$alert-info-text: $base-info-text;
|
|
206
|
-
$alert-info-bg: rgba(6, 182, 212, 0.58);
|
|
207
|
-
$alert-info-border: $base-info-color;
|
|
208
|
-
|
|
209
209
|
// ============================================================================
|
|
210
210
|
// FONTS - Fira Sans Condensed
|
|
211
211
|
// ============================================================================
|
|
@@ -437,6 +437,7 @@ $alert-info-border: $base-info-color;
|
|
|
437
437
|
|
|
438
438
|
// Pure Admin theme CSS variables
|
|
439
439
|
@include output-pa-css-variables;
|
|
440
|
+
@include output-pa-alert-variables-light;
|
|
440
441
|
|
|
441
442
|
// Input group - light gray background for light mode
|
|
442
443
|
--pa-input-group-prepend-bg: #{$express-gray-lightest};
|
|
@@ -444,32 +445,12 @@ $alert-info-border: $base-info-color;
|
|
|
444
445
|
--pa-input-group-append-bg: #{$express-gray-lightest};
|
|
445
446
|
--pa-input-group-append-text: #{$express-dark};
|
|
446
447
|
|
|
447
|
-
//
|
|
448
|
-
--
|
|
449
|
-
--
|
|
450
|
-
--
|
|
451
|
-
--
|
|
452
|
-
|
|
453
|
-
--drp-text-bg: #{$express-gray};
|
|
454
|
-
--drp-button-bg: transparent;
|
|
455
|
-
--drp-button-color: #{$express-dark};
|
|
456
|
-
--drp-button-accent-text-color: #ffffff;
|
|
457
|
-
--drp-button-today-color: #{$express-red};
|
|
458
|
-
--drp-button-clear-color: #{$express-gray};
|
|
459
|
-
--drp-button-cancel-color: #{$express-gray};
|
|
460
|
-
|
|
461
|
-
--ms-dropdown-bg: #ffffff;
|
|
462
|
-
--ms-input-bg: #ffffff;
|
|
463
|
-
--ms-primary-bg: #{$express-bg};
|
|
464
|
-
--ms-primary-bg-hover: #{$express-gray-lightest};
|
|
465
|
-
--ms-border-color: #{$express-gray-lighter};
|
|
466
|
-
--ms-text-color-1: #{$express-dark};
|
|
467
|
-
--ms-text-color-2: #{$express-gray};
|
|
468
|
-
--ms-text-color-3: #{$express-gray-light};
|
|
469
|
-
--ms-text-color-4: #{$express-gray-lighter};
|
|
470
|
-
--ms-hint-bg: #{$express-gray-lightest};
|
|
471
|
-
--ms-actions-bg: #{$express-gray-lightest};
|
|
472
|
-
--ms-selected-popover-bg: #ffffff;
|
|
448
|
+
// Override alert text to white for saturated backgrounds (Express brand)
|
|
449
|
+
--pa-alert-success-text: #ffffff;
|
|
450
|
+
--pa-alert-warning-text: #ffffff;
|
|
451
|
+
--pa-alert-danger-text: #ffffff;
|
|
452
|
+
--pa-alert-info-text: #ffffff;
|
|
453
|
+
|
|
473
454
|
}
|
|
474
455
|
|
|
475
456
|
// ============================================================================
|
|
@@ -536,10 +517,10 @@ $alert-info-border: $base-info-color;
|
|
|
536
517
|
--pa-input-text: #{$dark-text};
|
|
537
518
|
--pa-input-focus-border-color: #{$express-red};
|
|
538
519
|
|
|
539
|
-
// Input group -
|
|
540
|
-
--pa-input-group-prepend-bg: rgba(255, 204, 0, 0.
|
|
520
|
+
// Input group - vibrant yellow for Express branding
|
|
521
|
+
--pa-input-group-prepend-bg: rgba(255, 204, 0, 0.35);
|
|
541
522
|
--pa-input-group-prepend-text: #{$express-yellow};
|
|
542
|
-
--pa-input-group-append-bg: rgba(255, 204, 0, 0.
|
|
523
|
+
--pa-input-group-append-bg: rgba(255, 204, 0, 0.35);
|
|
543
524
|
--pa-input-group-append-text: #{$express-yellow};
|
|
544
525
|
|
|
545
526
|
// Input group buttons
|
|
@@ -580,15 +561,8 @@ $alert-info-border: $base-info-color;
|
|
|
580
561
|
--pa-command-palette-item-active-bg: rgba(212, 5, 17, 0.2);
|
|
581
562
|
--pa-command-palette-highlight-bg: rgba(212, 5, 17, 0.3);
|
|
582
563
|
|
|
583
|
-
//
|
|
584
|
-
|
|
585
|
-
--pa-alert-info-bg: rgba(6, 182, 212, 0.3);
|
|
586
|
-
--pa-alert-success-text: #ffffff;
|
|
587
|
-
--pa-alert-success-bg: rgba(16, 185, 129, 0.3);
|
|
588
|
-
--pa-alert-warning-text: #ffffff;
|
|
589
|
-
--pa-alert-warning-bg: rgba(255, 193, 7, 0.3);
|
|
590
|
-
--pa-alert-danger-text: #ffffff;
|
|
591
|
-
--pa-alert-danger-bg: rgba(212, 5, 17, 0.3);
|
|
564
|
+
// Alert colors - derived from semantic colors
|
|
565
|
+
@include output-pa-alert-variables-dark;
|
|
592
566
|
|
|
593
567
|
// Code inside alerts - inherit alert text color
|
|
594
568
|
.pa-alert code {
|
|
@@ -604,14 +578,14 @@ $alert-info-border: $base-info-color;
|
|
|
604
578
|
--pa-btn-light-bg-hover: #{$dark-border};
|
|
605
579
|
--pa-btn-light-text: #{$dark-text};
|
|
606
580
|
|
|
607
|
-
// Semantic colors -
|
|
608
|
-
--pa-success-bg: #
|
|
581
|
+
// Semantic colors - brighter for dark mode visibility
|
|
582
|
+
--pa-success-bg: #34d399;
|
|
609
583
|
--pa-success-bg-light: rgba(16, 185, 129, 0.2);
|
|
610
|
-
--pa-warning-bg: #
|
|
584
|
+
--pa-warning-bg: #fbbf24;
|
|
611
585
|
--pa-warning-bg-light: rgba(245, 158, 11, 0.2);
|
|
612
|
-
--pa-danger-bg: #
|
|
613
|
-
--pa-danger-bg-light: rgba(
|
|
614
|
-
--pa-info-bg: #
|
|
586
|
+
--pa-danger-bg: #f87171;
|
|
587
|
+
--pa-danger-bg-light: rgba(248, 113, 113, 0.2);
|
|
588
|
+
--pa-info-bg: #22d3ee;
|
|
615
589
|
--pa-info-bg-light: rgba(6, 182, 212, 0.2);
|
|
616
590
|
|
|
617
591
|
// Base variables for web components (dark mode)
|
|
@@ -651,37 +625,6 @@ $alert-info-border: $base-info-color;
|
|
|
651
625
|
--base-tooltip-bg: #{$dark-border};
|
|
652
626
|
--base-tooltip-text-color: #{$dark-text};
|
|
653
627
|
|
|
654
|
-
// Daterangepicker overrides (dark mode)
|
|
655
|
-
web-daterangepicker {
|
|
656
|
-
--drp-dropdown-bg: #{$dark-card};
|
|
657
|
-
--drp-border-color: #{$dark-border};
|
|
658
|
-
--drp-primary-bg: #{$dark-bg};
|
|
659
|
-
--drp-primary-bg-hover: #{$dark-surface};
|
|
660
|
-
--drp-text-color-1: #{$dark-text};
|
|
661
|
-
--drp-text-bg: #{$dark-text-bg};
|
|
662
|
-
--drp-button-bg: transparent;
|
|
663
|
-
--drp-button-color: #{$dark-text};
|
|
664
|
-
--drp-button-accent-text-color: #ffffff;
|
|
665
|
-
--drp-button-today-color: #{$express-red};
|
|
666
|
-
--drp-button-clear-color: #{$dark-text-bg};
|
|
667
|
-
--drp-button-cancel-color: #{$dark-text-bg};
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
// Multiselect overrides (dark mode)
|
|
671
|
-
web-multiselect {
|
|
672
|
-
--ms-dropdown-bg: #{$dark-card};
|
|
673
|
-
--ms-input-bg: #{$dark-surface};
|
|
674
|
-
--ms-primary-bg: #{$dark-bg};
|
|
675
|
-
--ms-primary-bg-hover: #{$dark-surface};
|
|
676
|
-
--ms-border-color: #{$dark-border};
|
|
677
|
-
--ms-text-color-1: #{$dark-text};
|
|
678
|
-
--ms-text-color-2: #{$dark-text-bg};
|
|
679
|
-
--ms-text-color-3: #888888;
|
|
680
|
-
--ms-text-color-4: #666666;
|
|
681
|
-
--ms-hint-bg: #{$dark-bg};
|
|
682
|
-
--ms-actions-bg: #{$dark-bg};
|
|
683
|
-
--ms-selected-popover-bg: #{$dark-card};
|
|
684
|
-
}
|
|
685
628
|
}
|
|
686
629
|
|
|
687
630
|
// ============================================================================
|