Skip to content

Commit

Permalink
More work
Browse files Browse the repository at this point in the history
  • Loading branch information
Emupedia-Bot committed Oct 29, 2023
1 parent 1aa1ac3 commit ee7cfdb
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions beta/emuos/assets/js/emuos.js
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,10 @@
self.$html.addClass('emuos-easter');
}

if (moment().month() + 1 === 10 && moment().date() >= 29) {
self.$html.addClass('emuos-halloween');
}

if (moment().month() + 1 === 12) {
var xmas = '';
var newyear = '';
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*noinspection CssUnknownTarget*/
.emuos-halloween .emuos-desktop {
background-color: #392562;
background-image: url(../../../../../images/themes/wallpapers/seasonal/halloween.jpg);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}

.emuos-halloween .emuos-desktop-icon span {
background-color: #392562;
color: #febc0c;
}
1 change: 1 addition & 0 deletions beta/emuos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1241,6 +1241,7 @@
<link type="text/css" rel="stylesheet" href="assets/styles/css/themes/seasonal/newyear/countdown.css" />
<link type="text/css" rel="stylesheet" href="assets/styles/css/themes/seasonal/valentines/background.css" />
<link type="text/css" rel="stylesheet" href="assets/styles/css/themes/seasonal/easter/background.css" />
<link type="text/css" rel="stylesheet" href="assets/styles/css/themes/seasonal/halloween/background.css" />

<!-- endregion -->

Expand Down

0 comments on commit ee7cfdb

Please sign in to comment.