From d2b34cee3e5db28d9d67f6209265a23631f71b2f Mon Sep 17 00:00:00 2001 From: amirsaam Date: Sat, 27 Jul 2024 14:53:07 +0330 Subject: [PATCH] Testing Colors in `AssetCatalog` --- Package.swift | 1 + .../RadixColors.xcassets/Amber/Contents.json | 6 ++++++ .../RadixColors.xcassets/Black/Contents.json | 6 ++++++ .../RadixColors.xcassets/Blue/Contents.json | 6 ++++++ .../RadixColors.xcassets/Bronze/Contents.json | 6 ++++++ .../RadixColors.xcassets/Brown/Contents.json | 6 ++++++ .../RadixColors.xcassets/Contents.json | 6 ++++++ .../Crimson/Contents.json | 6 ++++++ .../RadixColors.xcassets/Cyan/Contents.json | 6 ++++++ .../RadixColors.xcassets/Gold/Contents.json | 6 ++++++ .../RadixColors.xcassets/Grass/Contents.json | 6 ++++++ .../RadixColors.xcassets/Gray/Contents.json | 6 ++++++ .../RadixColors.xcassets/Green/Contents.json | 6 ++++++ .../RadixColors.xcassets/Indigo/Contents.json | 6 ++++++ .../RadixColors.xcassets/Iris/Contents.json | 6 ++++++ .../RadixColors.xcassets/Jade/Contents.json | 6 ++++++ .../RadixColors.xcassets/Lime/Contents.json | 6 ++++++ .../RadixColors.xcassets/Mauve/Contents.json | 6 ++++++ .../RadixColors.xcassets/Mint/Contents.json | 6 ++++++ .../RadixColors.xcassets/Olive/Contents.json | 6 ++++++ .../RadixColors.xcassets/Orange/Contents.json | 6 ++++++ .../RadixColors.xcassets/Pink/Contents.json | 6 ++++++ .../RadixColors.xcassets/Plum/Contents.json | 6 ++++++ .../RadixColors.xcassets/Purple/Contents.json | 6 ++++++ .../RadixColors.xcassets/Red/Contents.json | 6 ++++++ .../RadixColors.xcassets/Ruby/Contents.json | 6 ++++++ .../RadixColors.xcassets/Sage/Contents.json | 6 ++++++ .../RadixColors.xcassets/Sand/Contents.json | 6 ++++++ .../RadixColors.xcassets/Sky/Contents.json | 6 ++++++ .../RadixColors.xcassets/Slate/Contents.json | 6 ++++++ .../RadixColors.xcassets/Teal/Contents.json | 6 ++++++ .../RadixColors.xcassets/Tomato/Contents.json | 6 ++++++ .../RadixColors.xcassets/Violet/Contents.json | 6 ++++++ .../White/Alpha/Contents.json | 6 ++++++ .../Alpha/testWhiteA12.colorset/Contents.json | 20 +++++++++++++++++++ .../RadixColors.xcassets/White/Contents.json | 6 ++++++ .../RadixColors.xcassets/Yellow/Contents.json | 6 ++++++ 37 files changed, 231 insertions(+) create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Amber/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Black/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Blue/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Bronze/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Brown/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Crimson/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Cyan/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Gold/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Grass/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Gray/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Green/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Indigo/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Iris/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Jade/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Lime/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Mauve/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Mint/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Olive/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Orange/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Pink/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Plum/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Purple/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Red/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Ruby/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Sage/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Sand/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Sky/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Slate/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Teal/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Tomato/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Violet/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/White/Alpha/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/White/Alpha/testWhiteA12.colorset/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/White/Contents.json create mode 100644 Sources/RadixUI/RadixColors/RadixColors.xcassets/Yellow/Contents.json diff --git a/Package.swift b/Package.swift index f8db444..d6f6fc0 100644 --- a/Package.swift +++ b/Package.swift @@ -21,6 +21,7 @@ let package = Package( .target( name: "RadixUI", resources: [ + .process("RadixColors/RadixColors.xcassets"), .process("RadixIcons/RadixIcons.xcassets") ] ), diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Amber/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Amber/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Amber/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Black/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Black/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Black/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Blue/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Blue/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Blue/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Bronze/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Bronze/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Bronze/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Brown/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Brown/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Brown/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Crimson/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Crimson/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Crimson/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Cyan/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Cyan/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Cyan/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Gold/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Gold/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Gold/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Grass/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Grass/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Grass/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Gray/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Gray/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Gray/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Green/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Green/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Green/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Indigo/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Indigo/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Indigo/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Iris/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Iris/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Iris/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Jade/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Jade/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Jade/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Lime/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Lime/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Lime/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Mauve/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Mauve/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Mauve/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Mint/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Mint/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Mint/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Olive/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Olive/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Olive/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Orange/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Orange/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Orange/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Pink/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Pink/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Pink/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Plum/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Plum/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Plum/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Purple/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Purple/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Purple/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Red/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Red/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Red/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Ruby/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Ruby/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Ruby/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Sage/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Sage/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Sage/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Sand/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Sand/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Sand/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Sky/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Sky/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Sky/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Slate/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Slate/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Slate/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Teal/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Teal/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Teal/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Tomato/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Tomato/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Tomato/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Violet/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Violet/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Violet/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/White/Alpha/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/White/Alpha/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/White/Alpha/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/White/Alpha/testWhiteA12.colorset/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/White/Alpha/testWhiteA12.colorset/Contents.json new file mode 100644 index 0000000..a5443b7 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/White/Alpha/testWhiteA12.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "0.950", + "blue" : "255", + "green" : "255", + "red" : "255" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/White/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/White/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/White/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RadixUI/RadixColors/RadixColors.xcassets/Yellow/Contents.json b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Yellow/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RadixUI/RadixColors/RadixColors.xcassets/Yellow/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +}