I am working on a proof of concept for a lightning component that will be available in the Community Builder. This component will become a part of a managed package so I would like to make it as flexible as possible. The community builder contains a lot of point-and-click customization like changing the color palette for a template, but my question is this:
From a lightning component that implements forceCommunity:availableForAllPageTypes
, is there any way to access customization values from the Community Builder?
I can't find any documentation on that forceCommunity:availableForAllPageTypes
other than you need to use it for your lightning component to show up. Additionally, it looks like the app.css
file generated for the actual community does not use helper classes like .text-primary
from Bootstrap but instead just drops color values into very specialized classes.
Thanks for any tips or links to documentation explaining this stuff! If we just drop in our own styles we will stick out like a sore thumb on the community page. Additionally, I know that we have the .design
file to provide customization values, but I don't think that we can pull attributes from that file into the .css
file and would have to instead use inline styling.