Bedrock/Sources/Bedrock/Bedrock.swift
Matt Bruce fa7d848f52 Initial commit: Bedrock design system and UI component library
- Design system: spacing, typography, colors, animations, opacity, shadows
- Protocol-based color theming (AppColorTheme)
- Settings UI components: toggles, pickers, selection indicators
- Sound and haptic feedback manager (generic AppSound protocol)
- Onboarding state management
- Cloud sync manager (PersistableData protocol)
- Visual effects: ConfettiView, PulsingModifier
- Debug utilities: DebugBorderModifier
- Device information utilities (cross-platform)
- Unit tests for design constants
2026-01-02 11:58:30 -06:00

48 lines
1.3 KiB
Swift

//
// Bedrock.swift
// Bedrock
//
// A foundational design system and UI component library for building
// consistent, beautiful SwiftUI applications.
//
// Bedrock provides:
// - Design constants (spacing, typography, colors, animations)
// - Reusable settings UI components
// - Common utilities and extensions
//
import SwiftUI
/// The Bedrock module provides foundational design constants and reusable
/// UI components for building consistent SwiftUI applications.
///
/// ## Overview
///
/// Bedrock is designed to be the foundation upon which apps are built,
/// providing:
///
/// - **Design System**: Consistent spacing, typography, colors, and animations
/// - **Settings Components**: Ready-to-use toggle, picker, and selector views
/// - **Utilities**: Common helpers for device detection, debugging, and more
///
/// ## Usage
///
/// Import Bedrock and use the design constants:
///
/// ```swift
/// import Bedrock
///
/// struct MyView: View {
/// var body: some View {
/// Text("Hello")
/// .padding(Design.Spacing.medium)
/// .background(Color.Surface.primary)
/// }
/// }
/// ```
/// Bedrock library metadata and version information.
public enum BedrockInfo {
/// The current version of the Bedrock library.
public static let version = "1.0.0"
}