From c6e5d0fe4831c2de9bdf677da5be5d70e4cf7c33 Mon Sep 17 00:00:00 2001 From: Gabriel Cozma Date: Sun, 30 Jun 2024 23:20:18 +0300 Subject: [PATCH] chore: update article list example, sort css, update Duckquill link in README and docs --- README.md | 2 +- custom/ArticleListExample.txt | 22 ++++++++++++++++++---- docs/README.md | 2 +- package.json | 2 +- src/components/Footer.vue | 4 ++-- src/layouts/ArticleHead.vue | 2 +- src/styles/_variables.scss | 6 +++--- src/styles/index.scss | 4 ++-- 8 files changed, 29 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 3c987c5..d1e78de 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ All other standard VitePress commands are available, like `pnpm demo:build` and ## Thanks ❤ & Credits️ -- [Duckquill](https://daudix.codeberg.page/duckquill), from where I got inspired to create this project (and many ideas are from there) +- [Duckquill](https://duckquill.daudix.one), from where I got inspired to create this project (and many ideas are from there) - [Hari Rana](https://tesk.page/) for style-related feedback and suggestions - [Inter](https://rsms.me/inter/), used for all Sans Serif text. - [Geist Mono](https://vercel.com/font/), used for code snippets. diff --git a/custom/ArticleListExample.txt b/custom/ArticleListExample.txt index b9d6b27..0813a40 100644 --- a/custom/ArticleListExample.txt +++ b/custom/ArticleListExample.txt @@ -10,7 +10,12 @@
-
+

{{ post.date }}

+

+ {{ post.date }} · Archived +

+

+ {{ post.date }} · Draft +

+

+ {{ post.date }} · Featured +

+

{{ post.date }}

{{ post.description }}

{ : posts.filter((post) => Array.isArray(post.tags) ? post.tags.includes(selectedTag.value) - : post.tags === selectedTag.value + : post.tags === selectedTag.value, ); }); function filterPosts(tag: string) { selectedTag.value = tag === "" ? null : tag; } - \ No newline at end of file + diff --git a/docs/README.md b/docs/README.md index f30d558..fec27e7 100644 --- a/docs/README.md +++ b/docs/README.md @@ -54,7 +54,7 @@ You can learn more about this project on the [LEARN.md](/LEARN.md) file. ## Thanks ❤ & Credits️: -- [Duckquill](https://daudix.codeberg.page/duckquill), from where I got inspired to create this project (and many ideas are from there) +- [Duckquill](https://duckquill.daudix.one), from where I got inspired to create this project (and many ideas are from there) - [Inter](https://rsms.me/inter/), used for all Sans Serif text. - [Source Code Pro](https://adobe-fonts.github.io/source-code-pro/), used for code snippets. - [VitePress](https://vitepress.dev), which is used to power Aplós. diff --git a/package.json b/package.json index f06f2e6..06a38e1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aplos", - "version": "2.3.0-1", + "version": "2.3.0-2", "type": "module", "description": "A sleek, contemporary, and purposefully designed VitePress theme", "main": "index.ts", diff --git a/src/components/Footer.vue b/src/components/Footer.vue index b0aca05..0b3c465 100644 --- a/src/components/Footer.vue +++ b/src/components/Footer.vue @@ -116,12 +116,12 @@ const { theme } = useData(); text-decoration: underline 0.0875rem; &:not(li) { + transition: var(--transition); margin: 0; border-radius: var(--rounded-xs); background-color: var(--color-background-second); padding: 0.18rem 0.3rem 0.1875rem 0.3rem; color: var(--color-accent); - transition: var(--transition); &:hover { background-color: var(--color-accent); @@ -154,8 +154,8 @@ const { theme } = useData(); } small { - margin-top: 0.625rem; display: block; + margin-top: 0.625rem; } #author { diff --git a/src/layouts/ArticleHead.vue b/src/layouts/ArticleHead.vue index 226088a..4ce6260 100644 --- a/src/layouts/ArticleHead.vue +++ b/src/layouts/ArticleHead.vue @@ -53,8 +53,8 @@ const { frontmatter, theme } = useData(); padding-top: 2.0938rem; h1 { - margin-bottom: 0; margin-top: 0; + margin-bottom: 0; } .tags { diff --git a/src/styles/_variables.scss b/src/styles/_variables.scss index bd45681..ed0a848 100644 --- a/src/styles/_variables.scss +++ b/src/styles/_variables.scss @@ -18,9 +18,9 @@ @mixin noBasicStyles { margin: 0; - padding: 0; - background-image: none; + box-shadow: none; border: none; + background-image: none; background-color: transparent; - box-shadow: none; + padding: 0; } diff --git a/src/styles/index.scss b/src/styles/index.scss index 3885b91..4a2e256 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -1,9 +1,9 @@ /* - * Aplós v2.1.0 (https://aplos.gxbs.me/) + * Aplós v2.3.0 (https://aplos.gxbs.me/) * Copyright 2024-present Gabriel Cozma * Licensed under MIT License (https://github.com/aplosdev/aplos/blob/main/LICENSE) * - * A VitePress theme (https://vitepress.dev) & inspired by Duckquill (https://daudix.codeberg.page/duckquill/) + * A VitePress theme (https://vitepress.dev) & inspired by Duckquill (https://duckquill.daudix.one) */ @import "common";