Skip to content

Commit

Permalink
feat(skin): IOS-9684 update design tokens from mistica-design branch:…
Browse files Browse the repository at this point in the history
… production (#331)

* feat(skin): update design tokens

* Record screenshots automatically launched from GH action

* fix typo

* Fix color in Stepper

* Record screenshots automatically launched from GH action

---------

Co-authored-by: amegias <[email protected]>
Co-authored-by: Alejandro Megías <[email protected]>
  • Loading branch information
3 people authored Jan 25, 2024
1 parent a844e6a commit 7ba2e09
Show file tree
Hide file tree
Showing 85 changed files with 594 additions and 304 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Build and Test
run: make test

- name: Extract Sceenshot diff from failed Tests
- name: Extract Screenshot diff from failed Tests
if: always()
run: make extract_tests_attachments

Expand Down
2 changes: 1 addition & 1 deletion Sources/Mistica/Components/Stepper/SegmentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ extension SegmentView {
private extension SegmentView {
func commonInit() {
backgroundColor = .clear
backgroundView.backgroundColor = .control
backgroundView.backgroundColor = .barTrack
trackView.backgroundColor = .controlActivated

addSubview(backgroundView, constraints: [
Expand Down
6 changes: 6 additions & 0 deletions Sources/MisticaCommon/Colors/BlauColorPalette.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ struct BlauColors: MisticaColors {
let buttonDangerBackground = BlauColors.palette.blauRed
let buttonDangerBackgroundSelected = BlauColors.palette.blauRed70
let buttonDangerBackgroundHover = BlauColors.palette.blauRed70
let buttonLinkDangerBackgroundSelected = BlauColors.palette.blauRed10 | BlauColors.palette.blauPurple.withAlphaComponent(0.3)
let buttonLinkDangerBackgroundInverse = BlauColors.palette.white | BlauColors.palette.white.withAlphaComponent(0.01)
let buttonLinkDangerBackgroundInverseSelected = BlauColors.palette.blauRed10 | BlauColors.palette.blauPurple.withAlphaComponent(0.3)
let buttonLinkBackgroundSelected = BlauColors.palette.blauPurple10 | BlauColors.palette.blauPurple.withAlphaComponent(0.3)
let buttonLinkBackgroundInverseSelected = BlauColors.palette.white.withAlphaComponent(0.15) | BlauColors.palette.blauPurple.withAlphaComponent(0.3)
let buttonPrimaryBackground = BlauColors.palette.blauBlueSecondary
Expand Down Expand Up @@ -67,7 +70,10 @@ struct BlauColors: MisticaColors {
let textLinkSnackbar = BlauColors.palette.blauPurple30
let control = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey6
let controlActivated = BlauColors.palette.blauBlueSecondary
let controlInverse = BlauColors.palette.white | BlauColors.palette.darkModeGrey6
let controlActivatedInverse = BlauColors.palette.white | BlauColors.palette.blauBlueSecondary
let controlError = BlauColors.palette.blauRed
let barTrack = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey6
let loadingBar = BlauColors.palette.blauBlueSecondary | BlauColors.palette.blauBluePrimary
let loadingBarBackground = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.darkModeGrey
let toggleAndroidInactive = BlauColors.palette.grey2 | BlauColors.palette.grey5
Expand Down
Loading

0 comments on commit 7ba2e09

Please sign in to comment.