commit f068833c5e654baed8bae4a6b8f8235fc65ed8d3
parent c3808cd21fb3e1c0f4a7b781373f43a1de68fe95
Author: William Casarin <jb55@jb55.com>
Date: Wed, 10 May 2023 14:01:41 -0700
colors: add adaptableBlack
Used in template icons
Diffstat:
2 files changed, 39 insertions(+), 0 deletions(-)
diff --git a/damus/Assets.xcassets/Colors/DamusAdaptableBlack.colorset/Contents.json b/damus/Assets.xcassets/Colors/DamusAdaptableBlack.colorset/Contents.json
@@ -0,0 +1,38 @@
+{
+ "colors" : [
+ {
+ "color" : {
+ "color-space" : "srgb",
+ "components" : {
+ "alpha" : "1.000",
+ "blue" : "0x00",
+ "green" : "0x00",
+ "red" : "0x00"
+ }
+ },
+ "idiom" : "universal"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "color" : {
+ "color-space" : "srgb",
+ "components" : {
+ "alpha" : "1.000",
+ "blue" : "0xFF",
+ "green" : "0xFF",
+ "red" : "0xFF"
+ }
+ },
+ "idiom" : "universal"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/damus/Components/DamusColors.swift b/damus/Components/DamusColors.swift
@@ -10,6 +10,7 @@ import SwiftUI
class DamusColors {
static let adaptableGrey = Color("DamusAdaptableGrey")
+ static let adaptableBlack = Color("DamusAdaptableBlack")
static let white = Color("DamusWhite")
static let black = Color("DamusBlack")
static let brown = Color("DamusBrown")