kolibri-design-system
kolibri-design-system copied to clipboard
link to color definition from color block
The DocsColorBlock
component has a boolean definition
property, which is intended to be:
-
true
when the color block is being used on the "Color" page and is the canonical "definition" which gets linked to. -
false
when the color block is being used as an example or illustration
https://github.com/learningequality/kolibri-design-system/blob/a60d0863766a4eab61a9db3be7a9fc268376f5b4/docs/common/DocsColorBlock.vue#L36-L46
Setting definition
to false
should cross-link to the actual definition in the colors page.