Skip to content

Commit f66aadf

Browse files
authored
Release/0.5.3 (#2)
• Fixed numerous bugs • Added more emojis for the weather widget • Redesigned sticky notes • Update greetings list • Update screenshots
1 parent aa6bdb4 commit f66aadf

14 files changed

+241
-219
lines changed
-1.43 MB
Loading

Screenshots/Main_page.png

-20 KB
Loading
567 KB
Loading
900 KB
Loading

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ <h3>Greeting widget</h3>
292292
<input type="text" id="greeting-username" placeholder="Enter your name">
293293
</div>
294294

295-
<button id="reset-greeting-widget" class="reset-button">Reset Time & Date Settings</button>
295+
<button id="reset-greeting-widget" class="reset-button">Reset Greeting Widget Settings</button>
296296

297297
<div class="section-toggle-controls">
298298
<label>
@@ -341,7 +341,7 @@ <h3>Daily Quote widget</h3>
341341
<input type="number" id="quote-size" min="10" max="48" value="18"> px
342342
</div>
343343

344-
<button id="reset-quote-widget" class="reset-button">Reset Time & Date Settings</button>
344+
<button id="reset-quote-widget" class="reset-button">Reset Daily Quote Widget Settings</button>
345345

346346
<div class="section-toggle-controls">
347347
<label>

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 2,
33
"name": "New Tab Extension",
44
"description": "An extension for about:newtab that brings life to the new tab.",
5-
"version": "0.5.2",
5+
"version": "0.5.3",
66
"homepage_url": "https://github.com/OldValencia/NewTab",
77

88
"chrome_url_overrides": {

scripts/effects/star-generator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ window.addEventListener('resize', throttle(() => {
8585
disableStarfield();
8686
enableStarfield();
8787
}
88-
}, 500));
88+
}, 1500));

scripts/greeting.js

