Add a GetThemeAsCSS() Function

Idea created by nciske on Mar 14, 2018
    Active
    Score22

    In FileMaker 16+ Themes use CSS under the hood.

     

    When rending content in web viewers, or even web pages that render FileMaker data, it'd be helpful from a UX perspective to be able to retrieve the current theme as a string of CSS so it could be added to the HTML in a web viewer, or written to another system to keep designs in sync -- versus having to manually style these to match each other.

     

    Bonus points for a SetThemeAsCSS() function that allows importing themes that have been edited outside FileMaker (e.g. so they can be version controlled and loaded at runtime).