@@ -2,21 +2,6 @@ import React from "react";
2
2
import { navigate } from "gatsby" ;
3
3
import { useLocation } from "@reach/router" ;
4
4
5
- import BrandColors from "../../../../../assets/images/app/projects/sistent/brand-colors-table.png" ;
6
- import GreyscaleColors from "../../../../../assets/images/app/projects/sistent/greyscale-colors-table.png" ;
7
- import BgColors from "../../../../../assets/images/app/projects/sistent/bg-colors-table.png" ;
8
- import FunctionColors from "../../../../../assets/images/app/projects/sistent/function-colors-table.png" ;
9
- import TextColors from "../../../../../assets/images/app/projects/sistent/text-colors-table.png" ;
10
- import BorderColors from "../../../../../assets/images/app/projects/sistent/border-colors-table.png" ;
11
- import ComponentColors from "../../../../../assets/images/app/projects/sistent/components-table.png" ;
12
-
13
- import BrandColorsDark from "../../../../../assets/images/app/projects/sistent/brand-colors-table-dark.png" ;
14
- import GreyscaleColorsDark from "../../../../../assets/images/app/projects/sistent/greyscale-colors-table-dark.png" ;
15
- import BgColorsDark from "../../../../../assets/images/app/projects/sistent/bg-colors-table-dark.png" ;
16
- import FunctionColorsDark from "../../../../../assets/images/app/projects/sistent/function-colors-table-dark.png" ;
17
- import TextColorsDark from "../../../../../assets/images/app/projects/sistent/text-colors-table-dark.png" ;
18
- import BorderColorsDark from "../../../../../assets/images/app/projects/sistent/border-colors-table-dark.png" ;
19
- import ComponentColorsDark from "../../../../../assets/images/app/projects/sistent/components-table-dark.png" ;
20
5
21
6
import { SistentLayout } from "../../sistent-layout" ;
22
7
import { Col , Row } from "../../../../../reusecore/Layout" ;
@@ -443,7 +428,7 @@ const PreviewTextBox = styled("p")(({ theme, tokenName }) => {
443
428
"text-error" : theme . palette . text . error ,
444
429
} ;
445
430
446
- const resolvedColors = colorsMap [ tokenName ] ;
431
+ const resolvedColors = colorsMap [ tokenName ] ;
447
432
448
433
return {
449
434
color : resolvedColors ,
@@ -593,7 +578,7 @@ const ColorCode = () => {
593
578
{ brandColors . map ( ( col , idx ) => (
594
579
< TableRow
595
580
key = { col . tokenName }
596
- sx = { { backgroundColor : idx % 2 === 0 ? white : tableGrey } }
581
+
597
582
>
598
583
< StyledTableCell > { col . tokenName } </ StyledTableCell >
599
584
< StyledTableCell > { col . name } </ StyledTableCell >
@@ -633,7 +618,7 @@ const ColorCode = () => {
633
618
{ greyscaleColors . map ( ( col , idx ) => (
634
619
< TableRow
635
620
key = { col . tokenName }
636
- sx = { { backgroundColor : idx % 2 === 0 ? white : tableGrey } }
621
+
637
622
>
638
623
< StyledTableCell > { col . tokenName } </ StyledTableCell >
639
624
< StyledTableCell > { col . name } </ StyledTableCell >
@@ -674,7 +659,7 @@ const ColorCode = () => {
674
659
{ functionColors . map ( ( col , idx ) => (
675
660
< TableRow
676
661
key = { col . tokenName }
677
- sx = { { backgroundColor : idx % 2 === 0 ? white : tableGrey } }
662
+
678
663
>
679
664
< StyledTableCell > { col . tokenName } </ StyledTableCell >
680
665
< StyledTableCell > { col . name } </ StyledTableCell >
@@ -724,7 +709,7 @@ const ColorCode = () => {
724
709
{ backgroundColors . map ( ( col , idx ) => (
725
710
< TableRow
726
711
key = { col . tokenName }
727
- sx = { { backgroundColor : idx % 2 === 0 ? white : tableGrey } }
712
+
728
713
>
729
714
< StyledTableCell > { col . tokenName } </ StyledTableCell >
730
715
< StyledTableCell > { col . Alias_of } </ StyledTableCell >
@@ -767,7 +752,7 @@ const ColorCode = () => {
767
752
{ textColors . map ( ( col , idx ) => (
768
753
< TableRow
769
754
key = { col . tokenName }
770
- sx = { { backgroundColor : idx % 2 === 0 ? white : tableGrey } }
755
+
771
756
>
772
757
< StyledTableCell > { col . tokenName } </ StyledTableCell >
773
758
< StyledTableCell > { col . Alias_of } </ StyledTableCell >
@@ -810,7 +795,7 @@ const ColorCode = () => {
810
795
{ borderColors . map ( ( col , idx ) => (
811
796
< TableRow
812
797
key = { col . tokenName }
813
- sx = { { backgroundColor : idx % 2 === 0 ? white : tableGrey } }
798
+
814
799
>
815
800
< StyledTableCell > { col . tokenName } </ StyledTableCell >
816
801
< StyledTableCell > { col . Alias_of } </ StyledTableCell >
@@ -858,7 +843,7 @@ const ColorCode = () => {
858
843
{ componentColors . map ( ( col , idx ) => (
859
844
< TableRow
860
845
key = { col . tokenName }
861
- sx = { { backgroundColor : idx % 2 === 0 ? white : tableGrey } }
846
+
862
847
>
863
848
< StyledTableCell > { col . tokenName } </ StyledTableCell >
864
849
< StyledTableCell > { col . Alias_of } </ StyledTableCell >
0 commit comments