Skip to content

Commit

Permalink
Remove color provider (#1370)
Browse files Browse the repository at this point in the history
* Remove color provider

* Tests compile

* Revert back some colors that are needed for mapping

* Update Package.resolved

* Update Package.resolved

* Update colors

* Update screenshots

* Revert some of "Update screenshots"

This reverts commit fd25eda.

* Fix tests

---------

Co-authored-by: Milad Ajilianabbasi <[email protected]>
  • Loading branch information
mohsen-schibsted and milad-schibsted authored Aug 19, 2024
1 parent 872c4e7 commit 7982cc4
Show file tree
Hide file tree
Showing 52 changed files with 12 additions and 4,048 deletions.
80 changes: 0 additions & 80 deletions Demo/Demo.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions Demo/SnapshotTests/ComponentViewTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,6 @@ class ComponentViewTests: XCTestCase {
snapshot(.happinessRating)
}

func testEarthHourView() {
snapshot(.earthHourView)
}

func testNativeAdvert() {
snapshot(.nativeAdvert)
}
Expand All @@ -140,10 +136,6 @@ class ComponentViewTests: XCTestCase {
snapshot(.questionnaireView)
}

func testKlimabroletView() {
snapshot(.klimabroletView)
}

func testStepSlider() {
snapshot(.stepSlider)
}
Expand Down
4 changes: 0 additions & 4 deletions Demo/SnapshotTests/DnaViewTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ class DnaViewTests: XCTestCase {

// MARK: - Tests

func testDnaViewsColor() {
snapshot(.color)
}

func testDnaViewsFont() {
snapshot(.font)
}
Expand Down
4 changes: 0 additions & 4 deletions Demo/SnapshotTests/FullscreenViewTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ class FullscreenViewTests: XCTestCase {
snapshot(.registerView)
}

func testDrumMachineView() {
snapshot(.drumMachineView)
}

func testLoadingView() {
snapshot(.loadingView)
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 0 additions & 16 deletions Demo/Sources/Components/EarthHour/EarthHourDefaultData.swift

This file was deleted.

64 changes: 0 additions & 64 deletions Demo/Sources/Components/EarthHour/EarthHourDemoView.swift

This file was deleted.

41 changes: 0 additions & 41 deletions Demo/Sources/Components/Klimabrolet/KlimabroletData.swift

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 7982cc4

Please sign in to comment.