@keenmate/pure-css 1.0.0-rc06 → 1.0.0-rc08

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.
@@ -91,7 +91,7 @@ body {
91
91
  font-family: var(--base-font-family);
92
92
  font-size: 1.6rem;
93
93
  color: var(--pc-text-color-1);
94
- background-color: var(--pc-main-bg);
94
+ background-color: var(--pc-page-bg);
95
95
  line-height: 1.5;
96
96
  }
97
97
 
@@ -111,14 +111,14 @@ label {
111
111
  }
112
112
 
113
113
  *::-webkit-scrollbar-track {
114
- background: var(--pc-main-bg);
114
+ background: var(--pc-page-bg);
115
115
  border-radius: var(--pc-border-radius-sm);
116
116
  }
117
117
 
118
118
  *::-webkit-scrollbar-thumb {
119
119
  background: var(--pc-border-color);
120
120
  border-radius: var(--pc-border-radius-sm);
121
- border: 1px solid var(--pc-main-bg);
121
+ border: 1px solid var(--pc-page-bg);
122
122
  }
123
123
  *::-webkit-scrollbar-thumb:hover {
124
124
  background: var(--pc-accent);
@@ -128,13 +128,13 @@ label {
128
128
  }
129
129
 
130
130
  *::-webkit-scrollbar-corner {
131
- background: var(--pc-main-bg);
131
+ background: var(--pc-page-bg);
132
132
  }
133
133
 
134
134
  /* Firefox */
135
135
  * {
136
136
  scrollbar-width: thin;
137
- scrollbar-color: var(--pc-border-color) var(--pc-main-bg);
137
+ scrollbar-color: var(--pc-border-color) var(--pc-page-bg);
138
138
  }
139
139
 
140
140
  .pc-row {
@@ -2149,7 +2149,13 @@ body.pc-container-2xl .pc-navbar {
2149
2149
  .pc-navmenu__more-chevron {
2150
2150
  display: inline-block;
2151
2151
  margin-inline-start: 0.4rem;
2152
- font-size: 1.2rem;
2152
+ inline-size: 1.4rem;
2153
+ block-size: 1.4rem;
2154
+ flex-shrink: 0;
2155
+ font-size: 0;
2156
+ background-color: currentColor;
2157
+ -webkit-mask: var(--pc-icon-chevron, var(--base-icon-chevron, url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m9 18 6-6-6-6%22/%3E%3C/svg%3E"))) center/1.1rem no-repeat;
2158
+ mask: var(--pc-icon-chevron, var(--base-icon-chevron, url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m9 18 6-6-6-6%22/%3E%3C/svg%3E"))) center/1.1rem no-repeat;
2153
2159
  transition: transform 0.1s ease-out;
2154
2160
  }
2155
2161
  .pc-navmenu__item--more.is-open .pc-navmenu__more-chevron {
@@ -2423,7 +2429,7 @@ body.loaded .pc-sidebar__link {
2423
2429
  width: calc(100% - 0.8rem * 2);
2424
2430
  margin: 0.8rem;
2425
2431
  height: 3.5rem;
2426
- padding: 0 1.6rem;
2432
+ padding: 0 1.6rem 0 0.8rem;
2427
2433
  color: var(--pc-text-color-2);
2428
2434
  background-color: var(--pc-input-bg, var(--base-input-bg));
2429
2435
  border: 1px solid var(--pc-border-color);
@@ -2439,10 +2445,10 @@ body.loaded .pc-sidebar__search {
2439
2445
  transition: all 0.1s ease-out;
2440
2446
  }
2441
2447
  .pc-sidebar__search:hover {
2442
- border-color: #007bff;
2448
+ border-color: #0ea5e9;
2443
2449
  color: var(--pc-sidebar-text, var(--base-text-color-1));
2444
2450
  }
2445
- .pc-layout__sidebar--icon-collapse .pc-sidebar__search {
2451
+ .sidebar-hidden .pc-layout__sidebar--icon-collapse .pc-sidebar__search {
2446
2452
  width: auto;
2447
2453
  margin: 0;
2448
2454
  padding: 0.8rem 1.6rem;
@@ -2486,10 +2492,10 @@ body.loaded .pc-sidebar__search {
2486
2492
  .pc-sidebar__search--input .pc-sidebar__search-field::-webkit-search-decoration, .pc-sidebar__search--input .pc-sidebar__search-field::-webkit-search-cancel-button {
2487
2493
  -webkit-appearance: none;
2488
2494
  }
2489
- .pc-layout__sidebar--icon-collapse .pc-sidebar__search--input {
2495
+ .sidebar-hidden .pc-layout__sidebar--icon-collapse .pc-sidebar__search--input {
2490
2496
  justify-content: center;
2491
2497
  }
2492
- .pc-layout__sidebar--icon-collapse .pc-sidebar__search--input .pc-sidebar__search-field {
2498
+ .sidebar-hidden .pc-layout__sidebar--icon-collapse .pc-sidebar__search--input .pc-sidebar__search-field {
2493
2499
  display: none;
2494
2500
  }
2495
2501
  .pc-sidebar__toggle {
@@ -2553,10 +2559,10 @@ body.loaded .pc-sidebar__label {
2553
2559
  border-inline-end: 2px solid transparent;
2554
2560
  }
2555
2561
  .pc-sidebar__submenu > .pc-sidebar__item > .pc-sidebar__link:hover {
2556
- background-color: var(--pc-sidebar-submenu-hover-bg, var(--base-subtle-bg));
2562
+ background-color: var(--pc-sidebar-submenu-hover-bg, var(--base-hover-bg));
2557
2563
  }
2558
2564
  .pc-sidebar__submenu > .pc-sidebar__item > .pc-sidebar__link--active {
2559
- background-color: var(--pc-sidebar-submenu-active-bg, var(--base-subtle-bg));
2565
+ background-color: var(--pc-sidebar-submenu-active-bg, var(--base-active-bg));
2560
2566
  color: var(--pc-sidebar-submenu-active-text, var(--base-text-color-1));
2561
2567
  border-inline-end-color: var(--pc-accent);
2562
2568
  }
@@ -2574,7 +2580,13 @@ body.loaded .pc-sidebar__label {
2574
2580
  }
2575
2581
  .pc-sidebar__chevron {
2576
2582
  margin-inline-start: auto;
2577
- font-size: 1.2rem;
2583
+ inline-size: 1.6rem;
2584
+ block-size: 1.6rem;
2585
+ flex-shrink: 0;
2586
+ font-size: 0;
2587
+ background-color: currentColor;
2588
+ -webkit-mask: var(--pc-icon-chevron, var(--base-icon-chevron, url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m9 18 6-6-6-6%22/%3E%3C/svg%3E"))) center/1.2rem no-repeat;
2589
+ mask: var(--pc-icon-chevron, var(--base-icon-chevron, url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m9 18 6-6-6-6%22/%3E%3C/svg%3E"))) center/1.2rem no-repeat;
2578
2590
  }
2579
2591
  body.loaded .pc-sidebar__chevron {
2580
2592
  transition: transform 0.1s ease-out;
@@ -2601,7 +2613,7 @@ body.loaded .pc-sidebar__chevron {
2601
2613
  opacity: 1;
2602
2614
  overflow: visible !important;
2603
2615
  z-index: 1050;
2604
- border-inline-end: 1px solid #e1e5e9;
2616
+ border-inline-end: 1px solid #e2e8f0;
2605
2617
  }
2606
2618
  .sidebar-hidden .pc-layout__sidebar--icon-collapse .pc-sidebar__item {
2607
2619
  position: relative;
@@ -2690,13 +2702,13 @@ body.loaded .pc-sidebar__chevron {
2690
2702
  .sidebar-hidden .pc-layout__sidebar--icon-collapse .pc-sidebar__item:hover > .pc-sidebar__submenu .pc-sidebar__toggle:hover,
2691
2703
  .sidebar-hidden .pc-layout__sidebar--icon-collapse .pc-sidebar__submenu:hover .pc-sidebar__link:hover,
2692
2704
  .sidebar-hidden .pc-layout__sidebar--icon-collapse .pc-sidebar__submenu:hover .pc-sidebar__toggle:hover {
2693
- background-color: var(--pc-sidebar-submenu-hover-bg, var(--base-subtle-bg));
2705
+ background-color: var(--pc-sidebar-submenu-hover-bg, var(--base-hover-bg));
2694
2706
  }
2695
2707
  .sidebar-hidden .pc-layout__sidebar--icon-collapse .pc-sidebar__item:hover > .pc-sidebar__submenu .pc-sidebar__link--active,
2696
2708
  .sidebar-hidden .pc-layout__sidebar--icon-collapse .pc-sidebar__item:hover > .pc-sidebar__submenu .pc-sidebar__toggle--active,
2697
2709
  .sidebar-hidden .pc-layout__sidebar--icon-collapse .pc-sidebar__submenu:hover .pc-sidebar__link--active,
2698
2710
  .sidebar-hidden .pc-layout__sidebar--icon-collapse .pc-sidebar__submenu:hover .pc-sidebar__toggle--active {
2699
- background-color: var(--pc-sidebar-submenu-active-bg, var(--base-subtle-bg));
2711
+ background-color: var(--pc-sidebar-submenu-active-bg, var(--base-active-bg));
2700
2712
  color: var(--pc-sidebar-submenu-active-text, var(--base-text-color-1));
2701
2713
  }
2702
2714
  .sidebar-hidden .pc-layout__sidebar--icon-collapse .pc-sidebar__item:hover > .pc-sidebar__submenu .pc-sidebar__icon,
@@ -2806,7 +2818,7 @@ body.pc-layout--sticky {
2806
2818
  .pc-layout {
2807
2819
  max-width: 100%;
2808
2820
  margin: 4.8rem auto 0;
2809
- background-color: var(--pc-main-bg);
2821
+ background-color: var(--pc-page-bg);
2810
2822
  overflow: visible;
2811
2823
  display: flex;
2812
2824
  flex-direction: column;
@@ -5942,16 +5954,25 @@ body.pc-layout--sticky .pc-layout__inner {
5942
5954
  }
5943
5955
 
5944
5956
  :root {
5945
- --base-accent-color: #007bff;
5946
- --base-accent-color-hover: rgb(20%, 58.5882352941%, 100%);
5947
- --base-accent-color-active: rgb(40%, 68.9411764706%, 100%);
5948
- --base-accent-color-light: rgba(0, 123, 255, 0.05);
5949
- --base-accent-color-light-hover: rgba(0, 123, 255, 0.12);
5950
- --base-text-color-1: #2c3e50;
5951
- --base-text-color-2: #6c757d;
5952
- --base-text-color-3: #7a8a99;
5953
- --base-text-color-4: #a3b1bf;
5957
+ --base-accent-color: #0ea5e9;
5958
+ --base-accent-color-hover: #0284c7;
5959
+ --base-accent-color-active: #0369a1;
5960
+ --base-accent-color-light: rgba(14, 165, 233, 0.05);
5961
+ --base-accent-color-light-hover: rgba(14, 165, 233, 0.08);
5962
+ --base-primary-color: var(--base-accent-color, #0ea5e9);
5963
+ --base-primary-color-hover: var(--base-accent-color-hover, #0284c7);
5964
+ --base-primary-color-active: var(--base-accent-color-active, #0369a1);
5965
+ --base-primary-color-light: var(--base-accent-color-light, rgba(14, 165, 233, 0.05));
5966
+ --base-primary-color-light-hover: var(--base-accent-color-light-hover, rgba(14, 165, 233, 0.08));
5967
+ --base-secondary-color: #6c757d;
5968
+ --base-secondary-color-hover: #545b62;
5969
+ --base-text-color-1: #334155;
5970
+ --base-text-color-2: #64748b;
5971
+ --base-text-color-3: #94a3b8;
5972
+ --base-text-color-4: #cbd5e1;
5954
5973
  --base-text-color-on-accent: #ffffff;
5974
+ --base-text-on-primary: var(--base-text-color-on-accent, #ffffff);
5975
+ --base-text-on-secondary: #ffffff;
5955
5976
  --base-main-bg: #ffffff;
5956
5977
  --base-page-bg: #f8f9fa;
5957
5978
  --base-subtle-bg: #e9ecef;
@@ -5960,62 +5981,73 @@ body.pc-layout--sticky .pc-layout__inner {
5960
5981
  --base-shadow-color: rgba(0, 0, 0, 0.15);
5961
5982
  --base-hover-bg: #e9ecef;
5962
5983
  --base-active-bg: rgb(85.5830753354%, 87.5490196078%, 89.5149638803%);
5963
- --base-disabled-bg: #e9ecef;
5964
- --base-elevated-bg: #f5f5f5;
5965
- --base-border-color: #e1e5e9;
5966
- --base-border: 1px solid #e1e5e9;
5984
+ --base-disabled-bg: #f1f3f5;
5985
+ --base-elevated-bg: #f8f9fa;
5986
+ --base-text-inverted: #ffffff;
5987
+ --base-border-width: 1px;
5988
+ --base-border-color: #e2e8f0;
5989
+ --base-border: 1px solid #e2e8f0;
5990
+ --base-checkbox-border-color: #e2e8f0;
5967
5991
  --base-input-bg: #ffffff;
5968
- --base-input-color: #495057;
5969
- --base-input-border: 1px solid #ced4da;
5970
- --base-input-border-hover: 1px solid #b8bfc6;
5971
- --base-input-border-focus: 1px solid #007bff;
5972
- --base-input-placeholder-color: #a3b1bf;
5992
+ --base-input-color: #334155;
5993
+ --base-input-border: 1px solid #e2e8f0;
5994
+ --base-input-border-color: #e2e8f0;
5995
+ --base-input-border-hover: 1px solid #0ea5e9;
5996
+ --base-input-border-focus: 1px solid #0ea5e9;
5997
+ --base-input-placeholder-color: #cbd5e1;
5973
5998
  --base-input-bg-disabled: rgba(255, 255, 255, 0.5);
5999
+ --base-input-clear-color: #94a3b8;
6000
+ --base-input-clear-bg-hover: #e9ecef;
5974
6001
  --base-input-size-xs-height: 3.1;
5975
6002
  --base-input-size-sm-height: 3.3;
5976
6003
  --base-input-size-md-height: 3.5;
5977
6004
  --base-input-size-lg-height: 3.8;
5978
6005
  --base-input-size-xl-height: 4.1;
5979
6006
  --base-dropdown-bg: #ffffff;
5980
- --base-dropdown-border: 1px solid #e1e5e9;
6007
+ --base-dropdown-border: 1px solid #e2e8f0;
5981
6008
  --base-dropdown-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
5982
6009
  --base-tooltip-bg: #2c3e50;
5983
6010
  --base-tooltip-text-color: #ffffff;
5984
- --base-success-color: #22c55e;
5985
- --base-success-color-hover: rgb(10.3896103896%, 60.1986249045%, 28.7242169595%);
5986
- --base-success-bg-light: rgba(34, 197, 94, 0.1);
5987
- --base-success-bg-subtle: rgba(34, 197, 94, 0.08);
5988
- --base-success-border: rgba(34, 197, 94, 0.2);
6011
+ --base-tooltip-color: #ffffff;
6012
+ --base-success-color: #10b981;
6013
+ --base-success-bg: #10b981;
6014
+ --base-success-color-hover: #059669;
6015
+ --base-success-bg-light: rgba(16, 185, 129, 0.1);
6016
+ --base-success-bg-subtle: rgba(16, 185, 129, 0.08);
6017
+ --base-success-border: rgba(16, 185, 129, 0.2);
5989
6018
  --base-success-text: #155724;
5990
6019
  --base-success-text-light: #d4edda;
5991
6020
  --base-text-on-success: #ffffff;
5992
6021
  --base-danger-color: #ef4444;
5993
- --base-danger-color-hover: rgb(92.1491355163%, 8.2430213465%, 8.2430213465%);
6022
+ --base-danger-bg: #ef4444;
6023
+ --base-danger-color-hover: #dc2626;
5994
6024
  --base-danger-bg-light: rgba(239, 68, 68, 0.1);
5995
6025
  --base-danger-bg-subtle: rgba(239, 68, 68, 0.08);
5996
6026
  --base-danger-border: rgba(239, 68, 68, 0.2);
5997
6027
  --base-danger-text: #721c24;
5998
6028
  --base-danger-text-light: #f8d7da;
5999
6029
  --base-text-on-danger: #ffffff;
6000
- --base-warning-color: #f97316;
6001
- --base-warning-color-hover: rgb(84.1086225285%, 35.7371400443%, 2.1658872754%);
6002
- --base-warning-bg-light: rgba(249, 115, 22, 0.1);
6003
- --base-warning-bg-subtle: rgba(249, 115, 22, 0.08);
6004
- --base-warning-border: rgba(249, 115, 22, 0.2);
6030
+ --base-warning-color: #f59e0b;
6031
+ --base-warning-bg: #f59e0b;
6032
+ --base-warning-color-hover: #d97706;
6033
+ --base-warning-bg-light: rgba(245, 158, 11, 0.1);
6034
+ --base-warning-bg-subtle: rgba(245, 158, 11, 0.08);
6035
+ --base-warning-border: rgba(245, 158, 11, 0.2);
6005
6036
  --base-warning-text: #856404;
6006
6037
  --base-warning-text-light: #fff3cd;
6007
- --base-text-on-warning: #212529;
6008
- --base-info-color: #17a2b8;
6009
- --base-info-color-hover: rgb(6.7973856209%, 47.8772378517%, 54.3790849673%);
6010
- --base-info-bg-light: rgba(23, 162, 184, 0.1);
6011
- --base-info-bg-subtle: rgba(23, 162, 184, 0.08);
6012
- --base-info-border: rgba(23, 162, 184, 0.2);
6038
+ --base-text-on-warning: #ffffff;
6039
+ --base-info-color: #06b6d4;
6040
+ --base-info-bg: #06b6d4;
6041
+ --base-info-color-hover: #0891b2;
6042
+ --base-info-bg-light: rgba(6, 182, 212, 0.1);
6043
+ --base-info-bg-subtle: rgba(6, 182, 212, 0.08);
6044
+ --base-info-border: rgba(6, 182, 212, 0.2);
6013
6045
  --base-info-text: #0c5460;
6014
6046
  --base-info-text-light: #d1ecf1;
6015
6047
  --base-text-on-info: #ffffff;
6016
6048
  --base-hover-overlay: rgba(0, 0, 0, 0.04);
6017
6049
  --base-active-overlay: rgba(0, 0, 0, 0.08);
6018
- --base-focus-ring-color: #007bff;
6050
+ --base-focus-ring-color: #0ea5e9;
6019
6051
  --base-focus-ring-width: 3px;
6020
6052
  --base-font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
6021
6053
  --base-font-family-mono: SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
@@ -6036,45 +6068,101 @@ body.pc-layout--sticky .pc-layout__inner {
6036
6068
  --base-border-radius-sm: 0.4;
6037
6069
  --base-border-radius-md: 0.6;
6038
6070
  --base-border-radius-lg: 0.8;
6071
+ --base-rem: 1rem;
6072
+ --base-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m9 18 6-6-6-6%22/%3E%3C/svg%3E");
6073
+ --base-icon-caret-down: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath fill=%22%23000%22 d=%22M12 15 6 9h12z%22/%3E%3C/svg%3E");
6074
+ --base-icon-caret-up: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath fill=%22%23000%22 d=%22M12 9 6 15h12z%22/%3E%3C/svg%3E");
6075
+ --base-icon-close: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M18 6 6 18%22/%3E%3Cpath d=%22m6 6 12 12%22/%3E%3C/svg%3E");
6076
+ --base-icon-clear: var(--base-icon-close, url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M18 6 6 18%22/%3E%3Cpath d=%22m6 6 12 12%22/%3E%3C/svg%3E"));
6077
+ --base-icon-remove: var(--base-icon-close, url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M18 6 6 18%22/%3E%3Cpath d=%22m6 6 12 12%22/%3E%3C/svg%3E"));
6078
+ --base-icon-expand: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12h14%22/%3E%3Cpath d=%22M12 5v14%22/%3E%3C/svg%3E");
6079
+ --base-icon-collapse: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12h14%22/%3E%3C/svg%3E");
6080
+ --base-icon-add: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12h14%22/%3E%3Cpath d=%22M12 5v14%22/%3E%3C/svg%3E");
6081
+ --base-icon-edit: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z%22/%3E%3C/svg%3E");
6082
+ --base-icon-delete: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 6h18%22/%3E%3Cpath d=%22M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2%22/%3E%3Cpath d=%22M10 11v6%22/%3E%3Cpath d=%22M14 11v6%22/%3E%3C/svg%3E");
6083
+ --base-icon-search: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2211%22 cy=%2211%22 r=%228%22/%3E%3Cpath d=%22m21 21-4.3-4.3%22/%3E%3C/svg%3E");
6084
+ --base-color-1: #f59e0b;
6085
+ --base-color-2: #ec4899;
6086
+ --base-color-3: #10b981;
6087
+ --base-color-4: #0ea5e9;
6088
+ --base-color-5: #8b5cf6;
6089
+ --base-color-6: #6366f1;
6090
+ --base-color-7: #64748b;
6091
+ --base-color-8: #0284c7;
6092
+ --base-color-9: #334155;
6093
+ --base-color-1-text: #1a1a1a;
6094
+ --base-color-2-text: #ffffff;
6095
+ --base-color-3-text: #ffffff;
6096
+ --base-color-4-text: #ffffff;
6097
+ --base-color-5-text: #ffffff;
6098
+ --base-color-6-text: #ffffff;
6099
+ --base-color-7-text: #ffffff;
6100
+ --base-color-8-text: #ffffff;
6101
+ --base-color-9-text: #ffffff;
6102
+ --base-space-xs: 0.4;
6103
+ --base-space-sm: 0.8;
6104
+ --base-space-md: 1.2;
6105
+ --base-space-base: 1.6;
6106
+ --base-space-lg: 2.4;
6107
+ --base-space-xl: 3.2;
6108
+ --base-space-2xl: 4.8;
6109
+ --base-shadow-sm: 0 1px 3px var(--base-shadow-color);
6110
+ --base-shadow-md: 0 2px 8px var(--base-shadow-color);
6111
+ --base-shadow-lg: 0 4px 12px var(--base-shadow-color);
6112
+ --base-duration-fast: 0.1s;
6113
+ --base-duration-normal: 0.15s;
6114
+ --base-duration-medium: 0.25s;
6115
+ --base-duration-slow: 0.3s;
6116
+ --base-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
6117
+ --base-ease-out: cubic-bezier(0, 0, 0.2, 1);
6118
+ --base-ease-in: cubic-bezier(0.4, 0, 1, 1);
6119
+ --base-z-dropdown: 7500;
6120
+ --base-z-modal-backdrop: 6000;
6121
+ --base-z-modal: 7000;
6122
+ --base-z-popover: 7600;
6123
+ --base-z-toast: 8000;
6124
+ --base-z-tooltip: 9000;
6039
6125
  color-scheme: light;
6040
- --pc-main-bg: #f8f9fa;
6041
- --pc-page-bg: #f8f9fa;
6042
- --pc-subtle-bg: #ffffff;
6043
- --pc-text-color-1: #2c3e50;
6044
- --pc-text-color-2: #6c757d;
6045
- --pc-accent: #007bff;
6046
- --pc-accent-hover: rgba(0, 123, 255, 0.12);
6126
+ --pc-main-bg: #ffffff;
6127
+ --pc-page-bg: var(--base-page-bg, #f8f9fa);
6128
+ --pc-subtle-bg: #e9ecef;
6129
+ --pc-hover-bg: var(--base-hover-bg, #e9ecef);
6130
+ --pc-active-bg: var(--base-active-bg, rgb(85.5830753354%, 87.5490196078%, 89.5149638803%));
6131
+ --pc-text-color-1: var(--base-text-color-1, #334155);
6132
+ --pc-text-color-2: var(--base-text-color-2, #64748b);
6133
+ --pc-accent: var(--base-accent-color, #0ea5e9);
6134
+ --pc-accent-hover: rgba(14, 165, 233, 0.08);
6047
6135
  --pc-accent-light: color-mix(in srgb, var(--pc-accent) 5%, transparent);
6048
6136
  --pc-link-color: var(--pc-accent);
6049
6137
  --pc-link-color-hover: color-mix(in srgb, var(--pc-link-color), currentColor 50%);
6050
6138
  --pc-link-color-visited: var(--pc-link-color);
6051
- --pc-border-color: var(--base-border-color, #e1e5e9);
6052
- --pc-success: #22c55e;
6053
- --pc-warning: #f97316;
6139
+ --pc-border-color: var(--base-border-color, #e2e8f0);
6140
+ --pc-success: #10b981;
6141
+ --pc-warning: #f59e0b;
6054
6142
  --pc-danger: #ef4444;
6055
- --pc-info: #17a2b8;
6143
+ --pc-info: #06b6d4;
6056
6144
  --pc-success-text: #155724;
6057
6145
  --pc-danger-text: #721c24;
6058
6146
  --pc-warning-text: #856404;
6059
6147
  --pc-info-text: #0c5460;
6060
- --pc-color-1: transparent;
6061
- --pc-color-2: transparent;
6062
- --pc-color-3: transparent;
6063
- --pc-color-4: transparent;
6064
- --pc-color-5: transparent;
6065
- --pc-color-6: transparent;
6066
- --pc-color-7: transparent;
6067
- --pc-color-8: transparent;
6068
- --pc-color-9: transparent;
6069
- --pc-color-1-text: #ffffff;
6070
- --pc-color-2-text: #ffffff;
6071
- --pc-color-3-text: #ffffff;
6072
- --pc-color-4-text: #ffffff;
6073
- --pc-color-5-text: #ffffff;
6074
- --pc-color-6-text: #ffffff;
6075
- --pc-color-7-text: #ffffff;
6076
- --pc-color-8-text: #ffffff;
6077
- --pc-color-9-text: #ffffff;
6148
+ --pc-color-1: var(--base-color-1, #f59e0b);
6149
+ --pc-color-2: var(--base-color-2, #ec4899);
6150
+ --pc-color-3: var(--base-color-3, #10b981);
6151
+ --pc-color-4: var(--base-color-4, #0ea5e9);
6152
+ --pc-color-5: var(--base-color-5, #8b5cf6);
6153
+ --pc-color-6: var(--base-color-6, #6366f1);
6154
+ --pc-color-7: var(--base-color-7, #64748b);
6155
+ --pc-color-8: var(--base-color-8, #0284c7);
6156
+ --pc-color-9: var(--base-color-9, #334155);
6157
+ --pc-color-1-text: var(--base-color-1-text, #1a1a1a);
6158
+ --pc-color-2-text: var(--base-color-2-text, #ffffff);
6159
+ --pc-color-3-text: var(--base-color-3-text, #ffffff);
6160
+ --pc-color-4-text: var(--base-color-4-text, #ffffff);
6161
+ --pc-color-5-text: var(--base-color-5-text, #ffffff);
6162
+ --pc-color-6-text: var(--base-color-6-text, #ffffff);
6163
+ --pc-color-7-text: var(--base-color-7-text, #ffffff);
6164
+ --pc-color-8-text: var(--base-color-8-text, #ffffff);
6165
+ --pc-color-9-text: var(--base-color-9-text, #ffffff);
6078
6166
  --pc-border-radius-sm: calc(var(--base-border-radius-sm, 0.4) * 1rem);
6079
6167
  --pc-border-radius: calc(var(--base-border-radius-md, 0.6) * 1rem);
6080
6168
  --pc-border-radius-lg: calc(var(--base-border-radius-lg, 0.8) * 1rem);
@@ -80,7 +80,7 @@ body {
80
80
  font-family: var(--base-font-family);
81
81
  font-size: 1.6rem;
82
82
  color: var(--pc-text-color-1);
83
- background-color: var(--pc-main-bg);
83
+ background-color: var(--pc-page-bg);
84
84
  line-height: 1.5;
85
85
  }
86
86
 
@@ -5,14 +5,14 @@
5
5
  }
6
6
 
7
7
  *::-webkit-scrollbar-track {
8
- background: var(--pc-main-bg);
8
+ background: var(--pc-page-bg);
9
9
  border-radius: var(--pc-border-radius-sm);
10
10
  }
11
11
 
12
12
  *::-webkit-scrollbar-thumb {
13
13
  background: var(--pc-border-color);
14
14
  border-radius: var(--pc-border-radius-sm);
15
- border: 1px solid var(--pc-main-bg);
15
+ border: 1px solid var(--pc-page-bg);
16
16
  }
17
17
  *::-webkit-scrollbar-thumb:hover {
18
18
  background: var(--pc-accent);
@@ -22,11 +22,11 @@
22
22
  }
23
23
 
24
24
  *::-webkit-scrollbar-corner {
25
- background: var(--pc-main-bg);
25
+ background: var(--pc-page-bg);
26
26
  }
27
27
 
28
28
  /* Firefox */
29
29
  * {
30
30
  scrollbar-width: thin;
31
- scrollbar-color: var(--pc-border-color) var(--pc-main-bg);
31
+ scrollbar-color: var(--pc-border-color) var(--pc-page-bg);
32
32
  }
package/package.json CHANGED
@@ -1,81 +1,83 @@
1
- {
2
- "name": "@keenmate/pure-css",
3
- "version": "1.0.0-rc06",
4
- "description": "The KeenMate CSS foundation — --base-* theming contract, PureCSS grid and utility classes. Extracted from pure-admin-core so docs sites, standalone pages and every web/svelte component share one theming layer.",
5
- "style": "dist/css/pure-css.css",
6
- "exports": {
7
- ".": "./dist/css/pure-css.css",
8
- "./css": "./dist/css/pure-css.css",
9
- "./css/*": "./dist/css/*",
10
- "./base": "./dist/css/base.css",
11
- "./reboot": "./dist/css/reboot.css",
12
- "./scrollbars": "./dist/css/scrollbars.css",
13
- "./grid": "./dist/css/grid.css",
14
- "./utilities": "./dist/css/utilities.css",
15
- "./scss": "./src/scss/pure-css.scss",
16
- "./scss/*": "./src/scss/*",
17
- "./js": "./src/js/pure-css.js",
18
- "./js/*": "./src/js/*"
19
- },
20
- "files": [
21
- "dist/",
22
- "src/scss/",
23
- "src/js/",
24
- "README.md",
25
- "CHANGELOG.md",
26
- "LICENSE"
27
- ],
28
- "scripts": {
29
- "build:bundle": "sass src/scss/pure-css.scss dist/css/pure-css.css --no-source-map --silence-deprecation=import",
30
- "build:base": "sass src/scss/base.scss dist/css/base.css --no-source-map --silence-deprecation=import",
31
- "build:reboot": "sass src/scss/reboot.scss dist/css/reboot.css --no-source-map --silence-deprecation=import",
32
- "build:scrollbars": "sass src/scss/scrollbars.scss dist/css/scrollbars.css --no-source-map --silence-deprecation=import",
33
- "build:grid": "sass src/scss/grid.scss dist/css/grid.css --no-source-map --silence-deprecation=import",
34
- "build:utilities": "sass src/scss/utilities.scss dist/css/utilities.css --no-source-map --silence-deprecation=import",
35
- "build": "npm run build:bundle && npm run build:base && npm run build:reboot && npm run build:scrollbars && npm run build:grid && npm run build:utilities",
36
- "watch": "sass --watch src/scss/pure-css.scss:dist/css/pure-css.css --silence-deprecation=import",
37
- "dev": "vite --port 12500",
38
- "test": "npm run test:e2e",
39
- "test:e2e": "playwright test",
40
- "test:e2e:ui": "playwright test --ui",
41
- "test:e2e:headed": "playwright test --headed",
42
- "test:e2e:install": "playwright install chromium",
43
- "prepublishOnly": "npm run build"
44
- },
45
- "keywords": [
46
- "css",
47
- "scss",
48
- "purecss",
49
- "grid",
50
- "utilities",
51
- "css-variables",
52
- "theming",
53
- "keenmate",
54
- "pure-admin"
55
- ],
56
- "author": "KeenMate",
57
- "license": "MIT",
58
- "peerDependencies": {
59
- "sass": "^1.0.0"
60
- },
61
- "devDependencies": {
62
- "@playwright/test": "^1.60.0",
63
- "sass": "^1.70.0",
64
- "vite": "^5.4.0"
65
- },
66
- "repository": {
67
- "type": "git",
68
- "url": "git+https://github.com/KeenMate/pure-css.git"
69
- },
70
- "bugs": {
71
- "url": "https://github.com/KeenMate/pure-css/issues"
72
- },
73
- "homepage": "https://github.com/KeenMate/pure-css#readme",
74
- "publishConfig": {
75
- "access": "public"
76
- },
77
- "allowScripts": {
78
- "esbuild@0.21.5": true,
79
- "@parcel/watcher@2.6.0": true
80
- }
81
- }
1
+ {
2
+ "name": "@keenmate/pure-css",
3
+ "version": "1.0.0-rc08",
4
+ "description": "The KeenMate CSS foundation — --base-* theming contract, PureCSS grid and utility classes. Extracted from pure-admin-core so docs sites, standalone pages and every web/svelte component share one theming layer.",
5
+ "style": "dist/css/pure-css.css",
6
+ "exports": {
7
+ ".": "./dist/css/pure-css.css",
8
+ "./css": "./dist/css/pure-css.css",
9
+ "./css/*": "./dist/css/*",
10
+ "./base": "./dist/css/base.css",
11
+ "./reboot": "./dist/css/reboot.css",
12
+ "./component-reset": "./dist/css/component-reset.css",
13
+ "./scrollbars": "./dist/css/scrollbars.css",
14
+ "./grid": "./dist/css/grid.css",
15
+ "./utilities": "./dist/css/utilities.css",
16
+ "./scss": "./src/scss/pure-css.scss",
17
+ "./scss/*": "./src/scss/*",
18
+ "./js": "./src/js/pure-css.js",
19
+ "./js/*": "./src/js/*"
20
+ },
21
+ "files": [
22
+ "dist/",
23
+ "src/scss/",
24
+ "src/js/",
25
+ "README.md",
26
+ "CHANGELOG.md",
27
+ "LICENSE"
28
+ ],
29
+ "scripts": {
30
+ "build:bundle": "sass src/scss/pure-css.scss dist/css/pure-css.css --no-source-map --silence-deprecation=import",
31
+ "build:base": "sass src/scss/base.scss dist/css/base.css --no-source-map --silence-deprecation=import",
32
+ "build:reboot": "sass src/scss/reboot.scss dist/css/reboot.css --no-source-map --silence-deprecation=import",
33
+ "build:component-reset": "sass src/scss/component-reset.scss dist/css/component-reset.css --no-source-map --silence-deprecation=import",
34
+ "build:scrollbars": "sass src/scss/scrollbars.scss dist/css/scrollbars.css --no-source-map --silence-deprecation=import",
35
+ "build:grid": "sass src/scss/grid.scss dist/css/grid.css --no-source-map --silence-deprecation=import",
36
+ "build:utilities": "sass src/scss/utilities.scss dist/css/utilities.css --no-source-map --silence-deprecation=import",
37
+ "build": "npm run build:bundle && npm run build:base && npm run build:reboot && npm run build:component-reset && npm run build:scrollbars && npm run build:grid && npm run build:utilities",
38
+ "watch": "sass --watch src/scss/pure-css.scss:dist/css/pure-css.css --silence-deprecation=import",
39
+ "dev": "vite --port 12500",
40
+ "test": "npm run test:e2e",
41
+ "test:e2e": "playwright test",
42
+ "test:e2e:ui": "playwright test --ui",
43
+ "test:e2e:headed": "playwright test --headed",
44
+ "test:e2e:install": "playwright install chromium",
45
+ "prepublishOnly": "npm run build"
46
+ },
47
+ "keywords": [
48
+ "css",
49
+ "scss",
50
+ "purecss",
51
+ "grid",
52
+ "utilities",
53
+ "css-variables",
54
+ "theming",
55
+ "keenmate",
56
+ "pure-admin"
57
+ ],
58
+ "author": "KeenMate",
59
+ "license": "MIT",
60
+ "peerDependencies": {
61
+ "sass": "^1.0.0"
62
+ },
63
+ "devDependencies": {
64
+ "@playwright/test": "^1.60.0",
65
+ "sass": "^1.70.0",
66
+ "vite": "^5.4.0"
67
+ },
68
+ "repository": {
69
+ "type": "git",
70
+ "url": "git+https://github.com/KeenMate/pure-css.git"
71
+ },
72
+ "bugs": {
73
+ "url": "https://github.com/KeenMate/pure-css/issues"
74
+ },
75
+ "homepage": "https://github.com/KeenMate/pure-css#readme",
76
+ "publishConfig": {
77
+ "access": "public"
78
+ },
79
+ "allowScripts": {
80
+ "esbuild@0.21.5": true,
81
+ "@parcel/watcher@2.6.0": true
82
+ }
83
+ }