Skip to content

Commit

Permalink
add:color
Browse files Browse the repository at this point in the history
  • Loading branch information
talefou committed Dec 14, 2024
1 parent e0be109 commit e4ee21f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 30 deletions.
32 changes: 17 additions & 15 deletions source/css/_first/base_first.styl
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,23 @@
--color-read-bkg: $color-read-bkg
--color-read-post: $color-read-post
--color-copyright-bkg: $color-copyright-bkg
--text-p2-new: #4d4d4d
--block-border-new: #e3e5e8
--blur-bg-new: rgba(255,255,255,0.749)
--block-new: #f1f2f3
--text-p3-new: #808080
--block-2-new: #e5e6e7
--text-p1-new: #333
--text-p4-new: #999
--theme-color-opa-new: rgba(24,92,109,0.3)
--theme-color-new: #185c6d
--theme-link-opa-new: rgba(32,148,243,0.3)
--theme-link-new: #2094f3
--text-p3-opa-new: rgba(128,128,128,0.3)
--code-tools-new: #e0e0e0
--card-new: #e7e7e7

--text-p1-new: #333;
--text-p2-new: #4d4d4d;
--text-p3-new: #808080;
--text-p3-opa-new: rgba(128,128,128,0.3);
--text-p4-new: #999;
--theme-color-new: #185c6d;
--theme-color-opa-new: rgba(24,92,109,0.3);
--theme-link-new: #2094f3;
--theme-link-opa-new: rgba(32,148,243,0.3);
--code-tools-new: #e0e0e0;
--block-new: #f1f2f3;
--block-2-new: #e5e6e7;
--block-hover-new: #e9eaec;
--block-border-new: #e3e5e8;
--card-new: #e7e7e7;
--blur-bg-new: rgba(255,255,255,0.749);

*
box-sizing: border-box
Expand Down
31 changes: 16 additions & 15 deletions source/css/_first/dark_first.styl
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,22 @@ fitst_dark()
--color-link: $color-dark-link
--color-copyright-bkg: $color-dark-copyright-bkg

--text-p2-new: #b3b3b3
--block-border-new: #383d42
--blur-bg-new: rgba(33,36,38,0.749)
--block-new: #26292c
--text-p3-new: #858585
--block-2-new: #292d31
--text-p1-new: #ccc
--text-p4-new: #707070
--theme-color-opa-new: rgba(111,168,177,0.3)
--theme-color-new: #6fa8b1
--theme-link-opa-new: rgba(32,148,243,0.3)
--theme-link-new: #2094f3
--text-p3-opa-new: rgba(133,133,133,0.3)
--code-tools-new: rgba(55,61,67,0.749)
--card-new: #292e33
--text-p1-new: #ccc;
--text-p2-new: #b3b3b3;
--text-p3-new: #858585;
--text-p3-opa-new: rgba(133,133,133,0.3);
--text-p4-new: #707070;
--theme-color-new: #6fa8b1;
--theme-color-opa-new: rgba(111,168,177,0.3);
--theme-link-new: #2094f3;
--theme-link-opa-new: rgba(32,148,243,0.3);
--code-tools-new: rgba(55,61,67,0.749);
--block-new: #26292c;
--block-2-new: #292d31;
--block-hover-new: #2f3337;
--block-border-new: #383d42;
--card-new: #292e33;
--blur-bg-new: rgba(33,36,38,0.749);

img
filter: brightness(convert(hexo-config('color_scheme.dark.brightness'))) !important
Expand Down

0 comments on commit e4ee21f

Please sign in to comment.