Skip to content

Commit c0ba21a

Browse files
committed
[UI] Sistent Identity Code page update images with the tables html
Signed-off-by: Namanv0509 <[email protected]>
1 parent 26f9279 commit c0ba21a

File tree

1 file changed

+10
-10
lines changed
  • src/sections/Projects/Sistent/identity/color

1 file changed

+10
-10
lines changed

src/sections/Projects/Sistent/identity/color/code.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Col, Row } from "../../../../../reusecore/Layout";
88
import Button from "../../../../../reusecore/Button";
99
import { useStyledDarkMode } from "../../../../../theme/app/useStyledDarkMode";
1010

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";
1212

1313
const brandColors = [
1414
{ tokenName: "keppel-70", token: "theme.palette.brand.default", name: "Keppel", hex: "#DAf3EB" },
@@ -489,9 +489,9 @@ const StyledTableCell = styled(TableCell)(({ theme }) => ({
489489
borderBottom: `1px solid ${theme.palette.divider}`,
490490
}));
491491

492-
const StyledHeaderCell = styled(StyledTableCell)(({ theme }) => ({
492+
const StyledHeaderCell = styled(StyledTableCell)({
493493
fontWeight: 600,
494-
}));
494+
});
495495

496496
const ColorCode = () => {
497497
const { isDark } = useStyledDarkMode();
@@ -575,7 +575,7 @@ const ColorCode = () => {
575575
</TableRow>
576576
</TableHead>
577577
<TableBody>
578-
{brandColors.map((col, idx) => (
578+
{brandColors.map((col) => (
579579
<TableRow
580580
key={col.tokenName}
581581

@@ -615,7 +615,7 @@ const ColorCode = () => {
615615
</TableRow>
616616
</TableHead>
617617
<TableBody>
618-
{greyscaleColors.map((col, idx) => (
618+
{greyscaleColors.map((col) => (
619619
<TableRow
620620
key={col.tokenName}
621621

@@ -656,7 +656,7 @@ const ColorCode = () => {
656656
</TableRow>
657657
</TableHead>
658658
<TableBody>
659-
{functionColors.map((col, idx) => (
659+
{functionColors.map((col) => (
660660
<TableRow
661661
key={col.tokenName}
662662

@@ -706,7 +706,7 @@ const ColorCode = () => {
706706
</TableRow>
707707
</TableHead>
708708
<TableBody>
709-
{backgroundColors.map((col, idx) => (
709+
{backgroundColors.map((col) => (
710710
<TableRow
711711
key={col.tokenName}
712712

@@ -749,7 +749,7 @@ const ColorCode = () => {
749749
</TableRow>
750750
</TableHead>
751751
<TableBody>
752-
{textColors.map((col, idx) => (
752+
{textColors.map((col) => (
753753
<TableRow
754754
key={col.tokenName}
755755

@@ -792,7 +792,7 @@ const ColorCode = () => {
792792
</TableRow>
793793
</TableHead>
794794
<TableBody>
795-
{borderColors.map((col, idx) => (
795+
{borderColors.map((col) => (
796796
<TableRow
797797
key={col.tokenName}
798798

@@ -840,7 +840,7 @@ const ColorCode = () => {
840840
</TableRow>
841841
</TableHead>
842842
<TableBody>
843-
{componentColors.map((col, idx) => (
843+
{componentColors.map((col) => (
844844
<TableRow
845845
key={col.tokenName}
846846

0 commit comments

Comments
 (0)