Skip to content

Refactor table styles - #3457

Merged
Julia Roldi (juliaroldi) merged 7 commits into
masterfrom
u/juliaroldi/graduate-table-border
Sep 4, 2026
Merged

Refactor table styles#3457
Julia Roldi (juliaroldi) merged 7 commits into
masterfrom
u/juliaroldi/graduate-table-border

Conversation

@juliaroldi

@juliaroldi Julia Roldi (juliaroldi) commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Refactor the demo table style presets to add reusable color templates and accent variants, and update applyTableFormat to correctly replace header-row and first-column text formatting when styles change.

How to test

  1. Run yarn test:fast --testPathPattern="(formatTable|applyTableFormat|borderColorFormatHandler)".
  2. In the demo, insert a table, apply multiple table presets and accent variants, then toggle header-row and first-column options. Confirm borders and shading match the selected preset, stale bold/italic/alignment formatting is removed when switching styles, and border colors adapt when dark mode is toggled.

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-04 17:41 UTC

@juliaroldi Julia Roldi (juliaroldi) changed the title U/juliaroldi/graduate table border Graduate table border colors and refactor table styles Sep 3, 2026
@juliaroldi Julia Roldi (juliaroldi) changed the title Graduate table border colors and refactor table styles Refactor table styles Sep 3, 2026
@juliaroldi
Julia Roldi (juliaroldi) merged commit 77b0850 into master Sep 4, 2026
8 checks passed
@juliaroldi
Julia Roldi (juliaroldi) deleted the u/juliaroldi/graduate-table-border branch September 4, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants