From 6de6d8be08848802c4624a645da7b8ec2bba22e3 Mon Sep 17 00:00:00 2001 From: Gabriel Cozma Date: Mon, 3 Jun 2024 20:39:00 +0300 Subject: [PATCH] feat: make Icon Links toggleable in Configuration --- CHANGELOG.md | 2 ++ Layout.vue | 4 ++-- docs/.vitepress/config.mts | 1 + docs/guide/index.md | 2 +- minimal/Layout.vue | 28 +++++++++++++++------------- styles/components/links.scss | 22 +++++++++++++--------- 6 files changed, 34 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf32372..53272a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,8 @@ - `numeric` for numeric style headings +- Make Icon Links a toggleable option in Configuration + - Add `note` informal card - Small changes to images behavior diff --git a/Layout.vue b/Layout.vue index 40b36d1..5a0ec49 100644 --- a/Layout.vue +++ b/Layout.vue @@ -9,12 +9,12 @@ import ArticleFooter from "./layouts/ArticleFooter.vue"; import SiteFooter from "./components/Footer.vue"; import Navigation from "./components/Navigation.vue"; -const { site, frontmatter, page } = useData(); +const { site, frontmatter, page, theme } = useData();