Lines changed: 54 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -1,102 +1,58 @@
11
const greetings = [
2-
"Hello, {name}! Ready to conquer the day?",
3-
"Good vibes only, {name}!",
4-
"Rise and shine, {name}!",
5-
"Keep going, {name} — you're doing great!",
6-
"Hey {name}, make today count!",
7-
"Smile, {name}! It suits you.",
8-
"You got this, {name}!",
9-
"Another chance to shine, {name}!",
10-
"Let’s make magic today, {name}!",
11-
"Stay curious, {name}.",
12-
"Adventure awaits, {name}!",
13-
"Breathe in confidence, {name}.",
14-
"Make it epic, {name}!",
15-
"You're unstoppable, {name}!",
16-
"Let your light shine, {name}.",
17-
"Time to thrive, {name}!",
18-
"Dream big, {name}!",
19-
"Hello world — and hello {name}!",
20-
"Be bold today, {name}.",
21-
"You’re the main character, {name}!",
22-
"Today is yours, {name}.",
23-
"Shine brighter, {name}.",
24-
"Let’s do this, {name}!",
25-
"You’re a legend, {name}.",
26-
"The world needs your spark, {name}.",
27-
"You’re pure brilliance, {name}.",
28-
"Lead with kindness, {name}.",
29-
"You’re a masterpiece, {name}.",
30-
"You’re the vibe, {name}.",
31-
"Let your energy flow, {name}.",
32-
"You’re the reason someone smiles, {name}.",
33-
"You’re magic, {name}.",
34-
"You’re the sunshine, {name}.",
35-
"You’re the moment, {name}.",
36-
"You’re the spark, {name}.",
37-
"You’re the dreamer, {name}.",
38-
"You’re the doer, {name}.",
39-
"You’re the light, {name}.",
40-
"You’re the fire, {name}.",
41-
"You’re the calm, {name}.",
42-
"You’re the storm, {name}.",
43-
"You’re the balance, {name}.",
44-
"You’re the joy, {name}.",
45-
"You’re the peace, {name}.",
46-
"You’re the strength, {name}.",
47-
"You’re the wisdom, {name}.",
48-
"You’re the voice, {name}.",
49-
"You’re the rhythm, {name}.",
50-
"You’re the melody, {name}.",
51-
"You’re the harmony, {name}.",
52-
"You’re the beat, {name}.",
53-
"You’re the pulse, {name}.",
54-
"You’re the soul, {name}.",
55-
"You’re the heart, {name}.",
56-
"You’re the mind, {name}.",
57-
"You’re the spirit, {name}.",
58-
"You’re the essence, {name}.",
59-
"You’re the truth, {name}.",
60-
"You’re the vision, {name}.",
61-
"You’re the dream, {name}.",
62-
"You’re the reality, {name}.",
63-
"You’re the hope, {name}.",
64-
"You’re the future, {name}.",
65-
"You’re the now, {name}.",
66-
"You’re the change, {name}.",
67-
"You’re the growth, {name}.",
68-
"You’re the evolution, {name}.",
69-
"You’re the revolution, {name}.",
70-
"You’re the inspiration, {name}.",
71-
"You’re the motivation, {name}.",
72-
"You’re the celebration, {name}.",
73-
"You’re the transformation, {name}.",
74-
"You’re the elevation, {name}.",
75-
"You’re the illumination, {name}.",
76-
"You’re the innovation, {name}.",
77-
"You’re the creation, {name}.",
78-
"You’re the foundation, {name}.",
79-
"You’re the destination, {name}.",
80-
"You’re the journey, {name}.",
81-
"You’re the path, {name}.",
82-
"You’re the guide, {name}.",
83-
"You’re the leader, {name}.",
84-
"You’re the pioneer, {name}.",
85-
"You’re the explorer, {name}.",
86-
"You’re the adventurer, {name}.",
87-
"You’re the builder, {name}.",
88-
"You’re the architect, {name}.",
89-
"You’re the artist, {name}.",
90-
"You’re the poet, {name}.",
91-
"You’re the storyteller, {name}.",
92-
"You’re the thinker, {name}.",
93-
"You’re the creator, {name}.",
94-
"You’re the believer, {name}.",
95-
"You’re the achiever, {name}.",
96-
"You’re the winner, {name}.",
97-
"You’re the champion, {name}.",
98-
"You’re the hero, {name}.",
99-
"You’re the legend, {name}."
2+
"Hey {name}, the world’s got plans for you today.",
3+
"Good morning, {name}! Let's stir some magic.",
4+
"Rise and sparkle — the day awaits you, {name}.",
5+
"Nothing can dim your glow today, {name}.",
6+
"What’s stopping you, {name}? Go get it.",
7+
"Look at you, {name} — a walking spark of brilliance.",
8+
"Make today unforgettable, {name}.",
9+
"This moment? It’s yours, {name}.",
10+
"The sky called — it’s not your limit, {name}.",
11+
"Kindness looks powerful on you, {name}.",
12+
"Let your courage do the talking, {name}.",
13+
"Big dreams? You wear them well, {name}.",
14+
"Ready to move mountains, {name}?",
15+
"Today’s stage belongs to you, {name}.",
16+
"Let your thoughts take flight, {name}.",
17+
"Fuel up on confidence — you’ve got this, {name}.",
18+
"Be fierce, be kind, be {name}.",
19+
"A new chapter starts now — page one, {name}.",
20+
"Even the stars admire your shine, {name}.",
21+
"Own this day like only you can, {name}.",
22+
"Lead with fire in your heart, {name}.",
23+
"Walk tall — you carry greatness, {name}.",
24+
"Eyes on the horizon, {name}. Let’s go.",
25+
"Your energy? Unstoppable, {name}.",
26+
"The world bends slightly when you walk in, {name}.",
27+
"Got a minute? Make it count, {name}.",
28+
"You don't just inspire — you ignite, {name}.",
29+
"Every step you take reshapes the path, {name}.",
30+
"Let curiosity be your compass today, {name}.",
31+
"Storms pass when you arrive, {name}.",
32+
"No need to wait for permission — go shine, {name}.",
33+
"Every heartbeat writes a story — yours, {name}.",
34+
"Move like you're made of stardust, {name}.",
35+
"Look in the mirror — there's your superpower, {name}.",
36+
"Let the day feel your presence, {name}.",
37+
"Big energy, big heart, that’s you, {name}.",
38+
"A spark? No — you’re the whole fire, {name}.",
39+
"Show the world how it’s done, {name}.",
40+
"Give the day something to remember, {name}.",
41+
"Speak your truth louder today, {name}.",
42+
"Keep growing, keep glowing, {name}.",
43+
"The day is better just because you’re in it, {name}.",
44+
"Breathe deep — greatness is in the air, {name}.",
45+
"Your footsteps echo with purpose, {name}.",
46+
"Start where you are. Blaze your trail, {name}.",
47+
"You redefine awesome, {name}.",
48+
"Your vibe? Pure electricity, {name}.",
49+
"Confidence fits you like armor, {name}.",
50+
"Let your mind wander — that’s where wonder lives, {name}.",
51+
"Today is your canvas, {name}. Paint it bold.",
52+
"You're not late — you’re right on time, {name}.",
53+
"Every idea you touch turns vivid, {name}.",
54+
"Go ahead, rewrite the rules, {name}.",
55+
"Life’s better when you show up as yourself, {name}."
10056
];
10157

10258
const greetingFontSelect = document.getElementById("greeting-font");

scripts/main.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,12 @@ function applyBackgroundFit(fit) {
6464
break;
6565
}
6666
}
67+
68+
function adjustColor(hex, percent) {
69+
const rgb = hex.replace("#", "").match(/.{2}/g).map(x => parseInt(x, 16));
70+
const adjusted = rgb.map(c => {
71+
const delta = Math.round(255 * percent);
72+
return Math.min(255, Math.max(0, c + delta));
73+
});
74+
return "#" + adjusted.map(x => x.toString(16).padStart(2, "0")).join("");
75+
}

0 commit comments

Comments
 (0)