respect user's chosen themecolor

remotes/1693045480750635534/spooky-22
Aevann1 2022-06-24 03:27:49 +02:00
parent 96e14111e3
commit 9dbe67bf90
9 changed files with 11 additions and 11 deletions

View File

@ -43,7 +43,7 @@
<link rel="stylesheet" href="/@{{v.username}}/css">
{% endif %}
{% else %}
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<style>:root{--primary:#{{DEFAULT_COLOR)}}</style>
<link rel="stylesheet" href="{{asset('css/main.css')}}">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=57">
{% endif %}

View File

@ -39,7 +39,7 @@
<link rel="stylesheet" href="/@{{v.username}}/css">
{% endif %}
{% else %}
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<style>:root{--primary:#{{DEFAULT_COLOR)}}</style>
<link rel="stylesheet" href="{{asset('css/main.css')}}">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=57">
<link rel="stylesheet" href="/assets/css/awards.css?v=11">
@ -111,9 +111,9 @@
<link rel="shortcut icon" href="/i/{{SITE_NAME}}/icon.webp?v=2000">
<meta name="apple-mobile-web-app-title" content="{{SITE_NAME}}">
<meta name="application-name" content="{{SITE_NAME}}">
<meta name="msapplication-TileColor" content="#{{config('DEFAULT_COLOR')}}">
<meta name="msapplication-TileColor" content="#{% if v %}{{v.themecolor}}{% else %}{{DEFAULT_COLOR)}}{% endif %}">
<meta name="msapplication-config" content="/assets/browserconfig.xml?v=4">
<meta name="theme-color" content="#{% if v %}{{v.themecolor}}{% else %}{{config('DEFAULT_COLOR')}}{% endif %}">
<meta name="theme-color" content="#{% if v %}{{v.themecolor}}{% else %}{{DEFAULT_COLOR)}}{% endif %}">

View File

@ -30,7 +30,7 @@
<link rel="stylesheet" href="/@{{v.username}}/css">
{% endif %}
{% else %}
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<style>:root{--primary:#{{DEFAULT_COLOR)}}</style>
<link rel="stylesheet" href="{{asset('css/main.css')}}">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=57">
{% endif %}

View File

@ -20,7 +20,7 @@
<title>Login - {{SITE_NAME}}</title>
{% endblock %}
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<style>:root{--primary:#{{DEFAULT_COLOR)}}</style>
<link rel="stylesheet" href="{{asset('css/main.css')}}">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=57">

View File

@ -16,7 +16,7 @@
<title>2-Step Login - {{SITE_NAME}}</title>
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<style>:root{--primary:#{{DEFAULT_COLOR)}}</style>
<link rel="stylesheet" href="{{asset('css/main.css')}}">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=57">

View File

@ -43,7 +43,7 @@
<link rel="stylesheet" href="{{asset('css/main.css')}}">
<link rel="stylesheet" href="{{asset('css/' + v.theme + '.css')}}">
{% else %}
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<style>:root{--primary:#{{DEFAULT_COLOR)}}</style>
<link rel="stylesheet" href="{{asset('css/main.css')}}">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=57">
{% endif %}

View File

@ -33,7 +33,7 @@
<title>{% if ref_user %}{{ref_user.username}} invites you to {{SITE_NAME}}{% else %}Sign up - {{SITE_NAME}}{% endif %}</title>
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<style>:root{--primary:#{{DEFAULT_COLOR)}}</style>
<link rel="stylesheet" href="{{asset('css/main.css')}}">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=57">

View File

@ -34,7 +34,7 @@
<title>{% if ref_user %}{{ref_user.username}} invites you to {{SITE_NAME}}{% else %}{{SITE_NAME}}{% endif %}</title>
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<style>:root{--primary:#{{DEFAULT_COLOR)}}</style>
<link rel="stylesheet" href="{{asset('css/main.css')}}">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=57">

View File

@ -52,7 +52,7 @@
<link rel="stylesheet" href="/@{{v.username}}/css">
{% endif %}
{% else %}
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<style>:root{--primary:#{{DEFAULT_COLOR)}}</style>
<link rel="stylesheet" href="{{asset('css/main.css')}}">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=49">
{% endif %}