@sats-group/ui-lib 87.2.1 → 88.0.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 +1 -1
- package/react/chip/chip.scss +1 -3
- package/react/segmented-controller/segmented-controller.js +1 -1
- package/react/segmented-controller/segmented-controller.js.map +3 -3
- package/react/segmented-controller/segmented-controller.types.d.ts +9 -7
- package/tokens/dark.scss +9 -3
- package/tokens/darkmode.css +9 -3
- package/tokens/default-colours.css +9 -3
- package/tokens/light.scss +9 -3
- package/tokens/lightmode.css +9 -3
- package/tokens/primitives.scss +2 -0
package/package.json
CHANGED
package/react/chip/chip.scss
CHANGED
|
@@ -20,13 +20,11 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
&--selected {
|
|
23
|
-
|
|
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
|
|
1
|
+
var k=Object.defineProperty,z=Object.defineProperties;var P=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var N=(e,o,t)=>o in e?k(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,p=(e,o)=>{for(var t in o||(o={}))f.call(o,t)&&N(e,t,o[t]);if(c)for(var t of c(o))x.call(o,t)&&N(e,t,o[t]);return e},g=(e,o)=>z(e,P(o));var y=(e,o)=>{var t={};for(var l in e)f.call(e,l)&&o.indexOf(l)<0&&(t[l]=e[l]);if(e!=null&&c)for(var l of c(e))o.indexOf(l)<0&&x.call(e,l)&&(t[l]=e[l]);return t};import s,{useState as h}from"react";import u from"classnames";import b from"../text";const w=({tabs:e,onSelectionChange:o})=>{const[t,l]=h(e!=null?e:[]),n=t?t.length:0,m=t.findIndex(r=>r.isSelected),T=(r,i)=>{l(d=>d.map((a,_)=>g(p({},a),{isSelected:_===r}))),o==null||o(i)};return s.createElement("div",{className:"segmented-controller"},s.createElement("div",{className:u("segmented-controller__tabs",{[`segmented-controller__tabs--col-${n}`]:n,[`segmented-controller__tabs--selected-${m}`]:m})},s.createElement("div",{className:u("segmented-controller__indicator",{[`segmented-controller__indicator--col-${n}`]:n,[`segmented-controller__indicator--pos-${m}`]:m})}),t?t.map((C,$)=>{var v=C,{label:r,isSelected:i,leadingIcon:d,id:a}=v,_=y(v,["label","isSelected","leadingIcon","id"]);return s.createElement("button",g(p({},_),{key:r,onClick:()=>T($,a),type:"button",className:u("segmented-controller__tab",{"segmented-controller__tab--selected":i})}),s.createElement(b,{className:"segmented-controller__tab-title",size:b.sizes.small,theme:b.themes.emphasis},d?s.createElement("div",{className:"segmented-controller__tab-icon"},d):null,s.createElement("div",{className:"segmented-controller__tab-label"},r)))}):null))};var V=w;export{V 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?.(
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["React", "useState", "cn", "Text", "SegmentedController", "tabs", "onSelectionChange", "localTabs", "setLocalTabs", "columnCount", "selectedIndex", "tab", "changeView", "clickedIndex", "prevTabs", "index", "__spreadProps", "__spreadValues", "label", "isSelected", "leadingIcon", "
|
|
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, id: string) => {\n setLocalTabs(prevTabs =>\n prevTabs.map((tab, index) => ({\n ...tab,\n isSelected: index === clickedIndex,\n })),\n );\n onSelectionChange?.(id);\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, id, ...props }, index) => (\n <button\n {...props}\n key={label}\n onClick={() => changeView(index, id)}\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": "+kBAAA,OAAOA,GAAS,YAAAC,MAAgB,QAChC,OAAOC,MAAQ,aACf,OAAOC,MAAU,UAIjB,MAAMC,EAAsD,CAAC,CAC3D,KAAAC,EACA,kBAAAC,CACF,IAAM,CACJ,KAAM,CAACC,EAAWC,CAAY,EAAIP,EAASI,GAAA,KAAAA,EAAQ,CAAC,CAAC,EAC/CI,EAAcF,EAAYA,EAAU,OAAS,EAC7CG,EAAgBH,EAAU,UAAUI,GAAOA,EAAI,UAAU,EACzDC,EAAa,CAACC,EAAsBC,IAAe,CACvDN,EAAaO,GACXA,EAAS,IAAI,CAACJ,EAAKK,IAAWC,EAAAC,EAAA,GACzBP,GADyB,CAE5B,WAAYK,IAAUH,CACxB,EAAE,CACJ,EACAP,GAAA,MAAAA,EAAoBQ,EACtB,EAEA,OACEd,EAAA,cAAC,OAAI,UAAU,wBACbA,EAAA,cAAC,OACC,UAAWE,EAAG,6BAA8B,CAC1C,CAAC,mCAAmCO,CAAW,EAAE,EAAGA,EACpD,CAAC,wCAAwCC,CAAa,EAAE,EACtDA,CACJ,CAAC,GAEDV,EAAA,cAAC,OACC,UAAWE,EAAG,kCAAmC,CAC/C,CAAC,wCAAwCO,CAAW,EAAE,EACpDA,EACF,CAAC,wCAAwCC,CAAa,EAAE,EACtDA,CACJ,CAAC,EACH,EACCH,EACGA,EAAU,IACR,CAACY,EAAkDH,IAAO,CAAzD,IAAAI,EAAAD,EAAE,OAAAE,EAAO,WAAAC,EAAY,YAAAC,EAAa,GAAAT,CA1CjD,EA0CeM,EAAyCI,EAAAC,EAAzCL,EAAyC,CAAvC,QAAO,aAAY,cAAa,OACjC,OAAApB,EAAA,cAAC,SAAAiB,EAAAC,EAAA,GACKM,GADL,CAEC,IAAKH,EACL,QAAS,IAAMT,EAAWI,EAAOF,CAAE,EACnC,KAAK,SACL,UAAWZ,EAAG,4BAA6B,CACzC,sCAAuCoB,CACzC,CAAC,IAEDtB,EAAA,cAACG,EAAA,CACC,UAAU,kCACV,KAAMA,EAAK,MAAM,MACjB,MAAOA,EAAK,OAAO,UAElBoB,EACCvB,EAAA,cAAC,OAAI,UAAU,kCACZuB,CACH,EACE,KACJvB,EAAA,cAAC,OAAI,UAAU,mCACZqB,CACH,CACF,CACF,EAEJ,EACA,IACN,CACF,CAEJ,EAEA,IAAOK,EAAQtB",
|
|
6
|
+
"names": ["React", "useState", "cn", "Text", "SegmentedController", "tabs", "onSelectionChange", "localTabs", "setLocalTabs", "columnCount", "selectedIndex", "tab", "changeView", "clickedIndex", "id", "prevTabs", "index", "__spreadProps", "__spreadValues", "_a", "_b", "label", "isSelected", "leadingIcon", "props", "__objRest", "segmented_controller_default"]
|
|
7
7
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
2
|
import type { ButtonHtmlProps } from '../types';
|
|
3
|
+
type SegmentedTab = {
|
|
4
|
+
label: string;
|
|
5
|
+
isSelected: boolean;
|
|
6
|
+
id: string;
|
|
7
|
+
leadingIcon?: ReactElement;
|
|
8
|
+
} & ButtonHtmlProps;
|
|
3
9
|
export type SegmentedController = {
|
|
4
|
-
onSelectionChange?: (
|
|
5
|
-
tabs:
|
|
6
|
-
label: string;
|
|
7
|
-
isSelected: boolean;
|
|
8
|
-
leadingIcon?: ReactElement;
|
|
9
|
-
button?: ButtonHtmlProps;
|
|
10
|
-
}[];
|
|
10
|
+
onSelectionChange?: (id: string) => void;
|
|
11
|
+
tabs: SegmentedTab[];
|
|
11
12
|
};
|
|
13
|
+
export {};
|
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-
|
|
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-
|
|
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.$
|
|
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;
|
package/tokens/darkmode.css
CHANGED
|
@@ -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: #
|
|
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: #
|
|
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: #
|
|
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: #
|
|
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: #
|
|
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: #
|
|
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-
|
|
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-
|
|
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.$
|
|
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;
|
package/tokens/lightmode.css
CHANGED
|
@@ -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: #
|
|
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: #
|
|
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: #
|
|
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;
|
package/tokens/primitives.scss
CHANGED
|
@@ -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;
|