Closed
Description
Right now we have the following theme options that are ready to ship. We need to add config options for the following options that get appended to PL's pl-c-body
:
pl-c-body--theme-light
- this is the light theme, which sets PL's header and modal to a white background with dark gray text.pl-c-body--theme-density-cozy
increases PL's header font size and padding so PL things are a bit more prominentpl-c-body--theme-density-comfortable
increases PL's header padding even more to be even more prominent than the cozy densitypl-c-body--theme-sidebar
moves PL's header and displays it as a left sidebar.
Here's what these options could look like inside of patternlab-config.json
, with the default (aka current) values displayed first:
{
"theme" : {
"color" : "dark" | "light",
"density" : "compact" | "cozy" | "comfortable",
"layout" : "horizontal" | "vertical"
}
}
I know which classes need applied, but I don't know how to wire up the config and write the conditionals inside of src/html/partials/index.html
. Could use some help, @bmuenzenmeyer or @EvanLovely.