diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2020-07-29 14:43:39 +0300 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2020-07-30 09:50:25 +0300 |
| commit | 46c12aa694919d9804cd0e60a43df64f941c290a (patch) | |
| tree | 960a9f7dbb5157ed761a98cd5ff75eb53861a730 | |
| parent | 6852dd2543bead7f4c3058b31f98502a9e51e18a (diff) | |
| download | mullvadvpn-46c12aa694919d9804cd0e60a43df64f941c290a.tar.xz mullvadvpn-46c12aa694919d9804cd0e60a43df64f941c290a.zip | |
Add split button assets
7 files changed, 61 insertions, 1 deletions
diff --git a/ios/AdditionalAssets/TranslucentDangerSplitLeftButton.svg b/ios/AdditionalAssets/TranslucentDangerSplitLeftButton.svg new file mode 100644 index 0000000000..ef4210291e --- /dev/null +++ b/ios/AdditionalAssets/TranslucentDangerSplitLeftButton.svg @@ -0,0 +1,3 @@ +<svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"> + <path d="M4 0 L44 0 Q44 0 44 0 L44 44 Q44 44 44 44 L4 44 Q0 44 0 40 L0 4 Q0 0 4 0 Z" fill="rgba(227, 64, 57, 0.40)"></path> +</svg> diff --git a/ios/AdditionalAssets/TranslucentDangerSplitRightButton.svg b/ios/AdditionalAssets/TranslucentDangerSplitRightButton.svg new file mode 100644 index 0000000000..12e8e1442e --- /dev/null +++ b/ios/AdditionalAssets/TranslucentDangerSplitRightButton.svg @@ -0,0 +1,3 @@ +<svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"> + <path d="M0 0 L40 0 Q44 0 44 4 L44 40 Q44 44 40 44 L0 44 Q0 44 0 44 L0 0 Q0 0 0 0 Z" fill="rgba(227, 64, 57, 0.40)"></path> +</svg> diff --git a/ios/MullvadVPN/Assets.xcassets/TranslucentDangerSplitLeftButton.imageset/Contents.json b/ios/MullvadVPN/Assets.xcassets/TranslucentDangerSplitLeftButton.imageset/Contents.json new file mode 100644 index 0000000000..3ffcbb4089 --- /dev/null +++ b/ios/MullvadVPN/Assets.xcassets/TranslucentDangerSplitLeftButton.imageset/Contents.json @@ -0,0 +1,26 @@ +{ + "images" : [ + { + "filename" : "TranslucentDangerSplitLeftButton.pdf", + "idiom" : "universal", + "resizing" : { + "cap-insets" : { + "bottom" : 3, + "left" : 21, + "right" : 22, + "top" : 3 + }, + "center" : { + "height" : 1, + "mode" : "tile", + "width" : 1 + }, + "mode" : "9-part" + } + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ios/MullvadVPN/Assets.xcassets/TranslucentDangerSplitLeftButton.imageset/TranslucentDangerSplitLeftButton.pdf b/ios/MullvadVPN/Assets.xcassets/TranslucentDangerSplitLeftButton.imageset/TranslucentDangerSplitLeftButton.pdf Binary files differnew file mode 100644 index 0000000000..8a9ca176c1 --- /dev/null +++ b/ios/MullvadVPN/Assets.xcassets/TranslucentDangerSplitLeftButton.imageset/TranslucentDangerSplitLeftButton.pdf diff --git a/ios/MullvadVPN/Assets.xcassets/TranslucentDangerSplitRightButton.imageset/Contents.json b/ios/MullvadVPN/Assets.xcassets/TranslucentDangerSplitRightButton.imageset/Contents.json new file mode 100644 index 0000000000..560e715aae --- /dev/null +++ b/ios/MullvadVPN/Assets.xcassets/TranslucentDangerSplitRightButton.imageset/Contents.json @@ -0,0 +1,26 @@ +{ + "images" : [ + { + "filename" : "TranslucentDangerSplitRightButton.pdf", + "idiom" : "universal", + "resizing" : { + "cap-insets" : { + "bottom" : 3, + "left" : 21, + "right" : 22, + "top" : 3 + }, + "center" : { + "height" : 1, + "mode" : "tile", + "width" : 1 + }, + "mode" : "9-part" + } + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ios/MullvadVPN/Assets.xcassets/TranslucentDangerSplitRightButton.imageset/TranslucentDangerSplitRightButton.pdf b/ios/MullvadVPN/Assets.xcassets/TranslucentDangerSplitRightButton.imageset/TranslucentDangerSplitRightButton.pdf Binary files differnew file mode 100644 index 0000000000..f033dc42f6 --- /dev/null +++ b/ios/MullvadVPN/Assets.xcassets/TranslucentDangerSplitRightButton.imageset/TranslucentDangerSplitRightButton.pdf diff --git a/ios/convert-assets.rb b/ios/convert-assets.rb index 8529b2e7d5..929debd021 100755 --- a/ios/convert-assets.rb +++ b/ios/convert-assets.rb @@ -77,7 +77,9 @@ ADDITIONAL_ASSETS = [ "SuccessButton.svg", "DangerButton.svg", "TranslucentDangerButton.svg", - "TranslucentNeutralButton.svg" + "TranslucentNeutralButton.svg", + "TranslucentDangerSplitLeftButton.svg", + "TranslucentDangerSplitRightButton.svg" ] # Functions |
