Theming¶
Versions in GIFramework Maps can have different themes applied to them.
Relevant tables¶
| Table Name | Description | 
|---|---|
| Theme | Basic theme information that can be applied to versions, including logos and colours | 
| Versions | Contains a ThemeId column used to define what theme is applied to this version | 
Theme¶
This table contains the theme details.
Name- A friendly name for the theme used by adminsDescription- A more detailed description for the theme used by adminsPrimaryColour- The hex code (without the#) for the primary colour used in the themeLogoURL- A URL to the logo that appears in the top left. Ideally this should be an SVG or PNGCustomFaviconURL- An optional URL to a folder containing the following four favicon items:favicon.icoapple-touch-icon-precomposed.pngandroid-chrome-192x192.pngandroid-chrome-512x512.png
Versions¶
Within the Versions table, there is a ThemeId column. Set this to the Id in the Theme table of the theme you want to apply.