diff --git a/themes/mytheme/assets/css/common/post-entry.css b/themes/mytheme/assets/css/common/post-entry.css index 8e4ffad..8b64dc2 100644 --- a/themes/mytheme/assets/css/common/post-entry.css +++ b/themes/mytheme/assets/css/common/post-entry.css @@ -63,7 +63,7 @@ .post-entry:hover { /* transform: scale(1.01);*/ - background-color: #F6F6FF; + background-color: var(--entry-hover); } .tag-entry .entry-cover { diff --git a/themes/mytheme/assets/css/core/theme-vars.css b/themes/mytheme/assets/css/core/theme-vars.css index 697aeae..dbe45e2 100644 --- a/themes/mytheme/assets/css/core/theme-vars.css +++ b/themes/mytheme/assets/css/core/theme-vars.css @@ -15,10 +15,11 @@ --hljs-bg: #353535; --code-bg: rgb(245, 245, 245); --border: rgb(238, 238, 238); + --entry-hover: #F6F6FF; } .dark { - --theme: #0f2028; + --theme: #1f2224; --entry: rgb(46, 46, 51); --primary: rgb(218, 218, 219); --secondary: rgb(155, 156, 157); @@ -27,6 +28,7 @@ --hljs-bg: rgb(46, 46, 51); --code-bg: rgb(55, 56, 62); --border: rgb(51, 51, 51); + --entry-hover: #323237; } .list {