Skip to content

Commit eacd81e

Browse files
committed
2 parents 61a9818 + 6f9fe7b commit eacd81e

File tree

11 files changed

+264
-216
lines changed

11 files changed

+264
-216
lines changed
File renamed without changes.

data/generate_stylesheets.sh

Lines changed: 0 additions & 129 deletions
This file was deleted.
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
#!/bin/bash
2+
# USAGE: This just loops through colours and template
3+
4+
######## INIT VARIABLES ########
5+
6+
themes=("BLUEBERRY" "MINT" "LIME" "BANANA" "ORANGE" "STRAWBERRY" "BUBBLEGUM" "GRAPE" "COCOA" "SLATE" "SILVER" "BLACK" "LATTE")
7+
8+
# | tr '[:upper:]' '[:lower:]'
9+
10+
######## SCRIPT ########
11+
12+
for accent_color in ${themes[*]};
13+
do
14+
15+
lessshouting="$(echo $accent_color | tr '[:upper:]' '[:lower:]')"
16+
echo $lessshouting
17+
stylesheet="${lessshouting}.css"
18+
19+
cat << EOF > $stylesheet
20+
21+
/*
22+
* Copyright (c) 2017-2024 Lains
23+
* Copyright (c) 2025 Stella (teamcons on GitHub) and the Ellie_Commons community
24+
*
25+
26+
/* Autogenerated theme for ${accent_color}
27+
Accent colors are defined in the elementary OS stylesheet and like @BLUEBERRY_900
28+
The higher the number the stronger the color.
29+
30+
Normal accent color for, for example BANANANA, is simply
31+
mix(@BANANA_500, @BANANA_700, 0.3);
32+
33+
we cannot simply replace the values of @accent_color_* because css errors and nothing happens
34+
Alas.
35+
*/
36+
37+
38+
window.${accent_color} {
39+
background-color: @${accent_color}_100;
40+
}
41+
42+
window.${accent_color} undershoot.top {
43+
background:
44+
linear-gradient(
45+
@${accent_color}_100 0%,
46+
alpha(@${accent_color}_100, 0) 50%
47+
);
48+
}
49+
50+
window.${accent_color} undershoot.bottom {
51+
background:
52+
linear-gradient(
53+
alpha(@${accent_color}_100, 0) 50%,
54+
@${accent_color}_100 100%
55+
);
56+
}
57+
58+
window.${accent_color} overshoot.top {
59+
background: linear-gradient(to top, alpha(@${accent_color}_900, 0) 80%, alpha(@${accent_color}_900, 0.25) 100%); }
60+
61+
window.${accent_color} overshoot.right {
62+
background: linear-gradient(to right, alpha(@${accent_color}_900, 0) 80%, alpha(@${accent_color}_900, 0.25) 100%); }
63+
64+
window.${accent_color} overshoot.bottom {
65+
background: linear-gradient(to bottom, alpha(@${accent_color}_900, 0) 80%, alpha(@${accent_color}_900, 0.25) 100%); }
66+
67+
window.${accent_color} overshoot.left {
68+
background: linear-gradient(to left, alpha(@${accent_color}_900, 0) 80%, alpha(@${accent_color}_900, 0.25) 100%); }
69+
70+
window.${accent_color} textview text selection,
71+
window.${accent_color} editablelabel text selection {
72+
color: shade(@${accent_color}_100, 1.88);
73+
background-color: @${accent_color}_900;
74+
}
75+
76+
window.${accent_color} titlebar,
77+
window.${accent_color} titlebar image,
78+
window.${accent_color} actionbar,
79+
window.${accent_color} actionbar image,
80+
window.${accent_color} windowcontrols,
81+
window.${accent_color} windowcontrols image,
82+
window.${accent_color} {
83+
color: @${accent_color}_900;
84+
}
85+
86+
window.${accent_color} titlebar,
87+
window.${accent_color} textview,
88+
window.${accent_color} textview text,
89+
window.${accent_color} editablelabel.editing text {
90+
background-color: transparent;
91+
border-bottom-color: @${accent_color}_100;
92+
color: shade(@${accent_color}_900, 0.77);
93+
}
94+
95+
/* Fix the emoticon entry having note color background */
96+
window.${accent_color} entry {
97+
background-color: white;
98+
color: black;
99+
}
100+
101+
window.${accent_color} editablelabel {
102+
color: @${accent_color}_900;
103+
}
104+
105+
window.${accent_color} editablelabel:hover,
106+
window.${accent_color} editablelabel:focus {
107+
border: 1px solid alpha(mix(@${accent_color}_500, @${accent_color}_700, 0.3),0.7);
108+
}
109+
110+
window.${accent_color} editablelabel.editing {
111+
border: 1px solid mix(@${accent_color}_500, @${accent_color}_700, 0.3);
112+
box-shadow: inset 0 0 2px 2px mix(@${accent_color}_100, @${accent_color}_500, 0.3);
113+
}
114+
115+
window.${accent_color}:backdrop textview text,
116+
window.${accent_color}:backdrop titlebar,
117+
window.${accent_color}:backdrop editablelabel,
118+
window.${accent_color}:backdrop actionbar,
119+
window.${accent_color}:backdrop actionbar image,
120+
window.${accent_color}:backdrop windowcontrols,
121+
window.${accent_color}:backdrop windowcontrols image {
122+
color: shade(@${accent_color}_500, 0.77);
123+
}
124+
125+
EOF
126+
127+
done

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Name our project
22
project('io.github.ellie_commons.jorts', ['vala', 'c'],
3-
version: '2.0.0'
3+
version: '2.0.1'
44
)
55

