Skip to content

Instantly share code, notes, and snippets.

@sankaran1984
Created February 22, 2017 18:43
Show Gist options
  • Save sankaran1984/601bf611bb69d9b694d9b9f2b343fa29 to your computer and use it in GitHub Desktop.
Save sankaran1984/601bf611bb69d9b694d9b9f2b343fa29 to your computer and use it in GitHub Desktop.
Visualforce - Beyond Basics
<apex:page >
<apex:sectionHeader title="Styling based on User Configuration"/>
<!-- Show a text with Color, Configured for ORG -->
<apex:outputText value="My Sample Text"
style="color:{!$Setup.TestSettings__c.Color__c};font-size:{!$Setup.TestSettings__c.Size__c}px;"/>
</apex:page>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment