Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
diyorbek committed Sep 30, 2024
1 parent 3dc4be1 commit 6b5758e
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 57 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -436,19 +436,6 @@
}
}
},
"spinner": {
"color": {
"pink": {
"value": "#d452d1"
},
"orange": {
"value": "#ff7c36"
},
"blue": {
"value": "#24ccb0"
}
}
},
"switch": {
"default": {
"selected": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -468,19 +468,6 @@
}
}
},
"spinner": {
"color": {
"pink": {
"value": "#d452d1"
},
"orange": {
"value": "#ff7c36"
},
"blue": {
"value": "#24ccb0"
}
}
},
"switch": {
"default": {
"selected": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,19 +274,6 @@
}
}
},
"spinner": {
"color": {
"pink": {
"value": "{comp.spinner.color.pink}"
},
"orange": {
"value": "{comp.spinner.color.orange}"
},
"blue": {
"value": "{comp.spinner.color.blue}"
}
}
},
"switch": {
"default": {
"unselected": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,19 +259,6 @@
}
}
},
"spinner": {
"color": {
"pink": {
"value": "{comp.spinner.color.pink}"
},
"orange": {
"value": "{comp.spinner.color.orange}"
},
"blue": {
"value": "{comp.spinner.color.blue}"
}
}
},
"switch": {
"default": {
"unselected": {
Expand Down
8 changes: 4 additions & 4 deletions packages/gestalt/src/Spinner/VRSpinner.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,18 @@

@keyframes colors {
0% {
background-color: var(--color-background-spinner-color-pink);
background-color: var(--comp-spinner-color-pink);
}

33.333% {
background-color: var(--color-background-spinner-color-orange);
background-color: var(--comp-spinner-color-orange);
}

66.666% {
background-color: var(--color-background-spinner-color-blue);
background-color: var(--comp-spinner-color-blue);
}

100% {
background-color: var(--color-background-spinner-color-pink);
background-color: var(--comp-spinner-color-pink);
}
}
2 changes: 1 addition & 1 deletion packages/gestalt/src/Spinner/VRSpinner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function Spinner({ accessibilityLabel, delay = true, show, size =
<Box display="flex" justifyContent="around">
<div
aria-label={accessibilityLabel ?? accessibilityLabelDefault}
className={classnames(styles.spinner, styles[size], { [styles.delay]: delay })}
className={classnames(styles.spinner, { [styles.delay]: delay })}
style={
{
'--g-size': `${SIZE_NAME_TO_PIXEL[size]}px`,
Expand Down

0 comments on commit 6b5758e

Please sign in to comment.