Skip to content

chore: remove shikiConfig from markdown settings and update table styles for better integration with prose#30

Merged
Sithumli merged 14 commits into
mainfrom
chore/ui-rework
Feb 5, 2026
Merged

chore: remove shikiConfig from markdown settings and update table styles for better integration with prose#30
Sithumli merged 14 commits into
mainfrom
chore/ui-rework

Conversation

@Sithumli

@Sithumli Sithumli commented Feb 5, 2026

Copy link
Copy Markdown
Owner

This pull request primarily updates the visual styling and behavior of the custom Table and Tabs components, and refines global CSS to better isolate custom components from default prose styles. It also removes the shikiConfig markdown configuration from two config files.

Component styling and behavior updates:

  • Updated the Table.astro component's border and background colors for both light and dark modes, and adjusted the table header row and divider styling for improved visual clarity. [1] [2]
  • Refined the Tabs.astro component's active/inactive tab colors, background, and panel styles for a more consistent and modern appearance, and updated the corresponding JavaScript classes for tab activation. [1] [2] [3]

Global CSS improvements:

  • Modified prose table styles in global.css to exclude custom tables (identified by .text-sm), ensuring custom and Markdown tables have distinct appearances in both light and dark modes. [1] [2]

Configuration cleanup:

  • Removed the shikiConfig (syntax highlighting theme and options) from both astro.config.mjs and template/astro.config.mjs to simplify markdown configuration. [1] [2]

@Sithumli Sithumli self-assigned this Feb 5, 2026
Copilot AI review requested due to automatic review settings February 5, 2026 16:08
@vercel

vercel Bot commented Feb 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docubase Ready Ready Preview, Comment Feb 5, 2026 5:20pm

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request attempts to refine styling for custom Table and Tabs components by isolating them from default prose table styles, removes light/dark mode dual theme support from Tabs, updates Table border colors, and removes the explicit shikiConfig from markdown settings.

Changes:

  • Modified global CSS to exclude custom Table components from prose table styles using :not() selectors
  • Removed light mode styling from Tabs component, hardcoding dark mode appearance
  • Updated Table component border colors for improved visual clarity
  • Removed shikiConfig syntax highlighting configuration from both astro.config.mjs files

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
template/src/styles/global.css Attempts to exclude custom tables from prose styles, but uses malformed CSS selectors
template/src/components/Tabs.astro Removes light mode support, breaking theme toggle functionality
template/src/components/Table.astro Updates border and background colors for better visual clarity
template/astro.config.mjs Removes explicit syntax highlighting theme configuration
astro.config.mjs Removes explicit syntax highlighting theme configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread template/src/styles/global.css Outdated
Comment thread template/src/styles/global.css Outdated
Comment thread template/src/components/Tabs.astro Outdated
Comment thread template/src/components/Tabs.astro Outdated
Comment thread astro.config.mjs
Comment thread template/src/styles/global.css Outdated
Comment thread template/src/styles/global.css Outdated
Comment thread template/src/styles/global.css Outdated
Comment thread template/src/styles/global.css Outdated
Comment thread template/src/components/Tabs.astro Outdated
@Sithumli Sithumli merged commit 8c70aab into main Feb 5, 2026
4 checks passed
@Sithumli Sithumli deleted the chore/ui-rework branch February 5, 2026 17:21
@Sithumli Sithumli restored the chore/ui-rework branch February 5, 2026 17:28
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.

2 participants