From f068833c5e654baed8bae4a6b8f8235fc65ed8d3 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Wed, 10 May 2023 14:01:41 -0700 Subject: [PATCH] colors: add adaptableBlack Used in template icons --- .../Contents.json | 38 +++++++++++++++++++ damus/Components/DamusColors.swift | 1 + 2 files changed, 39 insertions(+) create mode 100644 damus/Assets.xcassets/Colors/DamusAdaptableBlack.colorset/Contents.json diff --git a/damus/Assets.xcassets/Colors/DamusAdaptableBlack.colorset/Contents.json b/damus/Assets.xcassets/Colors/DamusAdaptableBlack.colorset/Contents.json new file mode 100644 index 00000000..0c600f92 --- /dev/null +++ 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 index b6115fac..6875affe 100644 --- 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")