Latest 0.1.0
License MIT
Frameworks Foundation, UIKit

NilThemeKit is Swift version MAThemeKit by @mamaral.

MAThemeKit provides iOS developers the ability to create a coherent color theme throughout their entire application using a single line of code, removing the need to mess with the dozens of UIAppearance proxies for each UI component. — from MAThemeKit

currently, it just translated MAThemeKit to Swift.


Copy NilThemeKit.swift to your project and set the theme with parameters like primaryColor, secondaryColor, fontname and lightStatusBar style.

NilThemeKit.setupTheme(primaryColor: NilThemeKit.color(r: 3.0, g: 169.0, b: 244.0), secondaryColor:UIColor.whiteColor(),fontname: "HelveticaNeue-Light",lightStatusBar:true)


You can use my another open sourced library NilColorKit to set the theme with Google material colors and FlatUI Colors.


Under MIT License. Please refer to

Latest podspec

    "name": "NilThemeKit",
    "version": "0.1.0",
    "summary": "NilThemeKit helps you create coherent color themes in Swift.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": ""
    "authors": {
        "Peng Guo": "[email protected]"
    "social_media_url": "",
    "source": {
        "git": "",
        "tag": "v0.1.0"
    "source_files": "NilThemeKit/NilThemeKit.swift",
    "frameworks": [
    "requires_arc": true

Pin It on Pinterest

Share This