Skip to content

Commit 15cb69d

Browse files
authored
update colors and section row align (#1803)
1 parent a61b3cd commit 15cb69d

File tree

6 files changed

+46
-44
lines changed

6 files changed

+46
-44
lines changed

core/Utils/Util.vala

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -38,26 +38,27 @@ public class Util : GLib.Object {
3838
if (colors == null) {
3939
colors = new Gee.HashMap<string, Objects.Color> ();
4040

41-
colors.set ("berry_red", new Objects.Color (30, _("Berry Red"), "#b8256f"));
42-
colors.set ("red", new Objects.Color (31, _("Red"), "#db4035"));
43-
colors.set ("orange", new Objects.Color (32, _("Orange"), "#ff9933"));
44-
colors.set ("yellow", new Objects.Color (33, _("Olive Green"), "#fad000"));
45-
colors.set ("olive_green", new Objects.Color (34, _("Yellow"), "#afb83b"));
46-
colors.set ("lime_green", new Objects.Color (35, _("Lime Green"), "#7ecc49"));
47-
colors.set ("green", new Objects.Color (36, _("Green"), "#299438"));
48-
colors.set ("mint_green", new Objects.Color (37, _("Mint Green"), "#6accbc"));
49-
colors.set ("teal", new Objects.Color (38, _("Teal"), "#158fad"));
50-
colors.set ("sky_blue", new Objects.Color (39, _("Sky Blue"), "#14aaf5"));
51-
colors.set ("light_blue", new Objects.Color (40, _("Light Blue"), "#96c3eb"));
52-
colors.set ("blue", new Objects.Color (41, _("Blue"), "#4073ff"));
53-
colors.set ("grape", new Objects.Color (42, _("Grape"), "#884dff"));
54-
colors.set ("violet", new Objects.Color (43, _("Violet"), "#af38eb"));
55-
colors.set ("lavender", new Objects.Color (44, _("Lavender"), "#eb96eb"));
56-
colors.set ("magenta", new Objects.Color (45, _("Magenta"), "#e05194"));
57-
colors.set ("salmon", new Objects.Color (46, _("Salmon"), "#ff8d85"));
58-
colors.set ("charcoal", new Objects.Color (47, _("Charcoal"), "#808080"));
59-
colors.set ("grey", new Objects.Color (48, _("Grey"), "#b8b8b8"));
60-
colors.set ("taupe", new Objects.Color (49, _("Taupe"), "#ccac93"));
41+
colors.set ("berry_red", new Objects.Color (30, _("Berry Red"), "#c42d78"));
42+
colors.set ("red", new Objects.Color (31, _("Red"), "#e23d3d"));
43+
colors.set ("orange", new Objects.Color (32, _("Orange"), "#ff8a2a"));
44+
colors.set ("yellow", new Objects.Color (33, _("Yellow"), "#f5c400"));
45+
colors.set ("olive_green", new Objects.Color (34, _("Olive Green"), "#9cab3a"));
46+
colors.set ("lime_green", new Objects.Color (35, _("Lime Green"), "#70c741"));
47+
colors.set ("green", new Objects.Color (36, _("Green"), "#27983a"));
48+
colors.set ("mint_green", new Objects.Color (37, _("Mint Green"), "#55cbb0"));
49+
colors.set ("teal", new Objects.Color (38, _("Teal"), "#1492b2"));
50+
colors.set ("sky_blue", new Objects.Color (39, _("Sky Blue"), "#139ef7"));
51+
colors.set ("light_blue", new Objects.Color (40, _("Light Blue"), "#7fb9e8"));
52+
colors.set ("blue", new Objects.Color (41, _("Blue"), "#3c6dff"));
53+
colors.set ("grape", new Objects.Color (42, _("Grape"), "#7b44e6"));
54+
colors.set ("violet", new Objects.Color (43, _("Violet"), "#a02adb"));
55+
colors.set ("lavender", new Objects.Color (44, _("Lavender"), "#d89ae8"));
56+
colors.set ("magenta", new Objects.Color (45, _("Magenta"), "#d6458d"));
57+
colors.set ("salmon", new Objects.Color (46, _("Salmon"), "#f77c70"));
58+
colors.set ("charcoal", new Objects.Color (47, _("Charcoal"), "#666666"));
59+
colors.set ("grey", new Objects.Color (48, _("Grey"), "#a0a0a0"));
60+
colors.set ("taupe", new Objects.Color (49, _("Taupe"), "#b99780"));
61+
6162
}
6263

6364
return colors;

data/io.github.alainm23.planify.appdata.xml.in.in

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -62,24 +62,24 @@
6262
<launchable type="desktop-id">@[email protected]</launchable>
6363
<releases>
6464
<release version="4.14.0" date="2025-09-19">
65-
<description translate="no">
66-
<ul>
67-
<li>Rewritten CalDAV backend with support for Radicale, Baïkal, and other CalDAV servers — thanks to @byquanton.</li>
68-
<li>Fixed memory leaks when completing or deleting tasks, and during CalDAV sync — thanks to @markochk.</li>
69-
<li>Introduced a new view cache system to automatically free unused memory.</li>
70-
<li>Added new customizable sidebar filters: Tomorrow, Someday, Recurring, No label, and All tasks.</li>
71-
<li>Improved synchronization: Planify now respects task order from Nextcloud and Todoist, with a new reordering algorithm.</li>
72-
<li>Work in progress to make WebKit and Evolution dependencies optional, paving the way for Windows and macOS support — thanks to @byquanton.</li>
73-
<li>Spell checker support in task descriptions.</li>
74-
<li>Fixed bug when moving tasks with subtasks in Nextcloud/CalDAV projects.</li>
75-
<li>Updated themes (Light, Dark, Dark Blue) and refined task design for better readability.</li>
76-
<li>Labels and indicators for notes, reminders, and subtasks are now aligned to the right of task titles.</li>
77-
<li>Added a quick-add button to every task list.</li>
78-
<li>New completion animation and updated sound when finishing tasks.</li>
79-
<li>Completion notification added, so users can easily review completed tasks.</li>
80-
</ul>
81-
</description>
82-
</release>
65+
<description translate="no">
66+
<ul>
67+
<li>Rewritten CalDAV backend with support for Radicale, Baïkal, and other CalDAV servers — thanks to @byquanton.</li>
68+
<li>Fixed memory leaks when completing or deleting tasks, and during CalDAV sync — thanks to @markochk.</li>
69+
<li>Introduced a new view cache system to automatically free unused memory.</li>
70+
<li>Added new customizable sidebar filters: Tomorrow, Someday, Recurring, No label, and All tasks.</li>
71+
<li>Improved synchronization: Planify now respects task order from Nextcloud and Todoist, with a new reordering algorithm.</li>
72+
<li>Work in progress to make WebKit and Evolution dependencies optional, paving the way for Windows and macOS support — thanks to @byquanton.</li>
73+
<li>Spell checker support in task descriptions.</li>
74+
<li>Fixed bug when moving tasks with subtasks in Nextcloud/CalDAV projects.</li>
75+
<li>Updated themes (Light, Dark, Dark Blue) and refined task design for better readability.</li>
76+
<li>Labels and indicators for notes, reminders, and subtasks are now aligned to the right of task titles.</li>
77+
<li>Added a quick-add button to every task list.</li>
78+
<li>New completion animation and updated sound when finishing tasks.</li>
79+
<li>Completion notification added, so users can easily review completed tasks.</li>
80+
</ul>
81+
</description>
82+
</release>
8383

8484
<release version="4.13.4" date="2025-08-27">
8585
<description translate="no">

src/Dialogs/Preferences/Pages/Accounts/CalDAVSetup.vala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ public class Dialogs.Preferences.Pages.CalDAVSetup : Dialogs.Preferences.Pages.B
197197
}
198198

199199
var calendar_home = "";
200-
201200
if (calendar_home_entry.text != null && calendar_home_entry.text != "") {
202201
calendar_home = calendar_home_entry.text;
203202
} else {

src/Layouts/ItemRow.vala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ public class Layouts.ItemRow : Layouts.ItemBase {
285285

286286
content_label = new Gtk.Label (null) {
287287
xalign = 0,
288+
yalign = 0.8f,
288289
wrap = false,
289290
ellipsize = END,
290291
use_markup = true

src/Layouts/SectionRow.vala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ public class Layouts.SectionRow : Gtk.ListBoxRow {
159159
};
160160

161161
handle_grid = new Adw.Bin () {
162-
margin_top = is_inbox_section ? 12 : 0,
163162
css_classes = { "transition", "drop-target" },
164163
child = sectionrow_revealer
165164
};
@@ -169,7 +168,7 @@ public class Layouts.SectionRow : Gtk.ListBoxRow {
169168
height_request = 30,
170169
margin_start = 24,
171170
margin_end = 24,
172-
margin_top = 6,
171+
margin_top = 3,
173172
margin_bottom = 6
174173
};
175174

src/Views/Project/List.vala

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ public class Views.List : Adw.Bin {
107107
selection_mode = Gtk.SelectionMode.NONE,
108108
hexpand = true,
109109
vexpand = true,
110-
css_classes = { "listbox-background" }
110+
css_classes = { "listbox-background" },
111+
margin_top = 12
111112
};
112113

113114
var listbox_placeholder = new Adw.StatusPage () {
@@ -346,9 +347,10 @@ public class Views.List : Adw.Bin {
346347

347348
days_left_label = new Gtk.Label (null) {
348349
xalign = 0,
349-
css_classes = { "dimmed", "caption" }
350+
yalign = 0.5f
350351
};
351-
days_left_label.yalign = float.parse ("0.7");
352+
days_left_label.add_css_class ("dimmed");
353+
days_left_label.add_css_class ("caption");
352354

353355
var due_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 6) {
354356
margin_start = 3

0 commit comments

Comments
 (0)