/swift-penumbra

Penumbra Color Theme for Swift

Primary LanguageSwiftMIT LicenseMIT

Penumbra

Penumbra is a mathematically balanced colour scheme constructed in a perceptually uniform colour space with base colours inspired by the shades of colour occurring in nature due to the light of the sun and the sky. It cleanly separates the perceptual properties of colours while optimally utilizing the available colour space of typical displays.

Penumbra source repository

This repository is a Swift implementation of the Penumbra color theme. For documentation about the color theme itself, see its repository.

Usage

Access the colors using the Penumbra namespace on the Color struct.

import Penumbra
import SwiftUI 

let color: Color = .Penumbra.Balanced.Base.sunPlus