Correct colors for dark mode
This commit is contained in:
parent
0ac9abdd52
commit
975d17e32d
|
@ -44,7 +44,7 @@
|
||||||
</wkWebViewConfiguration>
|
</wkWebViewConfiguration>
|
||||||
</wkWebView>
|
</wkWebView>
|
||||||
</subviews>
|
</subviews>
|
||||||
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
<color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstItem="t8d-md-Yhc" firstAttribute="top" secondItem="VUw-jc-0yf" secondAttribute="top" id="0aK-ew-1HG"/>
|
<constraint firstItem="t8d-md-Yhc" firstAttribute="top" secondItem="VUw-jc-0yf" secondAttribute="top" id="0aK-ew-1HG"/>
|
||||||
<constraint firstItem="VUw-jc-0yf" firstAttribute="trailing" secondItem="t8d-md-Yhc" secondAttribute="trailing" id="31v-r8-kzh"/>
|
<constraint firstItem="VUw-jc-0yf" firstAttribute="trailing" secondItem="t8d-md-Yhc" secondAttribute="trailing" id="31v-r8-kzh"/>
|
||||||
|
@ -146,7 +146,7 @@
|
||||||
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" id="mtv-Ik-FoJ">
|
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" id="mtv-Ik-FoJ">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
|
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
<color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
|
||||||
<prototypes>
|
<prototypes>
|
||||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="Cell" rowHeight="208" id="T5d-L4-OKG" customClass="MasterTimelineTableViewCell" customModule="NetNewsWire" customModuleProvider="target">
|
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="Cell" rowHeight="208" id="T5d-L4-OKG" customClass="MasterTimelineTableViewCell" customModule="NetNewsWire" customModuleProvider="target">
|
||||||
<rect key="frame" x="0.0" y="28" width="414" height="208"/>
|
<rect key="frame" x="0.0" y="28" width="414" height="208"/>
|
||||||
|
|
|
@ -33,9 +33,7 @@ a:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--body-color: #444;
|
color-scheme: light dark;
|
||||||
--body-background-color: -apple-system-text-background;
|
|
||||||
--link-color: hsla(215, 99%, 43%, 1);
|
|
||||||
--header-table-border-color: rgba(0, 0, 0, 0.1);
|
--header-table-border-color: rgba(0, 0, 0, 0.1);
|
||||||
--header-color: rgba(0, 0, 0, 0.3);
|
--header-color: rgba(0, 0, 0, 0.3);
|
||||||
--header-link-color: rgba(0, 0, 0, 0.3);
|
--header-link-color: rgba(0, 0, 0, 0.3);
|
||||||
|
@ -46,9 +44,6 @@ a:hover {
|
||||||
|
|
||||||
@media(prefers-color-scheme: dark) {
|
@media(prefers-color-scheme: dark) {
|
||||||
:root {
|
:root {
|
||||||
--body-color: #d2d2d2;
|
|
||||||
--body-background-color: #2d2d2d;
|
|
||||||
--link-color: #4490e2;
|
|
||||||
--header-table-border-color: rgba(255, 255, 255, 0.1);
|
--header-table-border-color: rgba(255, 255, 255, 0.1);
|
||||||
--header-color: #d2d2d2;
|
--header-color: #d2d2d2;
|
||||||
--header-link-color: #4490e2;
|
--header-link-color: #4490e2;
|
||||||
|
|
Loading…
Reference in New Issue