APEX 5 - CSS export
Theme roller changes export
Exporting your CSS customization
Something I wanted to write down since I returned from KScope in Chicago and presenting at AUSOUG Connect 2016 just made me realized this will be useful to other as well.Apex 5 came with this greatly looking Universal theme and Theme roller functionality.
But did you ever want to export theme customization you made on your application to any other app?
These are steps you need to take:
- In your customized application open Theme Roller
- Make customization (if not already there)
- Open browser developer Console
- Execute apex.utr.config()
On left hand side a result similar to apex.utr.config({"customCSS":"","vars":{"@g_Accent-BG":"#25cf7d"}}); will be shown.
- Copy code shown on the left starting with apex.utr.config
- Open and run your application (where you want to copy the theme)
- Open Theme Roller; This is important otherwise you get apex.utr.config is not a function error in your console
- Open browser developer console
- Paste copied text and Run
- You will notice changes on you application
As far as I am aware this is currently only way to do this. There is no out of the box functionality/supported way of doing the same.
Hope this will help. Again thanks Roel for sharing.
Cheers,
SLino
This comment has been removed by a blog administrator.
ReplyDelete