66
gnome = import('gnome')

po/de.po

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -273,44 +273,44 @@ msgstr ""
273273

274274
#: data/io.github.ellie_commons.jorts.metainfo.xml.in:36
275275
msgid "Cute"
276-
msgstr ""
276+
msgstr "Niedlich"
277277

278278
#: data/io.github.ellie_commons.jorts.metainfo.xml.in:37
279279
msgid "Desktop"
280-
msgstr ""
280+
msgstr "Schreibtisch"
281281

282282
#: data/io.github.ellie_commons.jorts.metainfo.xml.in:38
283283
msgid "Reminder"
284-
msgstr ""
284+
msgstr "Erinnerung"
285285

286286
#: data/io.github.ellie_commons.jorts.metainfo.xml.in:46
287287
msgid "A sticky note with the \"Blueberry\" theme"
288-
msgstr ""
288+
msgstr "Eine Haftnotiz mit dem Blaubeer-Thema"
289289

290290
#: data/io.github.ellie_commons.jorts.metainfo.xml.in:62
291291
msgid "2.0.1 Appcenter release"
292-
msgstr ""
292+
msgstr "2.0.1 Appcenter-Veröffentlichung"
293293

294294
#: data/io.github.ellie_commons.jorts.metainfo.xml.in:67
295295
#, fuzzy
296296
msgid "2.0.0 Release: Slate And Bubblegum"
297-
msgstr "Version: Schiefer und Bubblegum"
297+
msgstr "2.0.0-Version: Schiefer und Bubblegum"
298298

299299
#: data/io.github.ellie_commons.jorts.metainfo.xml.in:69
300300
msgid "Revival of an ancient but well loved version of Notejot"
301-
msgstr ""
301+
msgstr "Wiederbelebung einer alten, aber beliebten Version von Notejot"
302302

303303
#: data/io.github.ellie_commons.jorts.metainfo.xml.in:70
304304
msgid "The app is now named Jorts. You however cannot wear it"
305305
msgstr "Die App heißt jetzt Jorts. Man kann sie aber nicht tragen"
306306

307307
#: data/io.github.ellie_commons.jorts.metainfo.xml.in:71
308308
msgid "10 lovely little colours"
309-
msgstr ""
309+
msgstr "10 liebliche kleine Farben"
310310

311311
#: data/io.github.ellie_commons.jorts.metainfo.xml.in:72
312312
msgid "Built atop of modern Linux technologies and packaging formats"
313-
msgstr ""
313+
msgstr "Erstellt auf Basis moderner Linux-Technologien und Paketformate"
314314

315315
#: data/io.github.ellie_commons.jorts.metainfo.xml.in:73
316316
msgid "Smooth transition when changing theme"
@@ -323,15 +323,15 @@ msgstr "Neue Haftnotizen haben einen zufälligen, lustigen kleinen Titel"
323323

324324
#: data/io.github.ellie_commons.jorts.metainfo.xml.in:75
325325
msgid "A few initial translations included, and more to come"
326-
msgstr ""
326+
msgstr "Ein paar erste Übersetzungen sind enthalten, und weitere sind geplant."
327327

328328
#: data/io.github.ellie_commons.jorts.metainfo.xml.in:76
329329
msgid "Email and links are clickable! Ctrl+Click to open in mail or browser"
330-
msgstr ""
330+
msgstr "E-Mail und Links sind anklickbar! Strg+Klick, um in E-Mail oder Browser zu öffnen"
331331

332332
#: data/io.github.ellie_commons.jorts.metainfo.xml.in:77
333333
msgid "Text supports undo, redo, and you can use emojis :)"
334-
msgstr ""
334+
msgstr "Text unterstützt Rückgängig und Wiederherstellen und Sie können Emojis verwenden :)"
335335

336336
#~ msgid ""
337337
#~ "Neither jeans nor shorts, just like jorts. A sticky notes app for "

0 commit comments

Comments
 (0)