damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 76f6ed0f86adffd4327de3be82dbb006b28a8537
parent 05dee129b503f3fd500687e4ccfbd719e3383cfc
Author: ericholguin <eric.holguinsanchez@gmail.com>
Date:   Sat, 14 Oct 2023 15:23:10 -0600

colors: add an adapatable white color

Diffstat:
Adamus/Assets.xcassets/Colors/DamusAdaptableWhite.colorset/Contents.json | 38++++++++++++++++++++++++++++++++++++++
Mdamus/Components/DamusColors.swift | 1+
2 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/damus/Assets.xcassets/Colors/DamusAdaptableWhite.colorset/Contents.json b/damus/Assets.xcassets/Colors/DamusAdaptableWhite.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0xFF", + "green" : "0xFF", + "red" : "0xFF" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x00", + "green" : "0x00", + "red" : "0x00" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/damus/Components/DamusColors.swift b/damus/Components/DamusColors.swift @@ -11,6 +11,7 @@ import SwiftUI class DamusColors { static let adaptableGrey = Color("DamusAdaptableGrey") static let adaptableBlack = Color("DamusAdaptableBlack") + static let adaptableWhite = Color("DamusAdaptableWhite") static let white = Color("DamusWhite") static let black = Color("DamusBlack") static let brown = Color("DamusBrown")