carbonkivy.utils

Attributes

Color

DEVICE_TYPE

DEVICE_IOS

Functions

get_font_name(→ str)

get_font_style(→ float)

get_spacing(→ float)

get_button_size(→ float)

get_latest_time(→ str)

update_system_ui(→ None)

Update the color system of the status and navigation bar.

get_display_cutout_insets()

Module Contents

carbonkivy.utils.Color[source]
carbonkivy.utils.get_font_name(typeface: str, weight_style: str) str[source]
carbonkivy.utils.get_font_style(token: str) float[source]
carbonkivy.utils.get_spacing(token: str) float[source]
carbonkivy.utils.get_button_size(token: str) float[source]
carbonkivy.utils.get_latest_time(*args) str[source]
carbonkivy.utils.update_system_ui(status_bar_color: list[float] | str, navigation_bar_color: list[float] | str, icon_style: Literal['Light', 'Dark'] = 'Dark', pad_status: bool = True, pad_nav: bool = False) None[source]

Update the color system of the status and navigation bar.

Currently supports Android only.

Author Kartavya Shukla -

https://github.com/Novfensec

carbonkivy.utils.get_display_cutout_insets()[source]
carbonkivy.utils.DEVICE_TYPE[source]
carbonkivy.utils.DEVICE_IOS[source]