Our UIKit v4 supports customization in a single place by modifying a config.json
file in related UIKit repository. This configuration file includes all necessary data to customize the appearance of each pages, components and elements that we allow to do customization.
Currently we only supports light_theme
, you can modify primary_color
or secondary_color
for app theme.
We supports three different levels - Page, Component and Element. The format is like page_id/component_id/element_id
.
Page ID - We use post
suffix and placed at first, it will looks like camera_page/*/*
Component ID - We use component
suffix and placed at middle, it will looks like */comment_component/*
Element ID - We use no suffix and placed at last, it will looks like */*/close_button
You can override Global Theme for a specific page with desired value like below
These are the available Page IDs
You can also override Global Theme for a specific component with desired value like below
These are the available Component IDs
You can specify background_color
for an element, and icon
if that element has image icon.
These are the available Component IDs
You can exclude UI elements by specifying its config id in excludes
in configuration file.
Example: Excluding aspect ratio button from Story Draft page