aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-02-16 15:12:27 +0800
committerFabio Berger <me@fabioberger.com>2018-02-16 15:12:27 +0800
commit0114fc960862d92a08ce57ebc06e6bdf1714ac08 (patch)
tree3dc8b21d94dce70224cc714dff643ec14e1fdf2a /packages
parent8db098eaec27a445e40b804823e266d1949e5e5a (diff)
downloaddexon-sol-tools-0114fc960862d92a08ce57ebc06e6bdf1714ac08.tar
dexon-sol-tools-0114fc960862d92a08ce57ebc06e6bdf1714ac08.tar.gz
dexon-sol-tools-0114fc960862d92a08ce57ebc06e6bdf1714ac08.tar.bz2
dexon-sol-tools-0114fc960862d92a08ce57ebc06e6bdf1714ac08.tar.lz
dexon-sol-tools-0114fc960862d92a08ce57ebc06e6bdf1714ac08.tar.xz
dexon-sol-tools-0114fc960862d92a08ce57ebc06e6bdf1714ac08.tar.zst
dexon-sol-tools-0114fc960862d92a08ce57ebc06e6bdf1714ac08.zip
remove hard-coded color
Diffstat (limited to 'packages')
-rw-r--r--packages/website/ts/pages/shared/nested_sidebar_menu.tsx5
-rw-r--r--packages/website/ts/utils/colors.ts1
2 files changed, 2 insertions, 4 deletions
diff --git a/packages/website/ts/pages/shared/nested_sidebar_menu.tsx b/packages/website/ts/pages/shared/nested_sidebar_menu.tsx
index 9285f0215..ba794ee9f 100644
--- a/packages/website/ts/pages/shared/nested_sidebar_menu.tsx
+++ b/packages/website/ts/pages/shared/nested_sidebar_menu.tsx
@@ -92,10 +92,7 @@ export class NestedSidebarMenu extends React.Component<NestedSidebarMenuProps, N
docs
</div>
</div>
- <div
- className="pl1"
- style={{ color: 'rgb(202, 202, 202)', paddingBottom: 9, paddingLeft: 14, height: 17 }}
- >
+ <div className="pl1" style={{ color: colors.grey350, paddingBottom: 9, paddingLeft: 14, height: 17 }}>
|
</div>
<div className="flex">
diff --git a/packages/website/ts/utils/colors.ts b/packages/website/ts/utils/colors.ts
index b6b5a31e7..b55543151 100644
--- a/packages/website/ts/utils/colors.ts
+++ b/packages/website/ts/utils/colors.ts
@@ -9,6 +9,7 @@ export const colors = {
greyishPink: '#E6E5E5',
grey300: '#E0E0E0',
beigeWhite: '#E4E4E4',
+ grey350: '#cacaca',
grey400: '#BDBDBD',
lightGrey: '#BBBBBB',
grey500: '#9E9E9E',