kolibri-design-system icon indicating copy to clipboard operation
kolibri-design-system copied to clipboard

link to color definition from color block

Open indirectlylit opened this issue 4 years ago • 0 comments

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.

indirectlylit avatar Sep 01 '20 19:09 indirectlylit