From 1f5a408f3651dcc70ac3d224cc383c2a2c23429e Mon Sep 17 00:00:00 2001 From: Axel Zuziak Date: Sun, 24 Apr 2022 17:02:07 +0200 Subject: [PATCH] Added new symbol: CustomChevronUpChevronDown --- Sources/CodeEditSymbols/CodeEditSymbols.swift | 4 +- .../Contents.json | 12 + .../custom.chevron.up.chevron.down.svg | 219 ++++++++++++++++++ 3 files changed, 234 insertions(+), 1 deletion(-) create mode 100644 Sources/CodeEditSymbols/Symbols.xcassets/custom.chevron.up.chevron.down.symbolset/Contents.json create mode 100644 Sources/CodeEditSymbols/Symbols.xcassets/custom.chevron.up.chevron.down.symbolset/custom.chevron.up.chevron.down.svg diff --git a/Sources/CodeEditSymbols/CodeEditSymbols.swift b/Sources/CodeEditSymbols/CodeEditSymbols.swift index 582f2db..eae49de 100644 --- a/Sources/CodeEditSymbols/CodeEditSymbols.swift +++ b/Sources/CodeEditSymbols/CodeEditSymbols.swift @@ -22,6 +22,7 @@ public extension Image { static let checkout: Image = .init(symbol: "checkout") static let breakpoint: Image = .init(symbol: "breakpoint") static let breakpoint_fill: Image = .init(symbol: "breakpoint.fill") + static let customChevronUpChevronDown: Image = .init(symbol: "custom.chevron.up.chevron.down") // add static properties for your symbols above this line @@ -45,7 +46,8 @@ public extension NSImage { static let checkout: NSImage = .symbol(named: "checkout") static let breakpoint: NSImage = .symbol(named: "breakpoint") static let breakpoint_fill: NSImage = .symbol(named: "breakpoint.fill") - + static let customChevronUpChevronDown: NSImage = .symbol(named: "custom.chevron.up.chevron.down") + // add static properties for your symbols above this line } diff --git a/Sources/CodeEditSymbols/Symbols.xcassets/custom.chevron.up.chevron.down.symbolset/Contents.json b/Sources/CodeEditSymbols/Symbols.xcassets/custom.chevron.up.chevron.down.symbolset/Contents.json new file mode 100644 index 0000000..c2c61cd --- /dev/null +++ b/Sources/CodeEditSymbols/Symbols.xcassets/custom.chevron.up.chevron.down.symbolset/Contents.json @@ -0,0 +1,12 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + }, + "symbols" : [ + { + "filename" : "custom.chevron.up.chevron.down.svg", + "idiom" : "universal" + } + ] +} diff --git a/Sources/CodeEditSymbols/Symbols.xcassets/custom.chevron.up.chevron.down.symbolset/custom.chevron.up.chevron.down.svg b/Sources/CodeEditSymbols/Symbols.xcassets/custom.chevron.up.chevron.down.symbolset/custom.chevron.up.chevron.down.svg new file mode 100644 index 0000000..9783ee1 --- /dev/null +++ b/Sources/CodeEditSymbols/Symbols.xcassets/custom.chevron.up.chevron.down.symbolset/custom.chevron.up.chevron.down.svg @@ -0,0 +1,219 @@ + + + chevron.up.chevron.down + + + + + + + Weight/Scale Variations + + + Ultralight + + + Thin + + + Light + + + Regular + + + Medium + + + Semibold + + + Bold + + + Heavy + + + Black + + + + + + + + + + + + + Design Variations + + + Symbols are supported in up to nine weights and three scales. + + + For optimal layout with text and other symbols, vertically align + + + symbols with the adjacent text. + + + + + + + + Margins + + + Leading and trailing margins on the left and right side of each symbol + + + can be adjusted by modifying the x-location of the margin guidelines. + + + Modifications are automatically applied proportionally to all + + + scales and weights. + + + + + + Exporting + + + Symbols should be outlined when exporting to ensure the + + + design is preserved when submitting to Xcode. + + + Template v.2.0 + + + Requires Xcode 12 or greater + + + Generated from chevron.up.chevron.down + + + Typeset at 100 points + + + Small + + + Medium + + + Large + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file