Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
0d585442
Commit
0d585442
authored
Jun 10, 2022
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
colors config
parent
d2bdbbdd
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
71 additions
and
3 deletions
+71
-3
AccountNavLink.tsx
components/AccountNav/AccountNavLink.tsx
+1
-1
Page.tsx
components/Page/Page.tsx
+1
-1
WatchlistTable.tsx
components/WatchlistTable/WatchlistTable.tsx
+1
-1
colors.ts
theme/foundations/colors.ts
+66
-0
index.ts
theme/index.ts
+2
-0
No files found.
components/AccountNav/AccountNavLink.tsx
View file @
0d585442
...
...
@@ -20,7 +20,7 @@ const AccountNavLink = ({ text, pathname, icon }: Props) => {
w=
"220px"
p=
"15px 20px"
color=
{
isActive
?
'
white
'
:
'
black
'
}
bgColor=
{
isActive
?
'
green
.700
'
:
'
transparent
'
}
bgColor=
{
isActive
?
'
brand
.700
'
:
'
transparent
'
}
borderRadius=
"base"
>
<
HStack
spacing=
"4"
>
...
...
components/Page/Page.tsx
View file @
0d585442
...
...
@@ -14,7 +14,7 @@ const Page = ({ children }: Props) => {
w=
"100%"
minH=
"100vh"
padding=
"140px 48px 48px 48px"
bgColor=
"gray.
20
0"
bgColor=
"gray.
5
0"
spacing=
"12"
alignItems=
"stretch"
>
...
...
components/WatchlistTable/WatchlistTable.tsx
View file @
0d585442
...
...
@@ -45,7 +45,7 @@ const WatchlistTable = ({ data }: Props) => {
<
Td
>
<
HStack
spacing=
"30px"
>
<
Icon
as=
{
FaEdit
}
w=
"20px"
h=
"20px"
cursor=
"pointer"
color=
"blue.500"
/>
<
Icon
as=
{
FaTrash
}
w=
"20px"
h=
"20px"
cursor=
"pointer"
color=
"red.
5
00"
/>
<
Icon
as=
{
FaTrash
}
w=
"20px"
h=
"20px"
cursor=
"pointer"
color=
"red.
2
00"
/>
</
HStack
>
</
Td
>
</
Tr
>
...
...
theme/foundations/colors.ts
0 → 100644
View file @
0d585442
const
colors
=
{
// standard colors
green
:
{
'
50
'
:
'
#dcfff0
'
,
'
100
'
:
'
#b1feda
'
,
'
200
'
:
'
#84fbc8
'
,
'
300
'
:
'
#56f9b8
'
,
'
400
'
:
'
#30f7ae
'
,
'
500
'
:
'
#1fdd9b
'
,
'
600
'
:
'
#11ad7d
'
,
'
700
'
:
'
#047b5d
'
,
// <-
'
800
'
:
'
#004a33
'
,
'
900
'
:
'
#001b0f
'
,
},
blue
:
{
'
50
'
:
'
#e7f0ff
'
,
'
100
'
:
'
#c2d2f1
'
,
'
200
'
:
'
#9db3e3
'
,
'
300
'
:
'
#7895d4
'
,
'
400
'
:
'
#5277c6
'
,
'
500
'
:
'
#395ead
'
,
// <-
'
600
'
:
'
#2b4987
'
,
'
700
'
:
'
#1e3462
'
,
'
800
'
:
'
#0f1f3e
'
,
'
900
'
:
'
#010a1b
'
,
},
red
:
{
'
50
'
:
'
#ffe4ef
'
,
'
100
'
:
'
#feb7cc
'
,
'
200
'
:
'
#f689aa
'
,
'
300
'
:
'
#f15a88
'
,
'
400
'
:
'
#ec2d66
'
,
// <-
'
500
'
:
'
#d2134c
'
,
'
600
'
:
'
#a50c3b
'
,
'
700
'
:
'
#77062a
'
,
'
800
'
:
'
#490118
'
,
'
900
'
:
'
#1e0008
'
,
},
gray
:
{
'
50
'
:
'
#f0f2f4
'
,
// <-
'
100
'
:
'
#d7d8d9
'
,
'
200
'
:
'
#bcbec0
'
,
'
300
'
:
'
#a0a5aa
'
,
'
400
'
:
'
#848b93
'
,
'
500
'
:
'
#6a727a
'
,
'
600
'
:
'
#53585e
'
,
'
700
'
:
'
#3c3f43
'
,
'
800
'
:
'
#242628
'
,
'
900
'
:
'
#0b0d0f
'
,
},
// main colors
brand
:
{
'
50
'
:
'
#dcfff0
'
,
'
100
'
:
'
#b1feda
'
,
'
200
'
:
'
#84fbc8
'
,
'
300
'
:
'
#56f9b8
'
,
'
400
'
:
'
#30f7ae
'
,
'
500
'
:
'
#1fdd9b
'
,
'
600
'
:
'
#11ad7d
'
,
'
700
'
:
'
#047b5d
'
,
'
800
'
:
'
#004a33
'
,
'
900
'
:
'
#001b0f
'
,
},
}
export
default
colors
;
theme/index.ts
View file @
0d585442
...
...
@@ -2,10 +2,12 @@ import { extendTheme } from '@chakra-ui/react';
import
typography
from
'
./foundations/typography
'
;
import
borders
from
'
./foundations/borders
'
;
import
colors
from
'
./foundations/colors
'
;
const
overrides
=
{
...
typography
,
...
borders
,
colors
,
}
export
default
extendTheme
(
overrides
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment