Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions Packages/DesignSystem/Sources/DesignSystem/ColorSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ public let availableColorsSets: [ColorSetCouple] =
.init(light: MediumLight(), dark: MediumDark()),
.init(light: ConstellationLight(), dark: ConstellationDark()),
.init(light: ThreadsLight(), dark: ThreadsDark()),
.init(light: BlueskyLight(), dark: BlueskyDark()),
]

public protocol ColorSet: Sendable {
Expand Down Expand Up @@ -39,6 +40,8 @@ public enum ColorSetName: String, Sendable {
case constellationDark = "Constellation - Dark"
case threadsLight = "Threads - Light"
case threadsDark = "Threads - Dark"
case blueskyLight = "Bluesky - Light"
case blueskyDark = "Bluesky - Dark"
}

public struct ColorSetCouple: Identifiable, Sendable {
Expand Down Expand Up @@ -203,3 +206,25 @@ public struct ThreadsLight: ColorSet {

public init() {}
}

public struct BlueskyDark: ColorSet {
public var name: ColorSetName = .blueskyDark
public var scheme: ColorScheme = .dark
public var tintColor: Color = .init(hex: 0x4D97FF)
public var primaryBackgroundColor: Color = .init(hex: 0x151D28)
public var secondaryBackgroundColor: Color = .init(hex: 0x151D28)
public var labelColor: Color = .white

public init() {}
}

public struct BlueskyLight: ColorSet {
public var name: ColorSetName = .blueskyLight
public var scheme: ColorScheme = .light
public var tintColor: Color = .init(hex: 0x006AFF)
public var primaryBackgroundColor: Color = .init(hex: 0xFFFFFF)
public var secondaryBackgroundColor: Color = .init(hex: 0xFFFFFF)
public var labelColor: Color = .black

public init() {}
}
2 changes: 2 additions & 0 deletions Packages/DesignSystem/Sources/DesignSystem/Theme.swift
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,8 @@ public final class Theme {
ConstellationDark(),
ThreadsLight(),
ThreadsDark(),
BlueskyLight(),
BlueskyDark(),
]
}

Expand Down