Closed pascalduez closed 9 years ago
Yup.
I started working on this, will try to open the PR soon.
It's a new filter in sassdoc-extras
.
We might want to introduce a new key on the data items. Something like item.colorPreview
.
Otherwise if we replace the value (a variable) with the color, the code preview will display the replaced value and not the original one.
Makes sense. Ping @valeriangalliat @FWeinb.
Let's be more generic with the name and call it resolvedVariables
. That why we can extend it if we ever need the values of other variable types.
+1 for resolvedVariable
! Or maybe resolvedValue
?
resolvedValue
sounds good.
Thanks for the feedback guys!
Available as of sassdoc-extras@2.4.0
and sassdoc-theme-default@2.4.0
.
A colour variable referencing another colour variable is not getting the rendered preview.
It's been already evoked in this comment.
@FWeinb suggestion: