diff --git a/apps/mantine-react-table-docs/components/mdx/FeatureTable.module.css b/apps/mantine-react-table-docs/components/mdx/FeatureTable.module.css index 1effdd1f2..e6c8487f6 100644 --- a/apps/mantine-react-table-docs/components/mdx/FeatureTable.module.css +++ b/apps/mantine-react-table-docs/components/mdx/FeatureTable.module.css @@ -2,7 +2,12 @@ width: 100%; border-collapse: collapse; caption-side: top; - color: #c1c2c5; + @mixin dark { + color: var(--mantine-color-white); + } + @mixin light { + color: var(--mantine-color-black); + } line-height: 1.55; display: table; } diff --git a/apps/mantine-react-table-docs/components/mdx/PopularDocs.module.css b/apps/mantine-react-table-docs/components/mdx/PopularDocs.module.css new file mode 100644 index 000000000..5a056874b --- /dev/null +++ b/apps/mantine-react-table-docs/components/mdx/PopularDocs.module.css @@ -0,0 +1,8 @@ +.container { + display: grid; + grid-template-columns: 1fr 1fr 1fr 1fr; + gap: 0.9rem; + @media (max-width: 1024px) { + grid-template-columns: 1fr 1fr; + } +} diff --git a/apps/mantine-react-table-docs/components/mdx/PopularDocs.tsx b/apps/mantine-react-table-docs/components/mdx/PopularDocs.tsx new file mode 100644 index 000000000..293dda42f --- /dev/null +++ b/apps/mantine-react-table-docs/components/mdx/PopularDocs.tsx @@ -0,0 +1,51 @@ +import { Box, Button } from '@mantine/core'; +import Link from 'next/link'; + +import classes from './PopularDocs.module.css'; + +export const PopularDocs = () => { + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + + ); +}; diff --git a/apps/mantine-react-table-docs/components/mdx/SourceCodeSnippet.tsx b/apps/mantine-react-table-docs/components/mdx/SourceCodeSnippet.tsx index 7681b8584..d3c9b3239 100644 --- a/apps/mantine-react-table-docs/components/mdx/SourceCodeSnippet.tsx +++ b/apps/mantine-react-table-docs/components/mdx/SourceCodeSnippet.tsx @@ -146,7 +146,8 @@ export const SourceCodeSnippet = ({