Skip to content

Commit

Permalink
feat(Celebrate): Halloween
Browse files Browse the repository at this point in the history
  • Loading branch information
GeopJr committed Oct 11, 2023
1 parent 0078ea6 commit 145bac9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions data/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,11 @@ video > overlay > revealer > controls {
.theme-intersex.about .app-version:hover{background:radial-gradient(closest-side circle at center,#ffd800 44%,#7902aa 44%,#7902aa 56%,#ffd800 56%);}
.theme-autism.about .app-version{background:linear-gradient(to bottom,#e5304355,#e5304355 16.66%,#f6834755 16.66%,#f6834755 33.33%,#fac85755 33.33%,#fac85755 66.67%,#99d67155 66.67%,#99d67155 83.33%,#21ae7555 83.33%,#21ae7555);}
.theme-autism.about .app-version:hover{background:linear-gradient(to bottom,#e53043,#e53043 16.66%,#f68347 16.66%,#f68347 33.33%,#fac857 33.33%,#fac857 66.67%,#99d671 66.67%,#99d671 83.33%,#21ae75 83.33%,#21ae75);}
.theme-halloween.about .main-page{background-image:radial-gradient(225px circle at 10% 6%,@light_1 0%,@light_4 80%,#000 100%);margin-top:-46px;padding-top:46px;}
.theme-halloween.about .main-page .title-1,.theme-halloween.about windowcontrols{color:@orange_3;text-shadow:-1px -1px 0#000,1px -1px 0#000,-1px 1px 0#000,1px 1px 0#000;}
.theme-halloween.about .app-version{background: alpha(@orange_3,.5);}
.theme-halloween.about .app-version:hover{background:@orange_3;}
.theme-halloween.about preferencesgroup{filter:drop-shadow(0 10px 1rem @orange_3);}

.lww-scale-emoji-hover .lww-emoji {
transition-duration: 150ms;
Expand Down
7 changes: 6 additions & 1 deletion src/Utils/Celebrate.vala
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ public class Tuba.Celebrate {
ARO,
ACE,
NON_BINARY,
AUTISM;
AUTISM,
HALLOWEEN;

public string to_string () {
switch (this) {
Expand Down Expand Up @@ -45,6 +46,8 @@ public class Tuba.Celebrate {
return "non-binary";
case AUTISM:
return "autism";
case HALLOWEEN:
return "halloween";
default:
assert_not_reached ();
}
Expand Down Expand Up @@ -78,6 +81,8 @@ public class Tuba.Celebrate {
{ 23, 9, CelebrateStyle.BI },
// Agender Pride Day
{ 19, 5, CelebrateStyle.AGENDER },
// 🎃 Halloween 🕸️
{ 31, 10, CelebrateStyle.HALLOWEEN },
};

const Celebration[] CELEBRATIONS_WEEKS = {
Expand Down

0 comments on commit 145bac9

Please sign in to comment.