From f5855f032d83bd68eb685da55ba34b74d3979643 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Wed, 8 Jul 2020 22:43:16 -0500 Subject: [PATCH] Revert to a less obnoxious status bar color --- .../Contents.json | 18 ++++++++++++++++++ .../macOS/Article/WebStatusBarView.swift | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/Multiplatform/Shared/Assets.xcassets/WebStatusBarBackground.colorset/Contents.json b/Multiplatform/Shared/Assets.xcassets/WebStatusBarBackground.colorset/Contents.json index 9928937fb..c947def89 100644 --- a/Multiplatform/Shared/Assets.xcassets/WebStatusBarBackground.colorset/Contents.json +++ b/Multiplatform/Shared/Assets.xcassets/WebStatusBarBackground.colorset/Contents.json @@ -11,6 +11,24 @@ } }, "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.196", + "green" : "0.196", + "red" : "0.196" + } + }, + "idiom" : "universal" } ], "info" : { diff --git a/Multiplatform/macOS/Article/WebStatusBarView.swift b/Multiplatform/macOS/Article/WebStatusBarView.swift index 49218be6c..3b14f0484 100644 --- a/Multiplatform/macOS/Article/WebStatusBarView.swift +++ b/Multiplatform/macOS/Article/WebStatusBarView.swift @@ -66,7 +66,7 @@ final class WebStatusBarView: NSView { didConfigureLayerRadius = true } - layer.backgroundColor = NSColor.selectedTextBackgroundColor.cgColor + layer.backgroundColor = AppAssets.webStatusBarBackground.cgColor } }