Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #5102 from corona-warn-app/fix/14966-EOL-PostIt-Da…
Browse files Browse the repository at this point in the history
…rk-Mode-wrong-font-color

Fix/14966 EOL "PostIt" - Dark Mode - wrong font color
  • Loading branch information
30mar committed Mar 20, 2023
2 parents 3001ade + ef33a68 commit 2c692d3
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "0.650",
"blue" : "0x1A",
"green" : "0x19",
"red" : "0x17"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "0.850",
"blue" : "0x1A",
"green" : "0x19",
"red" : "0x17"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "contrast",
"value" : "high"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "0.850",
"blue" : "0x1A",
"green" : "0x19",
"red" : "0x17"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
},
{
"appearance" : "contrast",
"value" : "high"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0x1A",
"green" : "0x19",
"red" : "0x17"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" text="Subtitle" textAlignment="natural" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BDV-jb-o80" userLabel="Subtitle Label" customClass="ENALabel" customModule="ENA" customModuleProvider="target">
<rect key="frame" x="0.0" y="28.333333333333329" width="265" height="20.333333333333329"/>
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<color key="textColor" name="ENA Text Primary 2 Color Constrast Color"/>
<color key="textColor" name="ENA App Closure Text Subtitle Color"/>
<nil key="highlightedColor"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="string" keyPath="ibEnaStyle" value="body"/>
Expand Down Expand Up @@ -117,15 +117,15 @@
<namedColor name="ENA App Closure Notice Color">
<color red="1" green="0.96862745098039216" blue="0.79607843137254897" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="ENA App Closure Text Subtitle Color">
<color red="0.090196078431372548" green="0.098039215686274508" blue="0.10196078431372549" alpha="0.64999998569488526" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="ENA Chevron Dark Color">
<color red="0.23529411764705882" green="0.23529411764705882" blue="0.2627450980392157" alpha="0.30000001192092896" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="ENA Text Primary 1 Contrast Color">
<color red="0.090196078431372548" green="0.098039215686274508" blue="0.10196078431372549" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="ENA Text Primary 2 Color Constrast Color">
<color red="0.090196078431372548" green="0.098039215686274508" blue="0.10196078431372549" alpha="0.60000002384185791" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
Expand Down

0 comments on commit 2c692d3

Please sign in to comment.