Style Distributor Lightning Web Component for Salesforce.
On style change either/both a PubSub-event and/or Lightning-Message are published, for sibling components to listen to.
The component has been developed out of personal interest and learning and can be used without any cost, as long as the original source is referenced.
- Pub Sub (incl. minor library extensions)
- Lightning Messaging Service
- Lightning Web Components
- Aura Component
- Salesforce Org with MyDomain enabled (required for Lightning Components)
- Retrieve this GIT Repository locally
- Deploy the full folder structure to your own Salesforce Org
- Grant your profile access to the StyleDistributor Tab (Default On)
- Visit the StyleDistributor Tab
Style Distributor within Salesforce Lightning Experience - initial page load
Style Distributor within Salesforce Lightning Experience - Example changes [Changed color and font-size slider range (due to font-unit change); list of retrieved messages]
Style Distributor Input parameters