diff --git a/Sources/SwiftNotify/SwiftNotify.docc/Resources/Demo2.gif b/Sources/SwiftNotify/SwiftNotify.docc/Resources/Demo2.gif new file mode 100644 index 0000000..3fe4241 Binary files /dev/null and b/Sources/SwiftNotify/SwiftNotify.docc/Resources/Demo2.gif differ diff --git a/Sources/SwiftNotify/SwiftNotify.docc/Resources/Demo3.gif b/Sources/SwiftNotify/SwiftNotify.docc/Resources/Demo3.gif new file mode 100644 index 0000000..39c109b Binary files /dev/null and b/Sources/SwiftNotify/SwiftNotify.docc/Resources/Demo3.gif differ diff --git a/Sources/SwiftNotify/SwiftNotify.docc/SwiftNotify.md b/Sources/SwiftNotify/SwiftNotify.docc/SwiftNotify.md index dc4706f..0ea6d0d 100644 --- a/Sources/SwiftNotify/SwiftNotify.docc/SwiftNotify.md +++ b/Sources/SwiftNotify/SwiftNotify.docc/SwiftNotify.md @@ -4,9 +4,19 @@ A *Swifty* UI framework for **notifications** and **alerts**. ## Overview -**SwiftNotify** makes notifications interactive, playable and fun! - -![Demo](Demo1) +**SwiftNotify** makes notifications interactive, playful and fun! + +@Row { + @Column { + ![Demo](Demo1) + } + @Column { + ![Demo](Demo2) + } + @Column { + ![Demo](Demo3) + } +} SwiftNotify uses *UIKit Dynamics* as animator to create smooth interactive animations and physics behaviours for the notices. @@ -19,30 +29,51 @@ SN.show(title: "OMG", message: "SwiftNotify is Great !", level: .success) As simple as that. +## Requirements +- Swift 5.5+ +- iOS 13.0+ + ### Themes SwiftNotify provides six beautiful ``Theme``s for notices. In additional, every theme has four ``Level``: **success**, **fail**, **warning** and **info**. They are: -- **``SwiftNotify/Theme/cyber``** -![Cyber](Cyber) -- **``SwiftNotify/Theme/cyberDark``** -![CyberDark](CyberDark) -- **``SwiftNotify/Theme/classic``** -![Classic](Classic) -- **``SwiftNotify/Theme/classicDark``** -![ClassicDark](ClassicDark) -- **``SwiftNotify/Theme/toast``** -![Toast](Toast) -- **``SwiftNotify/Theme/toastDark``** -![ToastDark](ToastDark) -Every theme has its own appearence configuration (``ThemeConfig``). And every level has its own appearence configuration (``LevelConfig``). +- **Cyber** + +@TabNavigator { + @Tab("Light") { + ![Cyber](Cyber) + } + @Tab("Dark") { + ![CyberDark](CyberDark) + } +} + +- **Classic** + +@TabNavigator { + @Tab("Light") { + ![Classic](Classic) + } + @Tab("Dark") { + ![ClassicDark](ClassicDark) + } +} + +- **Toast** + +@TabNavigator { + @Tab("Light") { + ![Toast](Toast) + } + @Tab("Dark") { + ![ToastDark](ToastDark) + } +} -## Requirements -- Swift 5.5+ -- iOS 13.0+ +Every theme has its own appearence configuration (``ThemeConfig``). And every level has its own appearence configuration (``LevelConfig``). ## Topics