Swiftpack.co - Package - SolarDesignSystem/Apple

Solar Design System

A native first design system.

Github

link
Stars: 0

Dependencies

Used By

Total: 0

Releases

Shared Styles - 2020-08-22 15:36:47

Fixed

  • Compile issues on macOS due to the VisualEffectView

Added

  • Shared styles that can be applied to any component.

Bugfixes - 2020-08-22 15:36:26

Fixed

  • A compile issue on tvOS due to unsupported VisualEffects
  • A compile issue on macOS due to a duplicated system color name.

Minor Updates - 2020-08-22 15:36:07

Changes

  • Visual effect views now accept a content view.
  • Updated button padding to use the padding determined by the system.
  • Updated the minimum supported versions to:
    • iOS 14
    • tvOS 14
    • watchOS 7
    • macOS 11

Bugfixes - 2020-07-04 14:05:21

Fixed

  • Fixed a crash when accessing theme.systemColor.separator on macOS.

Bugfixes - 2020-07-04 03:13:43

Fixed

  • Fixed a crash when accessing theme.systemColor.secondaryGroupedBackground.

Customize for Operating System - 2020-07-04 01:23:10

Added

Customize For Operating System Modifier

A modifier that allows adding additional modifiers or customizations to a view based on the current operating system. This allows us to avoid splitting up view builders to be able to use #if os(tvOS).

Text("Hello World!")
   .font(Font.system(size: 12.0))
   .customize(for: .tvOS, modifier: {
       $0.font(Font.system(size: 20.0))
   })

Themes - 2020-07-03 21:36:52

Added

  • Theme
    • A theme system based on @Environment that can be accessed from SwiftUI views. @Marxon13
    • System colors for iOS, macOS, tvOS, and watchOS to Theme. @Marxon13
    • Standardized semantic colors defined by the design system to Theme. @Marxon13