@carefirst/library 6.2.5 → 6.2.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carefirst/library",
3
- "version": "6.2.5",
3
+ "version": "6.2.6",
4
4
  "author": "FCS Dev Team",
5
5
  "private": false,
6
6
  "peerDependencies": {
@@ -148,18 +148,15 @@ cf-badge:has(div.stretch) {
148
148
  ============== Opacity Background ==============
149
149
  ===============================================*/
150
150
 
151
- @mixin opacity($percentage) {
152
- background-color: color-mix(in srgb, var(--cf-app-color-accent) $percentage, var(--cf-app-color-white)) !important;
153
-
154
- &.accent-border {
155
- border: 1px solid var(--cf-app-color-accent) !important;
156
- }
157
- }
158
-
159
151
  .accent-background-opacity-25 {
160
- @include opacity(25%);
152
+ background-color: var(--cf-app-color-accent-25) !important;
161
153
  }
162
154
 
163
155
  .accent-background-opacity-50 {
164
- @include opacity(50%);
156
+ background-color: var(--cf-app-color-accent-50) !important;
157
+ }
158
+
159
+ //--- Add .accent-border to add a border to the element with the accent color opacity background
160
+ [class^='accent-background-opacity-'].accent-border {
161
+ border: 1px solid var(--cf-app-color-accent) !important;
165
162
  }
@@ -6,8 +6,10 @@
6
6
  --cf-app-color-secondary: #80858a;
7
7
  --cf-app-color-white: #fcfcfc;
8
8
  --cf-app-color-off-white: #fcfaf9;
9
- --cf-app-color-accent: #3fa3db;
10
9
  --cf-app-background-dark: #252525;
10
+ --cf-app-color-accent: #3fa3db;
11
+ --cf-app-color-accent-25: color-mix(in srgb, var(--cf-app-color-accent) 25%, #fff);
12
+ --cf-app-color-accent-50: color-mix(in srgb, var(--cf-app-color-accent) 50%, #fff);
11
13
  //--- System Colors
12
14
  --cf-app-system-color-success-100: #61C453;
13
15
  --cf-app-system-color-success-50: #c1f4bb;