Skip to content

Releases: NerdSnipe-Inc/design-foundation

v1.0.2

29 Jun 15:23

Choose a tag to compare

Bug Fixes

  • macOS double borderDFTextField and DFSecureField no longer show the system rounded border alongside the custom outline; fixed with .textFieldStyle(.plain) on the inner field
  • DFDatePicker padding — compact, graphical, and wheel styles now have proper horizontal and vertical breathing room
  • DFSidebar glass — glass style background is now transparent so .ultraThinMaterial applied by the caller shows through; preview layout corrected to pin sidebar left

New Features

  • DFToastSeverity — new info / success / warning / error enum on DFToastMessage; DFDefaultToastStyle colours the icon using the matching theme token (blue / green / amber / red); DFToastQueue.show gains a severity parameter

Preview Cleanup

  • Removed canvas-incompatible previews for DFModal, DFSheet, DFPopover, and DFTooltip — these are now covered by the DFPlayground demo app
  • Toast preview replaced with a static severity showcase visible directly in the canvas

DesignFoundation 1.0.0

29 Jun 03:45

Choose a tag to compare

DesignFoundation 1.0.0

The first stable release of DesignFoundation — a production-grade SwiftUI design system for iOS 18, macOS 15, and visionOS 2.

What's included

Token-Based Theming Engine

  • DFTheme with 7 token namespaces: colors, typography, spacing, radius, shadow, animation, and per-component overrides
  • Single-line app-root injection; subtree overrides; every component respects the nearest theme automatically

Primitive Components

  • DFButton — filled, outlined, ghost, tinted, glass styles; destructive and cancel roles
  • DFText / DFIcon / DFBadge / DFAvatar / DFDivider
  • DFAvatar — circle, rounded, ring, glass; initials or image; presence indicators

Input Components

  • DFTextField / DFSecureField (reveal toggle built-in)
  • DFToggle / DFSlider / DFPicker / DFDatePicker
  • Shared DFValidationState enum across all inputs

Layout & Overlay

  • DFCard — elevated, outlined, filled, glass
  • DFModal / DFSheet / DFPopover / DFTooltip

Navigation

  • DFTabBar / DFNavigationBar / DFSidebar

Supplementary

  • DFCheckbox / DFProgressBar / DFSkeleton / DFToast / DFAlert
  • DFList with swipe-delete, reorder, and multi-select
  • DFTable with sortable columns

Liquid Glass — iOS 26 / macOS 26

  • Every component ships a .glass style variant built on Apple's Liquid Glass material

Swift 6 Strict Concurrency

  • Compiles clean with StrictConcurrency enabled; all value types Sendable

Install

// Package.swift
.package(url: "https://github.com/NerdSnipe-Inc/design-foundation", from: "1.0.0")

See also

DesignFoundationBlocks — the commercial blocks layer built on this foundation.