// Koder Design tokens — auto-generated. Do not edit by hand. // Source: tools/design-gen/assets/css/base.css import Foundation public enum KoderTokens { /// Light theme tokens. Values are raw CSS strings; /// consumers wrap in SwiftUI.Color / UIColor as needed. public static let light: [String: String] = [ "accent": "#1f3a93", "accent-on": "#ffffff", "bg": "#ffffff", "border": "#d4d4d9", "focus": "#0f3bd6", "fs-base": "16px", "radius-lg": "16px", "radius-md": "10px", "radius-sm": "6px", "shadow-1": "0 1px 2px rgba(0, 0, 0, 0.10), 0 2px 6px rgba(0, 0, 0, 0.06)", "surface": "#f5f5f7", "surface-2": "#eaeaee", "text": "#161616", "text-muted": "#4b4b4b", ] /// Dark theme tokens. public static let dark: [String: String] = [ "accent": "#8ab4ff", "accent-on": "#0d0f12", "bg": "#0d0f12", "border": "#2a2f37", "focus": "#b8d1ff", "shadow-1": "0 1px 2px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.4)", "surface": "#14171c", "surface-2": "#1c2027", "text": "#f1f1f4", "text-muted": "#b9bcc4", ] /// Common color tokens as 0xRRGGBB Int values. /// Wrap in SwiftUI.Color(red:green:blue:) when needed. public enum Light { public static let bg: Int = 0xFFFFFF public static let surface: Int = 0xF5F5F7 public static let surface2: Int = 0xEAEAEE public static let text: Int = 0x161616 public static let textMuted: Int = 0x4B4B4B public static let accent: Int = 0x1F3A93 public static let accentOn: Int = 0xFFFFFF public static let border: Int = 0xD4D4D9 public static let focus: Int = 0x0F3BD6 } public enum Dark { public static let bg: Int = 0x0D0F12 public static let surface: Int = 0x14171C public static let surface2: Int = 0x1C2027 public static let text: Int = 0xF1F1F4 public static let textMuted: Int = 0xB9BCC4 public static let accent: Int = 0x8AB4FF public static let accentOn: Int = 0x0D0F12 public static let border: Int = 0x2A2F37 public static let focus: Int = 0xB8D1FF } }