From 94af512180c4969cf50dcf0affd8d87a6b9a9f20 Mon Sep 17 00:00:00 2001 From: meriadec Date: Thu, 21 Jun 2018 15:05:42 +0200 Subject: [PATCH 1/2] Update our current Spinner to use live logo --- src/components/TopBar/ActivityIndicator.js | 6 +++--- src/components/base/Spinner.js | 4 ++-- src/icons/Loader.js | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/TopBar/ActivityIndicator.js b/src/components/TopBar/ActivityIndicator.js index 64de8714..5e1bed58 100644 --- a/src/components/TopBar/ActivityIndicator.js +++ b/src/components/TopBar/ActivityIndicator.js @@ -17,7 +17,7 @@ import { Rotating } from 'components/base/Spinner' import Tooltip from 'components/base/Tooltip' import TranslatedError from 'components/TranslatedError' import Box from 'components/base/Box' -import IconRefresh from 'icons/Refresh' +import IconLoader from 'icons/Loader' import IconExclamationCircle from 'icons/ExclamationCircle' import IconCheckCircle from 'icons/CheckCircle' import ItemContainer from './ItemContainer' @@ -93,13 +93,13 @@ class ActivityIndicatorInner extends PureComponent { {isError ? ( ) : isRotating ? ( - + ) : ( )} p.size}px; height: ${p => p.size}px; - animation: ${p => (p.isRotating === false ? 'none' : `${rotate} 1.5s linear infinite`)}; + animation: ${p => (p.isRotating === false ? 'none' : `${rotate} 1s linear infinite`)}; transition: 100ms linear transform; ` diff --git a/src/icons/Loader.js b/src/icons/Loader.js index 5c205762..921f15c1 100644 --- a/src/icons/Loader.js +++ b/src/icons/Loader.js @@ -5,12 +5,12 @@ import React from 'react' const path = ( ) export default ({ size, ...p }: { size: number }) => ( - + {path} ) From d5c98e4d9f2044a960aa6756930800b1b77cb3d6 Mon Sep 17 00:00:00 2001 From: meriadec Date: Thu, 21 Jun 2018 15:53:02 +0200 Subject: [PATCH 2/2] Update spinner color --- src/components/DeviceConnect/index.js | 2 +- src/components/TopBar/ActivityIndicator.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/DeviceConnect/index.js b/src/components/DeviceConnect/index.js index 4d784b20..bb94ea8d 100644 --- a/src/components/DeviceConnect/index.js +++ b/src/components/DeviceConnect/index.js @@ -131,7 +131,7 @@ const StepCheck = ({ checked, hasErrors }: { checked: boolean, hasErrors?: boole ) : ( - + )} ) diff --git a/src/components/TopBar/ActivityIndicator.js b/src/components/TopBar/ActivityIndicator.js index 5e1bed58..ee37de73 100644 --- a/src/components/TopBar/ActivityIndicator.js +++ b/src/components/TopBar/ActivityIndicator.js @@ -88,7 +88,7 @@ class ActivityIndicatorInner extends PureComponent { {isError ? (