Skip to content

Abstract color palettes out into a reusable Vue component

Paul Gascou-Vaillancourt requested to merge 1384-color-palette-component into main

Creates the FoundationsColorPalette and ColorContrastScore components to render color palettes in the Foundations > Color page.

This also migrates the Blue color palette to those new components as a first iteration. Other palettes will be migrated in follow-ups.

There should be no visual change as this only reproduces the existing behavior with a reusable component:

Before After
Screen_Shot_2022-07-06_at_4.10.21_PM Screen_Shot_2022-07-06_at_4.10.07_PM

Closes #1384 (closed)

Edited by Paul Gascou-Vaillancourt

Merge request reports

Loading