From edb052c36f738b6669a76279a908c1a91cf38a2a Mon Sep 17 00:00:00 2001 From: Gabriel Cozma Date: Tue, 30 Apr 2024 18:26:31 +0300 Subject: [PATCH] feat: Add two new types of links & use semantic versioning --- CHANGELOG.md | 2 ++ README.md | 6 ++++++ package.json | 2 +- styles/common.scss | 14 ++++++++++++++ 4 files changed, 23 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index da68291..38b3758 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,8 @@ - Migrate all `pixel` values to `rem` values for better accessibility +- Add two new types of links (`external` and `internal`) with different icons at the end of the link + ## 1.3.3 (2024-04-27) ### Feature(s) diff --git a/README.md b/README.md index dc3309d..0acb34b 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,12 @@ You can check the next steps by looking at the [Guide](https://aplos.gxbs.me/gui Now that Aplós is an NPM Package, a release cycle is required. There is a new version every Saturday at 04:00 GMT for regular small updates (if there are changes), and for more critical updates every time there is a need. +### Versioning + +Aplós uses [Semantic Versioning](https://semver.org/), so you can understand the changes by looking at the version number (using the `major.minor.patch` format). + +It might be possible that the pre-release versions start as a patch version and end up becoming a minor version (e.g: `2.1.3-1` -> `2.2.0-2`). + ## Thanks ❤ & Credits️ - [Duckquill](https://daudix.codeberg.page/duckquill), from where I got inspired to create this project (and many ideas are from there) diff --git a/package.json b/package.json index 6b1c02a..a012130 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aplos", - "version": "1.3.4-2", + "version": "1.3.4-3", "description": "A sleek, contemporary, and purposefully designed VitePress theme", "main": "index.ts", "keywords": [ diff --git a/styles/common.scss b/styles/common.scss index 35af76c..cbae40d 100644 --- a/styles/common.scss +++ b/styles/common.scss @@ -393,4 +393,18 @@ button { abbr { cursor: help; +} + +.external-link a { + &::after { + content: " ↗"; + font-size: inherit; + } +} + +.internal-link a { + &::after { + content: " →"; + font-size: 0.75rem; + } } \ No newline at end of file