organicmaps/iphone/Maps/Core/Theme/Extensions
Kiryl Kaveryn a1c6d532b5 [ios] refactor styles to make them type-safe using enums instead of string lit
1. for now the structure is SheetStyle.Global/PlacePage/Font/TestColor...
2. the styles are used by assessing the property
before:
lineView.setStyleAndApply("Divider")
headerTitleLabel.setStyleAndApply("semibold18:blackPrimaryText")

after:
lineView.setStyleAndApply(.global(.divider))
headerTitleLabel.setFontStyle(.semibold18, color: .blackPrimary)

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-01-16 16:02:29 +04:00
..
UIColor+hexString.swift [ios] change track's color 2024-02-28 10:05:39 +02:00
UIColor+image.swift
UIColor+rgba.swift
UIFont+monospaced.swift Created an extension for monospaced font 2024-08-01 19:10:05 +02:00
UILabel+SetFontStyle.swift [ios] refactor styles to make them type-safe using enums instead of string lit 2025-01-16 16:02:29 +04:00
UINavigationItem+StyleStyle.swift [ios] refactor styles to make them type-safe using enums instead of string lit 2025-01-16 16:02:29 +04:00
UIView+SetStyle.swift [ios] refactor styles to make them type-safe using enums instead of string lit 2025-01-16 16:02:29 +04:00