From 176c0e8e6290df0d68fac97d5e00a0b53e27f61a Mon Sep 17 00:00:00 2001 From: "Mr.Hope" Date: Wed, 28 Feb 2024 00:54:39 +0800 Subject: [PATCH] fix(plugin-redirect): fix css variable name, close #79 --- plugins/plugin-redirect/src/client/styles/vars.css | 4 ++-- themes/theme-default/src/client/styles/vars.scss | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/plugin-redirect/src/client/styles/vars.css b/plugins/plugin-redirect/src/client/styles/vars.css index 5a10a13a42..585a4b6e23 100644 --- a/plugins/plugin-redirect/src/client/styles/vars.css +++ b/plugins/plugin-redirect/src/client/styles/vars.css @@ -4,7 +4,7 @@ --redirect-bg-color-light: #f3f4f5; --redirect-bg-color-lighter: #eeeeee; --redirect-text-color: #2c3e50; - --redirect-primary-bg-color: #3eaf7c; - --redirect-primary-hover-bg-color: #4abf8a; + --redirect-primary-color: #3eaf7c; + --redirect-primary-hover-color: #4abf8a; --redirect-primary-text-color: #fff; } diff --git a/themes/theme-default/src/client/styles/vars.scss b/themes/theme-default/src/client/styles/vars.scss index 8abbd6d5ba..bc20048b7f 100644 --- a/themes/theme-default/src/client/styles/vars.scss +++ b/themes/theme-default/src/client/styles/vars.scss @@ -164,8 +164,8 @@ body { --redirect-bg-color-light: var(--c-bg-light); --redirect-bg-color-lighter: var(--c-bg-lighter); --redirect-text-color: var(--c-text); - --redirect-primary-bg-color: var(--c-brand); - --redirect-primary-hover-bg-color: var(--c-brand-light); + --redirect-primary-color: var(--c-brand); + --redirect-primary-hover-color: var(--c-brand-light); --redirect-primary-text-color: var(--c-bg); }