Update design

This commit is contained in:
david-swift 2025-03-04 22:44:07 +01:00
parent 1da127e3ed
commit ef4183ab6c
13 changed files with 41 additions and 40 deletions

6
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "themes/duckquill"] [submodule "themes/duckling"]
path = themes/duckquill path = themes/duckling
url = https://codeberg.org/daudix/duckquill.git url = https://git.aparoksha.dev/david-swift/duckling

View File

@ -3,7 +3,7 @@
title = "Aparoksha" title = "Aparoksha"
base_url = "https://www.aparoksha.dev/" base_url = "https://www.aparoksha.dev/"
description = "One app, fully native on every platform" description = "One app, fully native on every platform"
theme = "duckquill" theme = "duckling"
minify_html = true minify_html = true
default_language = "en" default_language = "en"
@ -43,16 +43,11 @@ show_source = true
[extra.nav] [extra.nav]
links = [ links = [
{ name = "Guides" , menu = [ { url = "@/backends/_index.md", name = "Backends" },
{ url = "@/backends/_index.md", name = "Backends" }, { url = "/patterns", name = "Patterns" },
{ url = "/patterns", name = "Patterns" },
{ url = "/tutorials", name = "Tutorials" },
{ url = "/docs", name = "Documentation" },
]},
{ url = "https://forums.aparoksha.dev/", name = "Community" }, { url = "https://forums.aparoksha.dev/", name = "Community" },
{ url = "https://git.aparoksha.dev/aparoksha", name = "Code" }, { url = "https://git.aparoksha.dev/aparoksha", name = "Code" },
] ]
auto_hide = true
[search] [search]
index_format = "elasticlunr_json" index_format = "elasticlunr_json"

View File

@ -1,14 +1,13 @@
+++ +++
+++ +++
<!--- <div class="banner-light">
{{ image(url="trailer.gif" full_bleed=true) }} {{ image(url="light.png", alt="Some windows on different platforms." transparent=true no_hover=true) }}
---> </div>
{% alert(warning=true) %} <div class="banner-dark">
This project is currently under development and not yet ready for production. {{ image(url="dark.png", alt="Some windows on different platforms." transparent=true no_hover=true) }}
Follow the project [on the Fediverse](https://mastodon.de/@aparoksha) to stay up to date. </div>
{% end %}
# Native. Cross-platform. <div class="logo"> Aparoksha. </div> # Native. Cross-platform. <div class="logo"> Aparoksha. </div>
@ -17,9 +16,10 @@ Aparoksha is easy-to-use, safe, and <i>aparoksha</i>, meaning that its reactive
<br> <br>
<div class="buttons" style="margin-top: 0;"> {% alert(warning=true) %}
<a href="/tutorials/gettingstarted/">Get Started</a> This project is currently under development and not yet ready for production.
</div> Follow the project [on the Fediverse](https://mastodon.de/@aparoksha) to stay up to date.
{% end %}
<br> <br>

View File

@ -4,8 +4,6 @@ description = "Develop beautiful apps following the design guidelines of the GNO
date = 2024-10-07 date = 2024-10-07
[taxonomies] [taxonomies]
tags = ["Linux", "Aparoksha"] tags = ["Linux", "Aparoksha"]
[extra]
banner = "Adwaita.png"
+++ +++
Develop beautiful apps following the design guidelines of the GNOME desktop. Develop beautiful apps following the design guidelines of the GNOME desktop.

View File

@ -4,8 +4,6 @@ description = "Create apps for Microsoft Windows."
date = 2024-10-14 date = 2024-10-14
[taxonomies] [taxonomies]
tags = ["Windows", "Aparoksha"] tags = ["Windows", "Aparoksha"]
[extra]
banner = "WinUI.png"
+++ +++
Create modern apps for Microsoft Windows. Create modern apps for Microsoft Windows.

View File

@ -5,12 +5,5 @@ template = "article_list.html"
page_template = "article.html" page_template = "article.html"
+++ +++
The backends listed here are based on the <a class="external" href="https://git.aparoksha.dev/aparoksha/meta">Meta package</a>. The backends listed here are based on the <a class="external" href="https://meta.aparoksha.dev/documentation/meta/">Meta package</a>.
They can be used in combination with the Aparoksha package. They can be used in combination with the Aparoksha package.
The following backends are part of the Aparoksha package:
- [Adwaita](/backends/adwaita/)
- [WinUI](/backends/winui/)
This means that all the user interface elements included in the Aparoksha package will automatically render correctly with these backends.

BIN
content/dark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
content/light.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

View File

@ -1,3 +1,5 @@
@use "../themes/duckling/sass/_variables.scss" as vars;
h1, h1,
h2, h2,
h3, h3,
@ -37,10 +39,6 @@ h6 {
color: #EE2D75; color: #EE2D75;
} }
body {
background-color: transparent;
}
.pattern-images { .pattern-images {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
@ -54,3 +52,22 @@ body {
object-fit: cover; object-fit: cover;
max-width: 48%; max-width: 48%;
} }
@include vars.theme-variables using ($theme) {
@if $theme == "dark" {
.banner-light {
display: none;
}
.banner-dark {
display: block;
}
}
@else {
.banner-light {
display: block;
}
.banner-dark {
display: none;
}
}
}

View File

@ -4,7 +4,7 @@
.z-code { .z-code {
color: #D5D1D2; color: #D5D1D2;
background-color: #28272D; background-image linear-gradient(to right, var(--fg-muted-1) 50%, var(--shimmer) 75%, var(--fg-muted-1) 100%);
} }
.z-string { .z-string {
color: #FF2D75; color: #FF2D75;

View File

@ -4,7 +4,7 @@
.z-code { .z-code {
color: #65783; color: #65783;
background-color: #F2F2F2; background-image linear-gradient(to right, var(--fg-muted-1) 50%, var(--shimmer) 75%, var(--fg-muted-1) 100%);
} }
.z-string { .z-string {
color: #FF2D75; color: #FF2D75;

1
themes/duckling Submodule

@ -0,0 +1 @@
Subproject commit e511f83749f8d516a14c1ebc6658259db43680b1

@ -1 +0,0 @@
Subproject commit da0a9b967e3cf0990940a37f73f20c257191a9a1