From a7e7ac86ec36eadbb86ead2b06de3d949f8a44c7 Mon Sep 17 00:00:00 2001 From: Dominik Kapusta Date: Fri, 12 Apr 2024 12:35:50 +0200 Subject: [PATCH] Add DesignSystemColor.backgroundSheets --- Sources/DesignResourcesKit/Color.swift | 1 + .../backgroundSheets.colorset/Contents.json | 38 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 Sources/DesignResourcesKit/Colors.xcassets/backgroundSheets.colorset/Contents.json diff --git a/Sources/DesignResourcesKit/Color.swift b/Sources/DesignResourcesKit/Color.swift index d82c36f..19f1cd5 100644 --- a/Sources/DesignResourcesKit/Color.swift +++ b/Sources/DesignResourcesKit/Color.swift @@ -24,6 +24,7 @@ public let bundle = Bundle.module public enum DesignSystemColor: String { case panel case background + case backgroundSheets case surface case container case textPrimary diff --git a/Sources/DesignResourcesKit/Colors.xcassets/backgroundSheets.colorset/Contents.json b/Sources/DesignResourcesKit/Colors.xcassets/backgroundSheets.colorset/Contents.json new file mode 100644 index 0000000..4b4777b --- /dev/null +++ b/Sources/DesignResourcesKit/Colors.xcassets/backgroundSheets.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" : "0x22", + "green" : "0x22", + "red" : "0x22" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +}