Theme color change

This commit is contained in:
Eduard Urbach 2018-04-24 14:34:12 +02:00
parent 7c5b3e668b
commit 18b9f9a799
2 changed files with 11 additions and 7 deletions

View File

@ -43,7 +43,7 @@
"manifest": {
"short_name": "Anime",
"gcm_sender_id": "941298467524",
"theme_color": "#f0c7bb",
"theme_color": "#a7ff47",
"background_color": "#f6f6f6",
"icons": [
{

View File

@ -8,20 +8,16 @@ component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, openG
else
title= app.Config.Title
//- Viewport
meta(name="viewport", content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes")
meta(name="theme-color", content=app.Config.Manifest.ThemeColor)
meta(name="google-site-verification", content="1U-E2pDaYbFHyOSWl6AX3DvixQuDc4kfem9Kde_jZ8A")
//- Open Graph
if openGraph != nil
if openGraph.Tags["og:video"] != ""
meta(name="twitter:card", content="player")
else
meta(name="twitter:card", content="summary")
//- Color of the embed sidebar in Discord..
//- This is equal to link-color in the styles.
meta(name="theme-color", content="#a7ff47")
//- Facebook App ID
meta(property="fb:app_id", content="915407915202908")
@ -42,6 +38,13 @@ component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, openG
link(rel="icon", type="image/png", sizes="128x128", href="//media.notify.moe/images/brand/128.png")
link(rel="icon", type="image/png", sizes="512x512", href="//media.notify.moe/images/brand/512.png")
link(rel="apple-touch-icon", sizes="180x180", type="image/png", href="//media.notify.moe/images/brand/180.png")
//- Color of the embed sidebar in Discord,
//- also the color of tabs on mobile browsers.
meta(name="theme-color", content=app.Config.Manifest.ThemeColor)
//- Google site verification
meta(name="google-site-verification", content="1U-E2pDaYbFHyOSWl6AX3DvixQuDc4kfem9Kde_jZ8A")
body
#container(class=utils.GetContainerClass(ctx))
//- #header
@ -54,6 +57,7 @@ component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, openG
ExtensionNavigation(user)
if user != nil
#user(data-id=user.ID, data-pro=user.IsPro(), data-theme=user.Settings().Theme)
script(src="/scripts", async)
script(type="application/ld+json")!= organization