@@ -8,7 +8,7 @@ import { Col, Row } from "../../../../../reusecore/Layout";
8
8
import Button from "../../../../../reusecore/Button" ;
9
9
import { useStyledDarkMode } from "../../../../../theme/app/useStyledDarkMode" ;
10
10
11
- import { styled , Table , TableContainer , TableCell , TableRow , TableHead , TableBody , useTheme , SistentThemeProvider } from "@sistent/sistent" ;
11
+ import { styled , Table , TableContainer , TableCell , TableRow , TableHead , TableBody , SistentThemeProvider } from "@sistent/sistent" ;
12
12
13
13
const brandColors = [
14
14
{ tokenName : "keppel-70" , token : "theme.palette.brand.default" , name : "Keppel" , hex : "#DAf3EB" } ,
@@ -489,9 +489,9 @@ const StyledTableCell = styled(TableCell)(({ theme }) => ({
489
489
borderBottom : `1px solid ${ theme . palette . divider } ` ,
490
490
} ) ) ;
491
491
492
- const StyledHeaderCell = styled ( StyledTableCell ) ( ( { theme } ) => ( {
492
+ const StyledHeaderCell = styled ( StyledTableCell ) ( {
493
493
fontWeight : 600 ,
494
- } ) ) ;
494
+ } ) ;
495
495
496
496
const ColorCode = ( ) => {
497
497
const { isDark } = useStyledDarkMode ( ) ;
@@ -575,7 +575,7 @@ const ColorCode = () => {
575
575
</ TableRow >
576
576
</ TableHead >
577
577
< TableBody >
578
- { brandColors . map ( ( col , idx ) => (
578
+ { brandColors . map ( ( col ) => (
579
579
< TableRow
580
580
key = { col . tokenName }
581
581
@@ -615,7 +615,7 @@ const ColorCode = () => {
615
615
</ TableRow >
616
616
</ TableHead >
617
617
< TableBody >
618
- { greyscaleColors . map ( ( col , idx ) => (
618
+ { greyscaleColors . map ( ( col ) => (
619
619
< TableRow
620
620
key = { col . tokenName }
621
621
@@ -656,7 +656,7 @@ const ColorCode = () => {
656
656
</ TableRow >
657
657
</ TableHead >
658
658
< TableBody >
659
- { functionColors . map ( ( col , idx ) => (
659
+ { functionColors . map ( ( col ) => (
660
660
< TableRow
661
661
key = { col . tokenName }
662
662
@@ -706,7 +706,7 @@ const ColorCode = () => {
706
706
</ TableRow >
707
707
</ TableHead >
708
708
< TableBody >
709
- { backgroundColors . map ( ( col , idx ) => (
709
+ { backgroundColors . map ( ( col ) => (
710
710
< TableRow
711
711
key = { col . tokenName }
712
712
@@ -749,7 +749,7 @@ const ColorCode = () => {
749
749
</ TableRow >
750
750
</ TableHead >
751
751
< TableBody >
752
- { textColors . map ( ( col , idx ) => (
752
+ { textColors . map ( ( col ) => (
753
753
< TableRow
754
754
key = { col . tokenName }
755
755
@@ -792,7 +792,7 @@ const ColorCode = () => {
792
792
</ TableRow >
793
793
</ TableHead >
794
794
< TableBody >
795
- { borderColors . map ( ( col , idx ) => (
795
+ { borderColors . map ( ( col ) => (
796
796
< TableRow
797
797
key = { col . tokenName }
798
798
@@ -840,7 +840,7 @@ const ColorCode = () => {
840
840
</ TableRow >
841
841
</ TableHead >
842
842
< TableBody >
843
- { componentColors . map ( ( col , idx ) => (
843
+ { componentColors . map ( ( col ) => (
844
844
< TableRow
845
845
key = { col . tokenName }
846
846
0 commit comments