GC Design SystemCSS Shortcuts
GC Design System Start to use Page templates overviewBasic page Components overviewAlertBreadcrumbsButtonCardCheckboxesContainerDate inputDate modifiedDetailsError messageError summaryFieldsetFile uploaderFooterGridHeaderHeadingIconInputLanguage toggleLinkNoticePaginationRadiosScreenreader-onlySearchSelectSide navigationSignatureStepperTableTextTextareaTheme and topic menuTop navigation CSS Shortcuts overview Reset styles Responsive layoutState Box sizingContainer sizingDisplayOverflowPositionVisibility FontFont familyFont sizeFont styleFont weightLine heightLink colourLink sizeLink text decorationList styleText alignText colourText overflowText transformWord break MarginPadding Align contentAlign itemsAlign selfFlexFlex directionFlex growFlex shrinkFlex wrapGapGrid columnsGrid rowsJustify contentJustify itemsJustify selfOrderPlace contentPlace itemsPlace self Background colourBorder colourBorder radiusBorder styleBorder width Icon namesIcon sizeImage CursorPointer eventsTransition Styles overviewDesign tokensColourSpacingTypography Contact usGet InvolvedFind a demo

Link colour

The link colour class sets the color property. It controls the colour of a link. View GCDS colour guidance to choose the right link colour for your context. Overview
CSS Shortcut class Applied style
link-default
color: var(--gcds-link-default);
link-hover
color: var(--gcds-link-hover);
link-inherit
color: var(--gcds-link-inherit);
link-light
color: var(--gcds-link-light);

Examples

Default
link-default

<a href="#" class="link-default">
  This link uses the default link colour.
</a>

Hover
link-hover

<a href="#" class="link-hover">
  This link uses the hover link colour on hover.
</a>

Inherit
link-inherit

<div style="color: var(--gcds-color-red-700)">
  <a href="#" class="link-inherit">
    This link inherits its colour from the parent element.
  </a>
</div>

Light
link-light

<a href="#" class="link-light">
  This link uses the light link colour.
</a>
Conditional styling Apply this style to specific screen sizes Use a responsive layout prefix to apply this class only to a specified screen size. The available breakpoints are:
  • xs: > 480px
  • sm: > 640px
  • md: > 768px
  • lg: > 1024px
  • xl: > 1280px
<div class="xs:link-hover ...">
  ...
</div>
Learn more about the responsive layout prefix. Apply this style to specific states Use a state prefix to apply this class only to a specified interaction state. The available states are:
  • hover
  • focus
<div class="hover:link-hover ...">
  ...
</div>
Learn more about the state prefix. 2026-02-12