Dark theme logo and package icons
@ -15,6 +15,7 @@ auth_url = "https://api.yuzu-emu.org/jwt/installer/"
|
||||
[[packages]]
|
||||
name = "yuzu"
|
||||
description = "Includes frequent updates to yuzu with all the latest reviewed and tested features."
|
||||
icon = "thicc_logo_installer_shadow.png"
|
||||
default = true
|
||||
[packages.source]
|
||||
name = "github"
|
||||
@ -29,6 +30,7 @@ default = true
|
||||
[[packages]]
|
||||
name = "yuzu Early Access"
|
||||
description = "Bonus preview release for project supporters. Thanks for your support!"
|
||||
icon = "thicc_logo_installer__ea_shadow.png"
|
||||
# Displayed when the package has no authentication for the user
|
||||
need_authentication_description = "Click here to sign in with your yuzu account for Early Access"
|
||||
# Displayed when the package has an authentication, but the user has not linked their account
|
||||
|
@ -32,6 +32,8 @@ pub struct PackageShortcut {
|
||||
pub struct PackageDescription {
|
||||
pub name: String,
|
||||
pub description: String,
|
||||
#[serde(default)]
|
||||
pub icon: Option<String>,
|
||||
pub default: Option<bool>,
|
||||
pub source: PackageSource,
|
||||
#[serde(default)]
|
||||
|
@ -34,7 +34,10 @@ pub fn file_from_string(file_path: &str) -> Option<(String, &'static [u8])> {
|
||||
file_path,
|
||||
"/index.html",
|
||||
"/favicon.ico",
|
||||
"/img/logo.png",
|
||||
"/img/light_mode_installer_logo.png",
|
||||
"/img/dark_mode_installer_logo.png",
|
||||
"/thicc_logo_installer__ea_shadow.png",
|
||||
"/thicc_logo_installer_shadow.png",
|
||||
"/img/how-to-open.png",
|
||||
"/css/app.css",
|
||||
"/css/chunk-vendors.css",
|
||||
|
BIN
ui/public/thicc_logo_installer__ea_shadow.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
ui/public/thicc_logo_installer_shadow.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
@ -4,7 +4,7 @@
|
||||
<div class="container is-max-height">
|
||||
<div class="columns is-max-height">
|
||||
<div class="column is-one-third has-padding" v-if="!$root.$data.metadata.is_launcher">
|
||||
<img src="./assets/logo.png" width="60%" alt="Application icon" />
|
||||
<img src="./assets/light_mode_installer_logo.png" id="applicationIcon" alt="Application icon" />
|
||||
<br />
|
||||
<br />
|
||||
|
||||
@ -52,6 +52,30 @@ body, div, span, h1, h2, h3, h4, h5, h6 {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
#applicationIcon {
|
||||
width:0px; height: 0px;
|
||||
padding: 50px 60% 0px 0px;
|
||||
background: url("./assets/light_mode_installer_logo.png") left top no-repeat;
|
||||
background-size: contain;
|
||||
}
|
||||
|
||||
body.has-background-black-ter #applicationIcon {
|
||||
background: url("./assets/dark_mode_installer_logo.png") left top no-repeat;
|
||||
background-size: contain;
|
||||
}
|
||||
|
||||
.package-icon {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
float: left;
|
||||
padding-right: 10px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.package-description {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
pre {
|
||||
-webkit-user-select: text;
|
||||
-moz-user-select: text;
|
||||
|
BIN
ui/src/assets/dark_mode_installer_logo.png
Normal file
After Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 29 KiB |
BIN
ui/src/assets/light_mode_installer_logo.png
Normal file
After Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 6.2 KiB |
@ -14,49 +14,64 @@
|
||||
</b-checkbox>
|
||||
<span v-if="Lpackage.installed"><i>(installed)</i></span>
|
||||
</label>
|
||||
<p>
|
||||
<div>
|
||||
<img class="package-icon" :src="`${publicPath + Lpackage.icon}`"/>
|
||||
<p class="package-description">
|
||||
{{ Lpackage.description }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box clickable-box" v-else-if="Lpackage.requires_authorization && !$root.$data.is_authenticated" v-on:click="show_authentication">
|
||||
<div class="ribbon" v-if="Lpackage.is_new"><span>New!</span></div>
|
||||
<b-checkbox>
|
||||
{{ Lpackage.name }}
|
||||
</b-checkbox>
|
||||
<p>
|
||||
{{Lpackage.need_authentication_description}}
|
||||
<div>
|
||||
<img class="package-icon" :src="`${publicPath + Lpackage.icon}`"/>
|
||||
<p class="package-description">
|
||||
{{ Lpackage.description }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box clickable-box" v-else-if="Lpackage.requires_authorization && !$root.$data.is_linked" v-on:click="show_authorization">
|
||||
<div class="ribbon" v-if="Lpackage.is_new"><span>New!</span></div>
|
||||
<b-checkbox>
|
||||
{{ Lpackage.name }}
|
||||
</b-checkbox>
|
||||
<p>
|
||||
{{Lpackage.need_link_description}}
|
||||
<div>
|
||||
<img class="package-icon" :src="`${publicPath + Lpackage.icon}`"/>
|
||||
<p class="package-description">
|
||||
{{ Lpackage.description }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box clickable-box" v-else-if="Lpackage.requires_authorization && !$root.$data.is_subscribed" v-on:click="show_authorization">
|
||||
<div class="ribbon" v-if="Lpackage.is_new"><span>New!</span></div>
|
||||
<b-checkbox>
|
||||
{{ Lpackage.name }}
|
||||
</b-checkbox>
|
||||
<p>
|
||||
{{Lpackage.need_subscription_description}}
|
||||
<div>
|
||||
<img class="package-icon" :src="`${publicPath + Lpackage.icon}`"/>
|
||||
<p class="package-description">
|
||||
{{ Lpackage.description }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box clickable-box" v-else v-on:click="show_authorization">
|
||||
<div class="ribbon" v-if="Lpackage.is_new"><span>New!</span></div>
|
||||
<b-checkbox>
|
||||
{{ Lpackage.name }}
|
||||
</b-checkbox>
|
||||
<p>
|
||||
{{Lpackage.need_reward_tier_description}}
|
||||
<div>
|
||||
<img class="package-icon" :src="`${publicPath + Lpackage.icon}`"/>
|
||||
<p class="package-description">
|
||||
{{ Lpackage.description }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="subtitle is-6" v-if="!$root.$data.metadata.preexisting_install && advanced">Install Location</div>
|
||||
<div class="field has-addons" v-if="!$root.$data.metadata.preexisting_install && advanced">
|
||||
@ -116,6 +131,7 @@ export default {
|
||||
},
|
||||
data: function () {
|
||||
return {
|
||||
publicPath: process.env.BASE_URL,
|
||||
advanced: false
|
||||
}
|
||||
},
|
||||
|