feat: ps circle favicon & matching theme

This commit is contained in:
ae 2025-05-17 18:54:25 +03:00
parent 8f11bbcd26
commit 0da8c83b88
Signed by: ae
GPG Key ID: 995EFD5C1B532B3E
9 changed files with 24 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 197 KiB

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 299 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -3,19 +3,19 @@
"short_name": "Umbrella", "short_name": "Umbrella",
"icons": [ "icons": [
{ {
"src": "/./assets/web-app-manifest-192x192.png", "src": "/images/web-app-manifest-192x192.png",
"sizes": "192x192", "sizes": "192x192",
"type": "image/png", "type": "image/png",
"purpose": "maskable" "purpose": "maskable"
}, },
{ {
"src": "/./assets/web-app-manifest-512x512.png", "src": "/images/web-app-manifest-512x512.png",
"sizes": "512x512", "sizes": "512x512",
"type": "image/png", "type": "image/png",
"purpose": "maskable" "purpose": "maskable"
} }
], ],
"theme_color": "#202c31", "theme_color": "#252525",
"background_color": "#202c31", "background_color": "#252525",
"display": "standalone" "display": "standalone"
} }

View File

@ -1,12 +1,14 @@
// -------------- THEME SWITCHER -------------- // // -------------- THEME SWITCHER -------------- //
@mixin theme($--bg-color, $--primary-text-color, $--secondary-text-color, $--link-color, $--visited-link-color, $--highlight) { @mixin theme($--bg-color, $--primary-text-color, $--secondary-text-color, $--link-color, $--hover-link-color, $--highlight) {
background-color: $--bg-color; background-color: $--bg-color;
color: $--primary-text-color; color: $--primary-text-color;
a { a {
color: $--link-color; color: $--link-color;
&:visited { color: $--visited-link-color; } &:hover {
color: $--hover-link-color;
}
} }
details { details {
@ -52,7 +54,7 @@
} }
@mixin dark-appearance { @mixin dark-appearance {
@include theme(#000000, #eff6ee, #000000, #33658a, #55dde0, #9197ae); // modus-vivendi @include theme(#000000, #eff6ee, #000000, #ff6666, #fbb1b6, #9197ae);
} }
@mixin light-appearance { @mixin light-appearance {
@ -83,6 +85,18 @@ body {
overflow-wrap: break-word; overflow-wrap: break-word;
} }
header {
display: flex;
align-items: center;
width: min-content;
}
header > img {
max-width: 2.5rem;
max-height: 2.5rem;
padding-right: 1rem;
}
h2, h3, h4, h5, h6 { margin-top: 1.5rem; } h2, h3, h4, h5, h6 { margin-top: 1.5rem; }
p { margin: 1rem 0; } p { margin: 1rem 0; }
@ -91,7 +105,6 @@ li { margin: 0.4rem 0; }
a { a {
text-decoration: none; text-decoration: none;
&:hover { text-decoration: underline; }
} }
hr { hr {

View File

@ -1,6 +1,7 @@
{{ define "main" }} {{ define "main" }}
<header> <header>
<img src="/images/favicon.svg" />
<h1>{{ $.Site.Title }}</h1> <h1>{{ $.Site.Title }}</h1>
{{- if $.Site.Params.theme_config.show_description -}} {{- if $.Site.Params.theme_config.show_description -}}
<p>{{ $.Site.Params.description }}</p> <p>{{ $.Site.Params.description }}</p>