From d1238d8fe9be97ab5692aeaff63897e1b33c99fd Mon Sep 17 00:00:00 2001 From: Steffo Date: Sun, 2 Aug 2026 01:33:50 +0200 Subject: [PATCH 1/5] feat: Add table styling --- src/index.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/index.css b/src/index.css index a80a37d106..406021df65 100755 --- a/src/index.css +++ b/src/index.css @@ -148,6 +148,15 @@ pre { font-variant-ligatures: contextual; } +table { + border-collapse: collapse; +} + +table td, table th { + padding: 5px; + border: 1px solid var(--sable-surface-container-line); +} + /* Accessibility Overrides :D */ .force-underline-links [data-message-id] a:not([data-mention-id]), From 5580530da6cd17ea89b88950af63222f9d209388 Mon Sep 17 00:00:00 2001 From: Steffo Date: Sun, 2 Aug 2026 01:40:04 +0200 Subject: [PATCH 2/5] chore: Formatting --- src/index.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.css b/src/index.css index 406021df65..07d55d4fe3 100755 --- a/src/index.css +++ b/src/index.css @@ -152,7 +152,8 @@ table { border-collapse: collapse; } -table td, table th { +table td, +table th { padding: 5px; border: 1px solid var(--sable-surface-container-line); } From 450556ae1149b46fd80ddf6d33ea0fa6b19ce618 Mon Sep 17 00:00:00 2001 From: Steffo Date: Sun, 2 Aug 2026 01:40:58 +0200 Subject: [PATCH 3/5] chore: Add changeset --- .changeset/add_table_styling.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/add_table_styling.md diff --git a/.changeset/add_table_styling.md b/.changeset/add_table_styling.md new file mode 100644 index 0000000000..46c3bff8c9 --- /dev/null +++ b/.changeset/add_table_styling.md @@ -0,0 +1,5 @@ +--- +default: minor +--- + +# Add table styling From c0b3d3a45f8913359c00d9d4d0b9bbb3d1c06923 Mon Sep 17 00:00:00 2001 From: Steffo Date: Sun, 2 Aug 2026 01:45:01 +0200 Subject: [PATCH 4/5] chore: Formatting (again) --- src/index.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.css b/src/index.css index 07d55d4fe3..b75527e32e 100755 --- a/src/index.css +++ b/src/index.css @@ -149,13 +149,13 @@ pre { } table { - border-collapse: collapse; + border-collapse: collapse; } table td, table th { - padding: 5px; - border: 1px solid var(--sable-surface-container-line); + padding: 5px; + border: 1px solid var(--sable-surface-container-line); } /* Accessibility Overrides :D */ From fe97dd5a42aa82b1b201116e6c05431b5a31f00e Mon Sep 17 00:00:00 2001 From: Steffo Date: Sun, 2 Aug 2026 02:00:22 +0200 Subject: [PATCH 5/5] feat: Give a background color to table header cells --- src/index.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/index.css b/src/index.css index b75527e32e..beb47062fd 100755 --- a/src/index.css +++ b/src/index.css @@ -158,6 +158,16 @@ table th { border: 1px solid var(--sable-surface-container-line); } +table th { + background-color: var(--sable-surface-var-container); + color: var(--sable-surface-var-on-container); +} + +table td { + background-color: var(--sable-surface-container); + color: var(--sable-surface-on-container); +} + /* Accessibility Overrides :D */ .force-underline-links [data-message-id] a:not([data-mention-id]),