@sats-group/ui-lib 87.2.0 → 87.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sats-group/ui-lib",
3
- "version": "87.2.0",
3
+ "version": "87.3.0",
4
4
  "description": "SATS web user interface library",
5
5
  "author": "developer@sats.no",
6
6
  "license": "UNLICENSED",
@@ -20,13 +20,11 @@
20
20
  }
21
21
 
22
22
  &--selected {
23
- background-color: var(--ge-chips-selected-default);
24
- color: var(--on-ge-on-chips-selected-default);
23
+ border-color: var(--ge-chips-selected-default);
25
24
 
26
25
  @media (hover: hover) {
27
26
  &:not([disabled]):hover {
28
27
  background-color: var(--ge-chips-selected-hover);
29
- color: var(--on-ge-on-chips-selected-default);
30
28
  }
31
29
  }
32
30
  }
@@ -1,2 +1,2 @@
1
- var f=Object.defineProperty,x=Object.defineProperties;var y=Object.getOwnPropertyDescriptors;var g=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var u=(o,e,t)=>e in o?f(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,i=(o,e)=>{for(var t in e||(e={}))T.call(e,t)&&u(o,t,e[t]);if(g)for(var t of g(e))$.call(e,t)&&u(o,t,e[t]);return o},_=(o,e)=>x(o,y(e));import l,{useState as z}from"react";import a from"classnames";import p from"../text";const P=({tabs:o,onSelectionChange:e})=>{const[t,b]=z(o!=null?o:[]),r=t?t.length:0,n=t.findIndex(s=>s.isSelected),v=s=>{b(d=>d.map((m,c)=>_(i({},m),{isSelected:c===s}))),e==null||e(s)};return l.createElement("div",{className:"segmented-controller"},l.createElement("div",{className:a("segmented-controller__tabs",{[`segmented-controller__tabs--col-${r}`]:r,[`segmented-controller__tabs--selected-${n}`]:n})},l.createElement("div",{className:a("segmented-controller__indicator",{[`segmented-controller__indicator--col-${r}`]:r,[`segmented-controller__indicator--pos-${n}`]:n})}),t?t.map(({label:s,isSelected:d,leadingIcon:m,button:c},N)=>l.createElement("button",_(i({},c),{key:s,onClick:()=>v(N),type:"button",className:a("segmented-controller__tab",{"segmented-controller__tab--selected":d})}),l.createElement(p,{className:"segmented-controller__tab-title",size:p.sizes.small,theme:p.themes.emphasis},m?l.createElement(l.Fragment,null,l.createElement("div",{className:"segmented-controller__tab-icon"},m),l.createElement("div",{className:"segmented-controller__tab-label"},s)):null))):null))};var F=P;export{F as default};
1
+ var f=Object.defineProperty,x=Object.defineProperties;var y=Object.getOwnPropertyDescriptors;var g=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var u=(o,e,t)=>e in o?f(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,i=(o,e)=>{for(var t in e||(e={}))T.call(e,t)&&u(o,t,e[t]);if(g)for(var t of g(e))$.call(e,t)&&u(o,t,e[t]);return o},a=(o,e)=>x(o,y(e));import s,{useState as z}from"react";import _ from"classnames";import p from"../text";const P=({tabs:o,onSelectionChange:e})=>{const[t,b]=z(o!=null?o:[]),r=t?t.length:0,n=t.findIndex(l=>l.isSelected),v=l=>{b(d=>d.map((m,c)=>a(i({},m),{isSelected:c===l}))),e==null||e(l)};return s.createElement("div",{className:"segmented-controller"},s.createElement("div",{className:_("segmented-controller__tabs",{[`segmented-controller__tabs--col-${r}`]:r,[`segmented-controller__tabs--selected-${n}`]:n})},s.createElement("div",{className:_("segmented-controller__indicator",{[`segmented-controller__indicator--col-${r}`]:r,[`segmented-controller__indicator--pos-${n}`]:n})}),t?t.map(({label:l,isSelected:d,leadingIcon:m,button:c},N)=>s.createElement("button",a(i({},c),{key:l,onClick:()=>v(N),type:"button",className:_("segmented-controller__tab",{"segmented-controller__tab--selected":d})}),s.createElement(p,{className:"segmented-controller__tab-title",size:p.sizes.small,theme:p.themes.emphasis},m?s.createElement("div",{className:"segmented-controller__tab-icon"},m):null,s.createElement("div",{className:"segmented-controller__tab-label"},l)))):null))};var F=P;export{F as default};
2
2
  //# sourceMappingURL=segmented-controller.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../react/segmented-controller/segmented-controller.tsx"],
4
- "sourcesContent": ["import React, { useState } from 'react';\nimport cn from 'classnames';\nimport Text from '../text';\n\nimport type { SegmentedController as Props } from './segmented-controller.types';\n\nconst SegmentedController: React.FunctionComponent<Props> = ({\n tabs,\n onSelectionChange,\n}) => {\n const [localTabs, setLocalTabs] = useState(tabs ?? []);\n const columnCount = localTabs ? localTabs.length : 0;\n const selectedIndex = localTabs.findIndex(tab => tab.isSelected);\n const changeView = (clickedIndex: number) => {\n setLocalTabs(prevTabs =>\n prevTabs.map((tab, index) => ({\n ...tab,\n isSelected: index === clickedIndex,\n })),\n );\n onSelectionChange?.(clickedIndex);\n };\n\n return (\n <div className=\"segmented-controller\">\n <div\n className={cn('segmented-controller__tabs', {\n [`segmented-controller__tabs--col-${columnCount}`]: columnCount,\n [`segmented-controller__tabs--selected-${selectedIndex}`]:\n selectedIndex,\n })}\n >\n <div\n className={cn('segmented-controller__indicator', {\n [`segmented-controller__indicator--col-${columnCount}`]:\n columnCount,\n [`segmented-controller__indicator--pos-${selectedIndex}`]:\n selectedIndex,\n })}\n />\n {localTabs\n ? localTabs.map(\n ({ label, isSelected, leadingIcon, button }, index) => (\n <button\n {...button}\n key={label}\n onClick={() => changeView(index)}\n type=\"button\"\n className={cn('segmented-controller__tab', {\n 'segmented-controller__tab--selected': isSelected,\n })}\n >\n <Text\n className=\"segmented-controller__tab-title\"\n size={Text.sizes.small}\n theme={Text.themes.emphasis}\n >\n {leadingIcon ? (\n <>\n <div className=\"segmented-controller__tab-icon\">\n {leadingIcon}\n </div>\n <div className=\"segmented-controller__tab-label\">\n {label}\n </div>\n </>\n ) : null}\n </Text>\n </button>\n ),\n )\n : null}\n </div>\n </div>\n );\n};\n\nexport default SegmentedController;\n"],
5
- "mappings":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,EAAA,cAAC,OAAI,UAAU,mCACZkB,CACH,CACF,EACE,IACN,CACF,CAEJ,EACA,IACN,CACF,CAEJ,EAEA,IAAOI,EAAQlB",
4
+ "sourcesContent": ["import React, { useState } from 'react';\nimport cn from 'classnames';\nimport Text from '../text';\n\nimport type { SegmentedController as Props } from './segmented-controller.types';\n\nconst SegmentedController: React.FunctionComponent<Props> = ({\n tabs,\n onSelectionChange,\n}) => {\n const [localTabs, setLocalTabs] = useState(tabs ?? []);\n const columnCount = localTabs ? localTabs.length : 0;\n const selectedIndex = localTabs.findIndex(tab => tab.isSelected);\n const changeView = (clickedIndex: number) => {\n setLocalTabs(prevTabs =>\n prevTabs.map((tab, index) => ({\n ...tab,\n isSelected: index === clickedIndex,\n })),\n );\n onSelectionChange?.(clickedIndex);\n };\n\n return (\n <div className=\"segmented-controller\">\n <div\n className={cn('segmented-controller__tabs', {\n [`segmented-controller__tabs--col-${columnCount}`]: columnCount,\n [`segmented-controller__tabs--selected-${selectedIndex}`]:\n selectedIndex,\n })}\n >\n <div\n className={cn('segmented-controller__indicator', {\n [`segmented-controller__indicator--col-${columnCount}`]:\n columnCount,\n [`segmented-controller__indicator--pos-${selectedIndex}`]:\n selectedIndex,\n })}\n />\n {localTabs\n ? localTabs.map(\n ({ label, isSelected, leadingIcon, button }, index) => (\n <button\n {...button}\n key={label}\n onClick={() => changeView(index)}\n type=\"button\"\n className={cn('segmented-controller__tab', {\n 'segmented-controller__tab--selected': isSelected,\n })}\n >\n <Text\n className=\"segmented-controller__tab-title\"\n size={Text.sizes.small}\n theme={Text.themes.emphasis}\n >\n {leadingIcon ? (\n <div className=\"segmented-controller__tab-icon\">\n {leadingIcon}\n </div>\n ) : null}\n <div className=\"segmented-controller__tab-label\">\n {label}\n </div>\n </Text>\n </button>\n ),\n )\n : null}\n </div>\n </div>\n );\n};\n\nexport default SegmentedController;\n"],
5
+ "mappings": "6aAAA,OAAOA,GAAS,YAAAC,MAAgB,QAChC,OAAOC,MAAQ,aACf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EA,IAAOI,EAAQlB",
6
6
  "names": ["React", "useState", "cn", "Text", "SegmentedController", "tabs", "onSelectionChange", "localTabs", "setLocalTabs", "columnCount", "selectedIndex", "tab", "changeView", "clickedIndex", "prevTabs", "index", "__spreadProps", "__spreadValues", "label", "isSelected", "leadingIcon", "button", "segmented_controller_default"]
7
7
  }
package/tokens/dark.scss CHANGED
@@ -79,10 +79,10 @@ $ge-border-fixed-alternate: primitives.$white-40;
79
79
  $ge-border-focused: primitives.$white-40;
80
80
  $ge-chips-selected-default: primitives.$white-100;
81
81
  $ge-chips-selected-disabled: primitives.$black-80;
82
- $ge-chips-selected-hover: primitives.$white-80;
82
+ $ge-chips-selected-hover: primitives.$white-5;
83
83
  $ge-chips-unselected-default: primitives.$white-85;
84
84
  $ge-chips-unselected-disabled: primitives.$white-10;
85
- $ge-chips-unselected-hover: primitives.$white-10;
85
+ $ge-chips-unselected-hover: primitives.$white-5;
86
86
  $ge-divider-alternate: primitives.$white-40;
87
87
  $ge-divider-default: primitives.$black-80;
88
88
  $ge-divider-fixed: primitives.$white-20;
@@ -222,6 +222,7 @@ $ge-workouts-availability: primitives.$black-40;
222
222
  $ge-workouts-bootcamp: primitives.$tropical-indigo-60;
223
223
  $ge-workouts-gx: primitives.$salmon-pink-60;
224
224
  $ge-workouts-gym-floor: primitives.$tangerine-60;
225
+ $ge-workouts-hub: primitives.$coral-60;
225
226
  $ge-workouts-other: primitives.$celadon-60;
226
227
  $ge-workouts-pt: primitives.$uranian-blue-60;
227
228
  $ge-workouts-treatments: primitives.$caribbean-current-60;
@@ -267,7 +268,7 @@ $on-fixed-surface-secondary-disabled: primitives.$white-50;
267
268
  $on-ge-on-badge-primary: primitives.$blue-100;
268
269
  $on-ge-on-badge-secondary: primitives.$blue-100;
269
270
  $on-ge-on-badge-tertiary: primitives.$white-100;
270
- $on-ge-on-chips-selected-default: primitives.$blue-100;
271
+ $on-ge-on-chips-selected-default: primitives.$white-100;
271
272
  $on-ge-on-chips-selected-disabled: primitives.$white-60;
272
273
  $on-ge-on-chips-unselected-default: primitives.$white-100;
273
274
  $on-ge-on-chips-unselected-disabled: primitives.$white-20;
@@ -323,6 +324,7 @@ $on-ge-on-tags-secondary-default: primitives.$white-100;
323
324
  $on-ge-on-workouts-bootcamp: primitives.$tropical-indigo-160;
324
325
  $on-ge-on-workouts-gx: primitives.$salmon-pink-180;
325
326
  $on-ge-on-workouts-gymfloor: primitives.$tangerine-160;
327
+ $on-ge-on-workouts-hub: primitives.$coral-150;
326
328
  $on-ge-on-workouts-other: primitives.$celadon-160;
327
329
  $on-ge-on-workouts-pt: primitives.$uranian-blue-160;
328
330
  $on-ge-on-workouts-treatments: primitives.$caribbean-current-180;
@@ -361,6 +363,8 @@ $on-workout-surface-gx-alternate: primitives.$salmon-pink-20;
361
363
  $on-workout-surface-gx-default: primitives.$white-100;
362
364
  $on-workout-surface-gymfloor-alternate: primitives.$tangerine-20;
363
365
  $on-workout-surface-gymfloor-default: primitives.$white-100;
366
+ $on-workout-surface-hub-alternate: primitives.$coral-60;
367
+ $on-workout-surface-hub-default: primitives.$white-100;
364
368
  $on-workout-surface-other-alternate: primitives.$celadon-40;
365
369
  $on-workout-surface-other-default: primitives.$white-100;
366
370
  $on-workout-surface-pt-alternate: primitives.$uranian-blue-40;
@@ -424,6 +428,8 @@ $workout-surface-gx: primitives.$salmon-pink-140;
424
428
  $workout-surface-gx-hover: primitives.$salmon-pink-160;
425
429
  $workout-surface-gymfloor: primitives.$tangerine-140;
426
430
  $workout-surface-gymfloor-hover: primitives.$tangerine-160;
431
+ $workout-surface-hub: primitives.$coral-150;
432
+ $workout-surface-hub-hover: primitives.$coral-170;
427
433
  $workout-surface-other: primitives.$celadon-140;
428
434
  $workout-surface-other-hover: primitives.$celadon-160;
429
435
  $workout-surface-pt: primitives.$uranian-blue-140;
@@ -78,10 +78,10 @@
78
78
  --ge-border-focused: #ffffff66;
79
79
  --ge-chips-selected-default: #ffffff;
80
80
  --ge-chips-selected-disabled: #333333;
81
- --ge-chips-selected-hover: #ffffffcc;
81
+ --ge-chips-selected-hover: #ffffff0d;
82
82
  --ge-chips-unselected-default: #ffffffd9;
83
83
  --ge-chips-unselected-disabled: #ffffff1a;
84
- --ge-chips-unselected-hover: #ffffff1a;
84
+ --ge-chips-unselected-hover: #ffffff0d;
85
85
  --ge-divider-alternate: #ffffff66;
86
86
  --ge-divider-default: #333333;
87
87
  --ge-divider-fixed: #ffffff33;
@@ -221,6 +221,7 @@
221
221
  --ge-workouts-bootcamp: #caa9ff;
222
222
  --ge-workouts-gx: #ffa9b5;
223
223
  --ge-workouts-gym-floor: #fdc666;
224
+ --ge-workouts-hub: #fc9885;
224
225
  --ge-workouts-other: #a3f0bf;
225
226
  --ge-workouts-pt: #a9dcff;
226
227
  --ge-workouts-treatments: #6a9ea1;
@@ -266,7 +267,7 @@
266
267
  --on-ge-on-badge-primary: #0d2134;
267
268
  --on-ge-on-badge-secondary: #0d2134;
268
269
  --on-ge-on-badge-tertiary: #ffffff;
269
- --on-ge-on-chips-selected-default: #0d2134;
270
+ --on-ge-on-chips-selected-default: #ffffff;
270
271
  --on-ge-on-chips-selected-disabled: #ffffff99;
271
272
  --on-ge-on-chips-unselected-default: #ffffff;
272
273
  --on-ge-on-chips-unselected-disabled: #ffffff33;
@@ -322,6 +323,7 @@
322
323
  --on-ge-on-workouts-bootcamp: #422d66;
323
324
  --on-ge-on-workouts-gx: #470009;
324
325
  --on-ge-on-workouts-gymfloor: #644000;
326
+ --on-ge-on-workouts-hub: #7d2919;
325
327
  --on-ge-on-workouts-other: #184629;
326
328
  --on-ge-on-workouts-pt: #16496c;
327
329
  --on-ge-on-workouts-treatments: #011314;
@@ -360,6 +362,8 @@
360
362
  --on-workout-surface-gx-default: #ffffff;
361
363
  --on-workout-surface-gymfloor-alternate: #feeccc;
362
364
  --on-workout-surface-gymfloor-default: #ffffff;
365
+ --on-workout-surface-hub-alternate: #fc9885;
366
+ --on-workout-surface-hub-default: #ffffff;
363
367
  --on-workout-surface-other-alternate: #c1f5d4;
364
368
  --on-workout-surface-other-default: #ffffff;
365
369
  --on-workout-surface-pt-alternate: #c6e7ff;
@@ -423,6 +427,8 @@
423
427
  --workout-surface-gx-hover: #912d3a;
424
428
  --workout-surface-gymfloor: #976000;
425
429
  --workout-surface-gymfloor-hover: #644000;
430
+ --workout-surface-hub: #7d2919;
431
+ --workout-surface-hub-hover: #4b190f;
426
432
  --workout-surface-other: #33764c;
427
433
  --workout-surface-other-hover: #184629;
428
434
  --workout-surface-pt: #2d6891;
@@ -78,10 +78,10 @@ html:not([data-theme]) {
78
78
  --ge-border-focused: #9ea6ae;
79
79
  --ge-chips-selected-default: #0d2134;
80
80
  --ge-chips-selected-disabled: #dcdee0;
81
- --ge-chips-selected-hover: #404d5b;
81
+ --ge-chips-selected-hover: #f4f8fb;
82
82
  --ge-chips-unselected-default: #dcdee0;
83
83
  --ge-chips-unselected-disabled: #e7e9eb;
84
- --ge-chips-unselected-hover: #e9f1f7;
84
+ --ge-chips-unselected-hover: #f4f8fb;
85
85
  --ge-divider-alternate: #00000033;
86
86
  --ge-divider-default: #dcdee0;
87
87
  --ge-divider-fixed: #ffffff33;
@@ -221,6 +221,7 @@ html:not([data-theme]) {
221
221
  --ge-workouts-bootcamp: #a670ff;
222
222
  --ge-workouts-gx: #ff7083;
223
223
  --ge-workouts-gym-floor: #fba000;
224
+ --ge-workouts-hub: #fb6447;
224
225
  --ge-workouts-other: #65e694;
225
226
  --ge-workouts-pt: #70c4ff;
226
227
  --ge-workouts-treatments: #065d63;
@@ -266,7 +267,7 @@ html:not([data-theme]) {
266
267
  --on-ge-on-badge-primary: #ffffff;
267
268
  --on-ge-on-badge-secondary: #ffffff;
268
269
  --on-ge-on-badge-tertiary: #0d2134;
269
- --on-ge-on-chips-selected-default: #ffffff;
270
+ --on-ge-on-chips-selected-default: #0d2134;
270
271
  --on-ge-on-chips-selected-disabled: #566471;
271
272
  --on-ge-on-chips-unselected-default: #0d2134;
272
273
  --on-ge-on-chips-unselected-disabled: #999999;
@@ -322,6 +323,7 @@ html:not([data-theme]) {
322
323
  --on-ge-on-workouts-bootcamp: #211633;
323
324
  --on-ge-on-workouts-gx: #470009;
324
325
  --on-ge-on-workouts-gymfloor: #322000;
326
+ --on-ge-on-workouts-hub: #4b190f;
325
327
  --on-ge-on-workouts-other: #184629;
326
328
  --on-ge-on-workouts-pt: #16496c;
327
329
  --on-ge-on-workouts-treatments: #e6efef;
@@ -360,6 +362,8 @@ html:not([data-theme]) {
360
362
  --on-workout-surface-gx-default: #0d2134;
361
363
  --on-workout-surface-gymfloor-alternate: #644000;
362
364
  --on-workout-surface-gymfloor-default: #0d2134;
365
+ --on-workout-surface-hub-alternate: #4b190f;
366
+ --on-workout-surface-hub-default: #0d2134;
363
367
  --on-workout-surface-other-alternate: #184629;
364
368
  --on-workout-surface-other-default: #0d2134;
365
369
  --on-workout-surface-pt-alternate: #16496c;
@@ -423,6 +427,8 @@ html:not([data-theme]) {
423
427
  --workout-surface-gx-hover: #ffa9b5;
424
428
  --workout-surface-gymfloor: #fdd999;
425
429
  --workout-surface-gymfloor-hover: #fdc666;
430
+ --workout-surface-hub: #fecbc2;
431
+ --workout-surface-hub-hover: #fdbaad;
426
432
  --workout-surface-other: #c1f5d4;
427
433
  --workout-surface-other-hover: #a3f0bf;
428
434
  --workout-surface-pt: #c6e7ff;
package/tokens/light.scss CHANGED
@@ -79,10 +79,10 @@ $ge-border-fixed-alternate: primitives.$white-40;
79
79
  $ge-border-focused: primitives.$blue-40;
80
80
  $ge-chips-selected-default: primitives.$blue-100;
81
81
  $ge-chips-selected-disabled: primitives.$light-grey-15;
82
- $ge-chips-selected-hover: primitives.$blue-grey-80;
82
+ $ge-chips-selected-hover: primitives.$bright-blue-5;
83
83
  $ge-chips-unselected-default: primitives.$light-grey-15;
84
84
  $ge-chips-unselected-disabled: primitives.$blue-10;
85
- $ge-chips-unselected-hover: primitives.$bright-blue-10;
85
+ $ge-chips-unselected-hover: primitives.$bright-blue-5;
86
86
  $ge-divider-alternate: primitives.$black-o20;
87
87
  $ge-divider-default: primitives.$light-grey-15;
88
88
  $ge-divider-fixed: primitives.$white-20;
@@ -222,6 +222,7 @@ $ge-workouts-availability: primitives.$black-60;
222
222
  $ge-workouts-bootcamp: primitives.$tropical-indigo-100;
223
223
  $ge-workouts-gx: primitives.$salmon-pink-100;
224
224
  $ge-workouts-gym-floor: primitives.$tangerine-100;
225
+ $ge-workouts-hub: primitives.$coral-90;
225
226
  $ge-workouts-other: primitives.$celadon-100;
226
227
  $ge-workouts-pt: primitives.$uranian-blue-100;
227
228
  $ge-workouts-treatments: primitives.$caribbean-current-100;
@@ -267,7 +268,7 @@ $on-fixed-surface-secondary-disabled: primitives.$white-50;
267
268
  $on-ge-on-badge-primary: primitives.$white-100;
268
269
  $on-ge-on-badge-secondary: primitives.$white-100;
269
270
  $on-ge-on-badge-tertiary: primitives.$blue-100;
270
- $on-ge-on-chips-selected-default: primitives.$white-100;
271
+ $on-ge-on-chips-selected-default: primitives.$blue-100;
271
272
  $on-ge-on-chips-selected-disabled: primitives.$blue-70;
272
273
  $on-ge-on-chips-unselected-default: primitives.$blue-100;
273
274
  $on-ge-on-chips-unselected-disabled: primitives.$black-40;
@@ -323,6 +324,7 @@ $on-ge-on-tags-secondary-default: primitives.$blue-100;
323
324
  $on-ge-on-workouts-bootcamp: primitives.$tropical-indigo-180;
324
325
  $on-ge-on-workouts-gx: primitives.$salmon-pink-180;
325
326
  $on-ge-on-workouts-gymfloor: primitives.$tangerine-180;
327
+ $on-ge-on-workouts-hub: primitives.$coral-170;
326
328
  $on-ge-on-workouts-other: primitives.$celadon-160;
327
329
  $on-ge-on-workouts-pt: primitives.$uranian-blue-160;
328
330
  $on-ge-on-workouts-treatments: primitives.$caribbean-current-10;
@@ -361,6 +363,8 @@ $on-workout-surface-gx-alternate: primitives.$salmon-pink-180;
361
363
  $on-workout-surface-gx-default: primitives.$blue-100;
362
364
  $on-workout-surface-gymfloor-alternate: primitives.$tangerine-160;
363
365
  $on-workout-surface-gymfloor-default: primitives.$blue-100;
366
+ $on-workout-surface-hub-alternate: primitives.$coral-170;
367
+ $on-workout-surface-hub-default: primitives.$blue-100;
364
368
  $on-workout-surface-other-alternate: primitives.$celadon-160;
365
369
  $on-workout-surface-other-default: primitives.$blue-100;
366
370
  $on-workout-surface-pt-alternate: primitives.$uranian-blue-160;
@@ -424,6 +428,8 @@ $workout-surface-gx: primitives.$salmon-pink-40;
424
428
  $workout-surface-gx-hover: primitives.$salmon-pink-60;
425
429
  $workout-surface-gymfloor: primitives.$tangerine-40;
426
430
  $workout-surface-gymfloor-hover: primitives.$tangerine-60;
431
+ $workout-surface-hub: primitives.$coral-30;
432
+ $workout-surface-hub-hover: primitives.$coral-40;
427
433
  $workout-surface-other: primitives.$celadon-40;
428
434
  $workout-surface-other-hover: primitives.$celadon-60;
429
435
  $workout-surface-pt: primitives.$uranian-blue-40;
@@ -78,10 +78,10 @@
78
78
  --ge-border-focused: #9ea6ae;
79
79
  --ge-chips-selected-default: #0d2134;
80
80
  --ge-chips-selected-disabled: #dcdee0;
81
- --ge-chips-selected-hover: #404d5b;
81
+ --ge-chips-selected-hover: #f4f8fb;
82
82
  --ge-chips-unselected-default: #dcdee0;
83
83
  --ge-chips-unselected-disabled: #e7e9eb;
84
- --ge-chips-unselected-hover: #e9f1f7;
84
+ --ge-chips-unselected-hover: #f4f8fb;
85
85
  --ge-divider-alternate: #00000033;
86
86
  --ge-divider-default: #dcdee0;
87
87
  --ge-divider-fixed: #ffffff33;
@@ -221,6 +221,7 @@
221
221
  --ge-workouts-bootcamp: #a670ff;
222
222
  --ge-workouts-gx: #ff7083;
223
223
  --ge-workouts-gym-floor: #fba000;
224
+ --ge-workouts-hub: #fb6447;
224
225
  --ge-workouts-other: #65e694;
225
226
  --ge-workouts-pt: #70c4ff;
226
227
  --ge-workouts-treatments: #065d63;
@@ -266,7 +267,7 @@
266
267
  --on-ge-on-badge-primary: #ffffff;
267
268
  --on-ge-on-badge-secondary: #ffffff;
268
269
  --on-ge-on-badge-tertiary: #0d2134;
269
- --on-ge-on-chips-selected-default: #ffffff;
270
+ --on-ge-on-chips-selected-default: #0d2134;
270
271
  --on-ge-on-chips-selected-disabled: #566471;
271
272
  --on-ge-on-chips-unselected-default: #0d2134;
272
273
  --on-ge-on-chips-unselected-disabled: #999999;
@@ -322,6 +323,7 @@
322
323
  --on-ge-on-workouts-bootcamp: #211633;
323
324
  --on-ge-on-workouts-gx: #470009;
324
325
  --on-ge-on-workouts-gymfloor: #322000;
326
+ --on-ge-on-workouts-hub: #4b190f;
325
327
  --on-ge-on-workouts-other: #184629;
326
328
  --on-ge-on-workouts-pt: #16496c;
327
329
  --on-ge-on-workouts-treatments: #e6efef;
@@ -360,6 +362,8 @@
360
362
  --on-workout-surface-gx-default: #0d2134;
361
363
  --on-workout-surface-gymfloor-alternate: #644000;
362
364
  --on-workout-surface-gymfloor-default: #0d2134;
365
+ --on-workout-surface-hub-alternate: #4b190f;
366
+ --on-workout-surface-hub-default: #0d2134;
363
367
  --on-workout-surface-other-alternate: #184629;
364
368
  --on-workout-surface-other-default: #0d2134;
365
369
  --on-workout-surface-pt-alternate: #16496c;
@@ -423,6 +427,8 @@
423
427
  --workout-surface-gx-hover: #ffa9b5;
424
428
  --workout-surface-gymfloor: #fdd999;
425
429
  --workout-surface-gymfloor-hover: #fdc666;
430
+ --workout-surface-hub: #fecbc2;
431
+ --workout-surface-hub-hover: #fdbaad;
426
432
  --workout-surface-other: #c1f5d4;
427
433
  --workout-surface-other-hover: #a3f0bf;
428
434
  --workout-surface-pt: #c6e7ff;
@@ -1,5 +1,5 @@
1
- // Figma: https://www.figma.com/file/WzKCwRY09zn4rzRVfY0YvdRt/%F0%9F%8E%A8-sats-ds-styles?type=design&node-id=8481%3A40159&mode=design&t=4Gq1pqiSLpmo4bBj-1
2
-
1
+ /* Mode 1 */
2
+ /* color */
3
3
  $black-10: #e5e5e5;
4
4
  $black-100: #000000;
5
5
  $black-20: #cccccc;
@@ -70,8 +70,10 @@ $coral-10: #ffeeeb;
70
70
  $coral-100: #fa5333;
71
71
  $coral-120: #c84229;
72
72
  $coral-130: #af3a24;
73
+ $coral-150: #7d2919;
73
74
  $coral-170: #4b190f;
74
75
  $coral-190: #32110a;
76
+ $coral-30: #fecbc2;
75
77
  $coral-40: #fdbaad;
76
78
  $coral-5: #fff6f5;
77
79
  $coral-60: #fc9885;