Skip to content

Commit

Permalink
🐛 :: semantic color
Browse files Browse the repository at this point in the history
  • Loading branch information
lsh1202 committed Aug 1, 2024
1 parent b5a3e4d commit 1888215
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions Sources/QDS/Foundation/Color/Semantic.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,39 @@ import SwiftUI

extension Color {

static let primaryLight = Color(hex: Pallete.Blue60)
static let primaryNormal = Color(hex: Pallete.Blue50)
static let primaryStrong = Color(hex: Pallete.Blue40)
static let primaryHeavy = Color(hex: Pallete.Blue30)

static let labelNormal = Color(hex: Pallete.Neutral5)
static let labelStrong = Color(hex: Pallete.Common0)
static let labelNeutral = Color(hex: Pallete.Neutral30)
static let labelAlternative = Color(hex: Pallete.Neutral40)
static let labelAssitive = Color(hex: Pallete.Neutral50)
static let labelDisable = Color(hex: Pallete.Neutral90)
static let labelLightDisable = Color(hex: Pallete.Neutral95)

static let backgroundNormal = Color(hex: Pallete.Common100)
static let backgroundStrong = Color(hex: Pallete.Neutral99)
static let backgroundAlternative = Color(hex: Pallete.Common100)

static let backgroundElevatedNormal = Color(hex: Pallete.Neutral99)
static let backgroundElevatedAlternative = Color(hex: Pallete.Common100)

static let lineNormal = Color(hex: Pallete.Neutral99)
static let lineNeutral = Color(hex: Pallete.Common0)
static let lineAlternative = Color(hex: Pallete.Neutral80)

static let statusPositive = Color(hex: Pallete.Green40)
static let statusCautionary = Color(hex: Pallete.Yellow50)
static let statusDestructive = Color(hex: Pallete.Red50)

static let commonWhite = Color(hex: Pallete.Common100)
static let commonBlack = Color(hex: Pallete.Common0)

static let componentNormal = Color(hex: Pallete.Common100)
static let componentStrong = Color(hex: Pallete.Neutral95)
static let componentAlternative = Color(hex: Pallete.Neutral99)
static let componentDimmer = Color(hex: Pallete.Neutral90)
public static let primaryLight = Color(hex: Pallete.Blue60)
public static let primaryNormal = Color(hex: Pallete.Blue50)
public static let primaryStrong = Color(hex: Pallete.Blue40)
public static let primaryHeavy = Color(hex: Pallete.Blue30)

public static let labelNormal = Color(hex: Pallete.Neutral5)
public static let labelStrong = Color(hex: Pallete.Common0)
public static let labelNeutral = Color(hex: Pallete.Neutral30)
public static let labelAlternative = Color(hex: Pallete.Neutral40)
public static let labelAssitive = Color(hex: Pallete.Neutral50)
public static let labelDisable = Color(hex: Pallete.Neutral90)
public static let labelLightDisable = Color(hex: Pallete.Neutral95)

public static let backgroundNormal = Color(hex: Pallete.Common100)
public static let backgroundStrong = Color(hex: Pallete.Neutral99)
public static let backgroundAlternative = Color(hex: Pallete.Common100)

public static let backgroundElevatedNormal = Color(hex: Pallete.Neutral99)
public static let backgroundElevatedAlternative = Color(hex: Pallete.Common100)

public static let lineNormal = Color(hex: Pallete.Neutral99)
public static let lineNeutral = Color(hex: Pallete.Common0)
public static let lineAlternative = Color(hex: Pallete.Neutral80)

public static let statusPositive = Color(hex: Pallete.Green40)
public static let statusCautionary = Color(hex: Pallete.Yellow50)
public static let statusDestructive = Color(hex: Pallete.Red50)

public static let commonWhite = Color(hex: Pallete.Common100)
public static let commonBlack = Color(hex: Pallete.Common0)

public static let componentNormal = Color(hex: Pallete.Common100)
public static let componentStrong = Color(hex: Pallete.Neutral95)
public static let componentAlternative = Color(hex: Pallete.Neutral99)
public static let componentDimmer = Color(hex: Pallete.Neutral90)
}

0 comments on commit 1888215

Please sign in to comment.