Skip to content

Commit

Permalink
Update design tokens. (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave committed Mar 1, 2024
1 parent 98bd0ed commit 19c778b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/element-hq/compound-design-tokens.git",
"state" : {
"revision" : "d7c3bba963d6b7ffab862c3293eb242a8932a0c1",
"version" : "1.0.0"
"revision" : "c3fff1f2b042295cd5f4bcf8d4fe68ec47ca4061",
"version" : "1.2.0"
}
},
{
Expand Down
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/element-hq/compound-design-tokens.git",
"state" : {
"revision" : "d7c3bba963d6b7ffab862c3293eb242a8932a0c1",
"version" : "1.0.0"
"revision" : "c3fff1f2b042295cd5f4bcf8d4fe68ec47ca4061",
"version" : "1.2.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let package = Package(
.library(name: "Compound", targets: ["Compound"])
],
dependencies: [
.package(url: "https://github.com/element-hq/compound-design-tokens.git", exact: "1.0.0"),
.package(url: "https://github.com/element-hq/compound-design-tokens.git", exact: "1.2.0"),
.package(url: "https://github.com/siteline/SwiftUI-Introspect.git", from: "0.9.0"),
.package(url: "https://github.com/SFSafeSymbols/SFSafeSymbols.git", from: "4.1.1"),
.package(url: "https://github.com/BarredEwe/Prefire", from: "1.5.0"),
Expand Down
3 changes: 3 additions & 0 deletions Sources/Compound/Colors/CompoundColors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ public struct CompoundColors {
public let borderFocused = compound.colorBorderFocused
public let borderDisabled = compound.colorBorderDisabled
// public let bgSubtleSecondaryLevel0 = compound.colorBgSubtleSecondaryLevel0
public let bgAccentPressed = compound.colorBgAccentPressed
public let bgAccentHovered = compound.colorBgAccentHovered
public let bgAccentRest = compound.colorBgAccentRest
public let bgInfoSubtle = compound.colorBgInfoSubtle
public let bgSuccessSubtle = compound.colorBgSuccessSubtle
public let bgCriticalSubtleHovered = compound.colorBgCriticalSubtleHovered
Expand Down
3 changes: 3 additions & 0 deletions Sources/Compound/Colors/CompoundUIColors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ public struct CompoundUIColors {
public let borderFocused = compound.colorBorderFocused
public let borderDisabled = compound.colorBorderDisabled
// public let bgSubtleSecondaryLevel0 = compound.colorBgSubtleSecondaryLevel0
public let bgAccentPressed = compound.colorBgAccentPressed
public let bgAccentHovered = compound.colorBgAccentHovered
public let bgAccentRest = compound.colorBgAccentRest
public let bgInfoSubtle = compound.colorBgInfoSubtle
public let bgSuccessSubtle = compound.colorBgSuccessSubtle
public let bgCriticalSubtleHovered = compound.colorBgCriticalSubtleHovered
Expand Down

0 comments on commit 19c778b

Please sign in to comment.