Skip to content

Commit 21b26f3

Browse files
committed
wcag
1 parent eacd81e commit 21b26f3

File tree

4 files changed

+19
-10
lines changed

4 files changed

+19
-10
lines changed

data/Application.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ undershoot {
4949
transition: background 750ms cubic-bezier(0.4, 0, 0.2, 1);
5050
}
5151

52-
textview,
53-
textview text,
54-
headertitle {
52+
textview {
5553
background-image: none;
5654
font-weight: 500;
5755
font-size: 1.2em;

data/io.github.ellie_commons.jorts.metainfo.xml.in

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,16 @@
5656
<custom>
5757
<value key="x-appcenter-suggested-price">1</value>
5858
</custom>
59-
<releases>
59+
<releases>
60+
<release version="2.0.2" date="2025-02-25">
61+
<description>
62+
<p>2.0.1 Appcenter release</p>
63+
<ul>
64+
<li>Better readability (WCAG AA or AAA depending on theme)</li>
65+
<li>Also slightly better looking. Yes even more.</li>
66+
</ul>
67+
</description>
68+
</release>
6069
<release version="2.0.1" date="2025-02-25">
6170
<description>
6271
<p>2.0.1 Appcenter release</p>

po/Jorts translation sheet.xlsx

-16.7 KB
Binary file not shown.

src/Services/Themer.vala

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ namespace jorts.Themer {
111111
window.${accent_color} editablelabel.editing text {
112112
background-color: transparent;
113113
border-bottom-color: @${accent_color}_100;
114-
color: shade(@${accent_color}_900, 0.65);
114+
color: shade(@${accent_color}_900, 0.75);
115115
}
116116
117117
/* Fix the emoticon entry having note color background */
@@ -126,22 +126,24 @@ namespace jorts.Themer {
126126
127127
window.${accent_color} editablelabel:hover,
128128
window.${accent_color} editablelabel:focus {
129-
border: 1px solid alpha(mix(@${accent_color}_500, @${accent_color}_700, 0.3),0.7);
129+
border: 1px solid alpha(mix(@${accent_color}_500, @${accent_color}_700, 0.3),0.8);
130130
}
131131
132132
window.${accent_color} editablelabel.editing {
133-
border: 1px solid shade(mix(@${accent_color}_500, @${accent_color}_700, 0.3),0.65);
133+
border: 1px solid shade(mix(@${accent_color}_500, @${accent_color}_700, 0.3),0.7);
134134
box-shadow: inset 0 0 2px 2px mix(@${accent_color}_100, @${accent_color}_500, 0.3);
135135
}
136136
137-
window.${accent_color}:backdrop textview text,
138-
window.${accent_color}:backdrop titlebar,
137+
window.${accent_color}:backdrop editablelabel {
138+
color: alpha(@${accent_color}_900, 0.9);
139+
}
140+
139141
window.${accent_color}:backdrop editablelabel,
140142
window.${accent_color}:backdrop actionbar,
141143
window.${accent_color}:backdrop actionbar image,
142144
window.${accent_color}:backdrop windowcontrols,
143145
window.${accent_color}:backdrop windowcontrols image {
144-
color: shade(@${accent_color}_700, 0.65);
146+
color: alpha(@${accent_color}_900, 0.8);
145147
}
146148
147149
"""));

0 commit comments

Comments
 (0)