Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Theme Editor and Wallpaper Selector #210

Merged
merged 7 commits into from
Dec 8, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@

<script type="text/javascript" src="lib/coreapps/XAppStub.js"></script>
<script type="text/javascript" src="lib/coreapps/XFrogApp.js"></script>
<script
<!-- <script
type="text/javascript"
src="lib/coreapps/ThemeEditor.js"
></script>
></script> -->
<script
type="text/javascript"
src="lib/coreapps/ExploreApp.js"
Expand Down
8 changes: 4 additions & 4 deletions src/Boot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,8 @@ document.addEventListener("anura-login-completed", async () => {
const wallpaper = new WallpaperSelector();
anura.registerApp(wallpaper);

const themeEditor = new ThemeEditor();
anura.registerApp(themeEditor);
// const themeEditor = new ThemeEditor();
// anura.registerApp(themeEditor);

const explore = new ExploreApp();
anura.registerApp(explore);
Expand Down Expand Up @@ -636,12 +636,12 @@ document.addEventListener("anura-login-completed", async () => {
const desktopCtx = new ContextMenu(true); // we are init'ing before anura so this is needed

desktopCtx.addItem(
"Set wallpaper",
"Set wallpaper & style",
() => {
// this however will execute after anura is init'ed
anura.apps["anura.wallpaper"].open();
},
"wallpaper",
"brush",
);

document.addEventListener("contextmenu", function (e) {
Expand Down
6 changes: 4 additions & 2 deletions src/anura.css
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ nav li {
position: absolute;
background-color: var(--theme-secondary-bg);
padding: 5px 0;
width: 150px;
min-width: 150px;
max-width: 250px;
box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);

z-index: 10000;
Expand All @@ -128,7 +129,8 @@ nav li {

.custom-menu.large {
padding: 5px 0;
width: 170px;
min-width: 170px;
max-width: 300px;
background-color: color-mix(in srgb, var(--theme-dark-bg) 85%, transparent);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
Expand Down
274 changes: 0 additions & 274 deletions src/coreapps/ThemeEditor.tsx

This file was deleted.

Loading
Loading