Conversation
MartinBozhilov-coh
approved these changes
Mar 16, 2026
MihailTodorov
approved these changes
Mar 20, 2026
There was a problem hiding this comment.
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-themeinto 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.