From bdd51485cb89a011ab1862d671ae101a2469fae1 Mon Sep 17 00:00:00 2001
From: Pavel Prichodko <14926950+prichodko@users.noreply.github.com>
Date: Fri, 10 Jun 2022 16:06:34 +0200
Subject: [PATCH] add Loading component
---
.../src/components/loading/index.tsx | 28 +++++++++----------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/packages/status-react/src/components/loading/index.tsx b/packages/status-react/src/components/loading/index.tsx
index dfd1215c..eb90ae87 100644
--- a/packages/status-react/src/components/loading/index.tsx
+++ b/packages/status-react/src/components/loading/index.tsx
@@ -1,7 +1,8 @@
import React from 'react'
-import { styled } from '~/src/styles/config'
import ContentLoader from 'react-content-loader'
+
+import { styled } from '~/src/styles/config'
import { Box } from '~/src/system'
const CommunityInfoLoader = () => (
@@ -10,8 +11,8 @@ const CommunityInfoLoader = () => (
width={185}
height={50}
viewBox="0 0 185 50"
- backgroundColor="rgba(233, 237, 241, 1)"
- foregroundColor="rgba(246, 248, 250, 1)"
+ backgroundColor="var(--colors-accent-8)"
+ foregroundColor="var(--colors-accent-5)"
>
@@ -19,15 +20,15 @@ const CommunityInfoLoader = () => (
)
-const ChannelLoader = () => {
+const ChatItemLoader = () => {
return (
@@ -41,17 +42,16 @@ export const Loading = () => {
-
-
-
-
-
+
+
+
+
+
-
-
-
+
+
)
}