|
@@ -79,7 +79,9 @@ class NCViewerPDF: UIViewController, NCViewerPDFSearchDelegate {
|
|
|
|
|
|
pageView.translatesAutoresizingMaskIntoConstraints = false
|
|
pageView.translatesAutoresizingMaskIntoConstraints = false
|
|
pageView.layer.cornerRadius = 10
|
|
pageView.layer.cornerRadius = 10
|
|
- pageView.backgroundColor = UIColor.gray.withAlphaComponent(0.3)
|
|
|
|
|
|
+ pageView.backgroundColor = NCBrandColor.shared.systemBackground.withAlphaComponent(
|
|
|
|
+ UIAccessibility.isReduceTransparencyEnabled ? 1 : 0.5
|
|
|
|
+ )
|
|
|
|
|
|
view.addSubview(pageView)
|
|
view.addSubview(pageView)
|
|
|
|
|
|
@@ -91,7 +93,7 @@ class NCViewerPDF: UIViewController, NCViewerPDFSearchDelegate {
|
|
|
|
|
|
pageViewLabel.translatesAutoresizingMaskIntoConstraints = false
|
|
pageViewLabel.translatesAutoresizingMaskIntoConstraints = false
|
|
pageViewLabel.textAlignment = .center
|
|
pageViewLabel.textAlignment = .center
|
|
- pageViewLabel.textColor = .gray
|
|
|
|
|
|
+ pageViewLabel.textColor = NCBrandColor.shared.label
|
|
|
|
|
|
pageView.addSubview(pageViewLabel)
|
|
pageView.addSubview(pageViewLabel)
|
|
|
|
|