Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 17, 2025

Addresses review feedback to align with codebase conventions for text styling.

Changes

  • Import: Changed from UUITextStyles (external UUI library) to UmbTextStyles (backoffice wrapper)
  • Path: '@umbraco-cms/backoffice/external/uui''@umbraco-cms/backoffice/style'

Rationale

UmbTextStyles wraps UUITextStyles and adds anchor tag styling:

export const UmbTextStyles = css`
  ${UUITextStyles}
  
  a {
    color: var(--uui-color-interactive);
  }
  a:hover, a:focus {
    color: var(--uui-color-interactive-emphasis);
  }
`;

This pattern is used consistently across 20+ components in the codebase.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: nielslyngsoe <6791648+nielslyngsoe@users.noreply.github.com>
Copilot AI changed the title [WIP] Address feedback on News Dashboard styling update Use UmbTextStyles instead of UUITextStyles in news card component Dec 17, 2025
Copilot AI requested a review from nielslyngsoe December 17, 2025 15:26
Base automatically changed from v17/improvements/dashboard-styling to main December 18, 2025 08:51
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