Skip to content

Add coherent theme to docs#71

Merged
alien1976 merged 3 commits intomasterfrom
add-coherent-theme-to-docs
Mar 25, 2026
Merged

Add coherent theme to docs#71
alien1976 merged 3 commits intomasterfrom
add-coherent-theme-to-docs

Conversation

@alien1976
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread docs/src/styles/custom.css
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the documentation site to use a coherent visual theme by adopting a new Starlight theme/plugin setup, switching docs component previews to theme-driven SVG colors, and refreshing the docs landing page hero code snippet styling/animation.

Changes:

  • Integrate coherent-docs-theme into the docs site and replace custom sidebar/version/changelog logic with theme helpers.
  • Inline SVG rendering in docs to enable CSS-variable-based theming across component preview assets.
  • Update multiple SVG assets (docs + some library component icons) to use theme variables instead of hardcoded colors, plus landing page hero code-block styling/typing behavior.

Reviewed changes

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

Show a summary per file
File Description
src/components/Complex/Carousel/CarouselArrow.svg Switch stroke color to a CSS variable for theming.
src/components/Basic/Stepper/StepperArrow.svg Switch stroke color to a CSS variable for theming.
src/components/Basic/Dropdown/DropdownIcon.svg Switch stroke color to a CSS variable for theming.
src/components/Basic/Accordion/AccordionIcon.svg Switch stroke color to a CSS variable for theming.
docs/src/styles/custom.css Simplify code-block styles and adjust hero layout responsiveness.
docs/src/content/docs/index.mdx Rework splash hero to include a styled “expressive code” mock and safer typing logic.
docs/src/content/docs/concepts/slots.mdx Publish Slots doc by removing draft: true.
docs/src/content/docs/components/index.mdx Refactor component grid rendering and add page-level styling tweaks.
docs/src/components/SocialIcons.astro Remove custom SocialIcons override (version display).
docs/src/components/SVG.astro Inline SVG rendering via ?raw + set:html to support CSS-variable theming.
docs/src/changelogSideBar.ts Remove custom changelog sidebar generator.
docs/src/assets/components/media/image.svg Replace hardcoded accent colors with theme variables.
docs/src/assets/components/media/Icon.svg Replace hardcoded accent colors with theme variables.
docs/src/assets/components/layout/tabs.svg Replace hardcoded accent colors with theme variables.
docs/src/assets/components/layout/tab.svg Replace hardcoded accent colors with theme variables.
docs/src/assets/components/layout/tab-link.svg Replace hardcoded accent colors with theme variables.
docs/src/assets/components/layout/scroll.svg Replace hardcoded accent colors with theme variables.
docs/src/assets/components/layout/row.svg Replace hardcoded accent colors with theme variables.
docs/src/assets/components/layout/grid.svg Replace hardcoded accent colors with theme variables.
docs/src/assets/components/layout/grid-tile.svg Replace hardcoded accent colors with theme variables.
docs/src/assets/components/layout/flex.svg Replace hardcoded accent colors with theme variables.
docs/src/assets/components/layout/column.svg Replace hardcoded accent colors with theme variables.
docs/src/assets/components/layout/block.svg Replace hardcoded accent colors with theme variables.
docs/src/assets/components/feedback/toast.svg Replace hardcoded accent colors with theme variables.
docs/src/assets/components/basic/text-block.svg Replace hardcoded accent colors with theme variables.
docs/src/assets/components/basic/state.svg Replace hardcoded accent colors with theme variables.
docs/src/assets/components/basic/slider.svg Replace hardcoded accent colors with theme variables.
docs/src/assets/components/basic/checkbox.svg Replace hardcoded accent colors with theme variables.
docs/src/assets/components/basic/button.svg Replace hardcoded accent colors with theme variables.
docs/src/assets/coherent-gameface-ui.png Add a new branded image asset.
docs/package.json Update/pin key docs dependencies; add coherent theme package and overrides.
docs/astro.config.ts Replace prior theme/plugins/sidebar logic with coherent-docs-theme helpers and update social links.

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

Comment thread docs/astro.config.ts Outdated
Comment thread docs/src/content/docs/components/index.mdx
Comment thread docs/src/content/docs/index.mdx Outdated
Comment thread docs/src/content/docs/index.mdx Outdated
Comment thread docs/src/content/docs/components/index.mdx Outdated
@alien1976 alien1976 merged commit 65ac719 into master Mar 25, 2026
@alien1976 alien1976 deleted the add-coherent-theme-to-docs branch March 25, 2026 13:30
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.

4 participants