diff --git a/assets/android-chrome-192x192.png b/assets/android-chrome-192x192.png new file mode 100644 index 0000000..f3952be Binary files /dev/null and b/assets/android-chrome-192x192.png differ diff --git a/assets/apple-touch-icon.png b/assets/apple-touch-icon.png new file mode 100644 index 0000000..c19973e Binary files /dev/null and b/assets/apple-touch-icon.png differ diff --git a/assets/css/baseof.css b/assets/css/baseof.css index 4731d66..0f83f60 100644 --- a/assets/css/baseof.css +++ b/assets/css/baseof.css @@ -15,13 +15,13 @@ :root { /* Colors */ --black: #131314; - --white: #ffffff; - --crimson: #bd1839; - --light-gray: #e7e7e7; + --white: white; + --crimson: #BD1839; + --light-gray: #E7E7E7; /* Background colors */ - --dark-background: #1d1b1b; - --light-background: #fbfbfb; + --dark-background: #1D1B1B; + --light-background: #FBFBFB; /* Radiuses */ --card-radius: 1.875rem; diff --git a/assets/favicon-16x16.png b/assets/favicon-16x16.png new file mode 100644 index 0000000..9873984 Binary files /dev/null and b/assets/favicon-16x16.png differ diff --git a/assets/favicon-32x32.png b/assets/favicon-32x32.png new file mode 100644 index 0000000..31aa9cd Binary files /dev/null and b/assets/favicon-32x32.png differ diff --git a/assets/favicon.ico b/assets/favicon.ico new file mode 100644 index 0000000..2659857 Binary files /dev/null and b/assets/favicon.ico differ diff --git a/assets/js/baseof.js b/assets/js/baseof.js index ebd5a1c..b6b198b 100644 --- a/assets/js/baseof.js +++ b/assets/js/baseof.js @@ -18,6 +18,9 @@ function initTheme() { function loadTheme() { root.style.setProperty('--theme', theme); + document + .querySelector('meta[name="theme-color"]') + .setAttribute('content', theme === 'light' ? '#FBFBFB' : '#1D1B1B'); root.style.setProperty( '--background', theme === 'light' ? 'var(--light-background)' : 'var(--dark-background)' diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c246b4d..6b81fe0 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,10 +1,23 @@ {{ $styles := resources.Get "css/baseof.css" | toCSS | minify }} {{ $scripts := resources.Get "js/baseof.js" | js.Build | minify }} +{{ $androidChromeIcon := resources.Get "android-chrome-192x192.png" }} +{{ $appleTouchIcon := resources.Get "apple-touch-icon.png" }} +{{ $favIcon32 := resources.Get "favicon-32x32.png" }} +{{ $favIcon16 := resources.Get "favicon-16x16.png" }} +{{ $favIcon := resources.Get "favicon.ico" }} +
+ + + + + + + {{ block "styles" . }}{{ end }}