Skip to content

Commit d240fea

Browse files
committed
added amoled, catpuccin-frappe, everforest-light theme, save as to export
1 parent 1445cba commit d240fea

File tree

3 files changed

+68
-11
lines changed

3 files changed

+68
-11
lines changed

app/src/main/assets/index.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
--border-bottom: 2px solid var(--border);
5656
padding: 0.5rem 1rem;
5757
margin-bottom: 1rem;
58+
font-size:2.2em;
5859
}
5960

6061
.top-bar span {
@@ -71,7 +72,7 @@
7172
}
7273

7374
.inactive-tab {
74-
color: gray;
75+
color: #555444;
7576
}
7677

7778
/* Horizontal scrollable tab bar for note categories in Box 2 */
@@ -145,17 +146,17 @@
145146
<div>
146147
<!-- Box 1: Input and Stats -->
147148
<div class="box" x-cloak>
148-
<label>Box 1:Notes Input</label>
149+
<label>Box 1: Notes Input</label>
149150
<input type="text" placeholder="Type note or command" x-model="inputText" @keydown.enter="handleInput" />
150151
<div style="margin-top: 1rem">
151-
<span>Remaining: <span x-text="remainingCount"></span></span>
152-
<span style="margin-left: 1rem">Completed: <span x-text="completedCount"></span></span>
152+
<span style="margin-right: 1rem">️Remaining: <span x-text="remainingCount"></span></span>
153+
<span>Completed: <span x-text="completedCount"></span></span>
153154
</div>
154155
</div>
155156

156157
<!-- Box 2: Draggable Notes & Category Tabs -->
157158
<div class="box" x-cloak>
158-
<label>Box 2:Notes List</label>
159+
<label>Box 2: Notes List</label>
159160
<!-- Category tabs -->
160161
<div class="category-tabs">
161162
<template x-for="category in noteCategories" :key="category">
@@ -237,7 +238,7 @@ <h2>Recycle Bin</h2>
237238
float: right;
238239
cursor: pointer;
239240
margin-left: 1rem;
240-
" @click="restoreNote(index)">√r</span>
241+
" @click="restoreNote(index)">♻️</span>
241242
</li>
242243
</template>
243244
</ul>
@@ -247,10 +248,10 @@ <h2>Recycle Bin</h2>
247248
<label>Box 6: Import/Export</label>
248249
<div style="margin-bottom: 1rem">
249250
<button @click="exportNotes('json')">
250-
Save as JSON
251+
Export JSON
251252
</button>
252253
<button @click="exportNotes('txt')">
253-
Save as TXT
254+
Export TXT
254255
</button>
255256
</div>
256257
<div style="margin-bottom: 1rem">

app/src/main/assets/main.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ function app() {
33
// Screen management
44
activeTab: "Home",
55
tabs: ["Home", "Settings"],
6-
slideDirection: "left",
6+
slideDirection: "right",
77
slideClass: "",
88

99
// Note category management (persisted in local storage)
@@ -24,10 +24,13 @@ function app() {
2424
"monokai",
2525
"dracula",
2626
"nord",
27+
"amoled",
2728
"solarized",
2829
"catppuccin",
30+
"catpuccin-frappe",
2931
"tokyo-night",
30-
"everforest"
32+
"everforest",
33+
"everforest-light"
3134
],
3235

3336
fonts: [
@@ -89,7 +92,7 @@ function app() {
8992
fontSize: 18,
9093

9194
increaseFontSize() {
92-
this.fontSize = Math.min(this.fontSize + 2, 26);
95+
this.fontSize = Math.min(this.fontSize + 2, 20);
9396
document.body.style.fontSize = this.fontSize + "px";
9497
localStorage.setItem("fontSize", this.fontSize);
9598
},

app/src/main/assets/milligram.css

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,59 @@ body {
123123
--input-text: #d3c6aa;
124124
}
125125

126+
127+
128+
129+
130+
131+
[data-theme="amoled"] {
132+
--bg: #000000;
133+
--text: #ffffff;
134+
--border: #444444;
135+
--button: #888888;
136+
--button-hover: #333333;
137+
--input-bg: #111111;
138+
--input-border: #666666;
139+
--input-text: #ffffff;
140+
}
141+
142+
[data-theme="catpuccin-frappe"] {
143+
--bg: #303446;
144+
--text: #c6d0f5;
145+
--border: #414559;
146+
--button: #f2d5cf;
147+
--button-hover: #eebebe;
148+
--input-bg: #292c3c;
149+
--input-border: #626880;
150+
--input-text: #c6d0f5;
151+
}
152+
153+
[data-theme="everforest-light"] {
154+
--bg: #fdf6e3;
155+
--text: #5c6a72;
156+
--border: #d3c6aa;
157+
--button: #a7c080;
158+
--button-hover: #8da572;
159+
--input-bg: #e4e1cd;
160+
--input-border: #d3c6aa;
161+
--input-text: #5c6a72;
162+
}
163+
164+
165+
166+
167+
168+
169+
170+
171+
172+
173+
174+
175+
176+
177+
178+
126179
.box {
127180
width: 100%;
128181
--max-width: 400px;

0 commit comments

Comments
 (0)