cheogram-www
created pr with
cheogram-www/use-patched-material-react-table.1
commented
Changes are available at https://tangled.org/mrry.band/cheogram-www on branch use-patched-material-react-table.
cmds
checkout latest patchset:
ssh pr.pico.sh pull cheogram-www:use-patched-material-react-table | git am -3checkout specific patchset revision:
ssh pr.pico.sh pull cheogram-www:use-patched-material-react-table [rev] | git am -3add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh cheogram-www:use-patched-material-react-tableadd comment to patch request:
ssh pr.pico.sh comment cheogram-www:use-patched-material-react-table "lgtm!"
Patchset
cheogram-www/use-patched-material-react-table.1
Use patched material-react-table
Eric Roberts
2026-11-17T22:03:31ZWhich lets us actually use css variables in our mui theme colour selection.
Semantic diff summary
0 added,
0 modified,
0 signature changed,
0 removed
across 1 analyzed file
(1 file skipped: unsupported file type)
+1
-1
package.json
#
| ... | ... | @@ -32,7 +32,7 @@ | |
| 32 | 32 | "fuse.js": "^7.3.0", | |
| 33 | 33 | "highlight.js": "^11.12.0", | |
| 34 | 34 | "linkify-react": "^4.3.2", | |
| 35 | - | "material-react-table": "^3.2.1", | |
| 35 | + | "material-react-table": "https://github.com/ericroberts/material-react-table/releases/download/v3.2.1-native-color.1/material-react-table-3.2.1.tgz", | |
| 36 | 36 | "nuqs": "^2.7.2", | |
| 37 | 37 | "openpgp": "^6.3.1", | |
| 38 | 38 | "porter2": "^1.0.2", |
+2
-6
src/index.tsx
#
| ... | ... | @@ -29,14 +29,10 @@ const muiTheme = createTheme({ | |
| 29 | 29 | cssVariables: { nativeColor: true }, | |
| 30 | 30 | palette: { | |
| 31 | 31 | primary: { | |
| 32 | - | main: getComputedStyle(document.documentElement) | |
| 33 | - | .getPropertyValue("--color-primary-dark") | |
| 34 | - | .trim(), | |
| 32 | + | main: "var(--color-primary-dark)", | |
| 35 | 33 | }, | |
| 36 | 34 | secondary: { | |
| 37 | - | main: getComputedStyle(document.documentElement) | |
| 38 | - | .getPropertyValue("--color-secondary-dark") | |
| 39 | - | .trim(), | |
| 35 | + | main: "var(--color-secondary-dark)", | |
| 40 | 36 | }, | |
| 41 | 37 | }, | |
| 42 | 38 | }); |