mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 20:30:53 +08:00
breaking change: 增加 macstyle 配置,取消配置 mac / mac light 主題
feat: 可更改文章標題位置 feat: 增加代碼全屏 improvement: 當代碼塊 toolbar 其它功能設為 false 時, 仍能顯示 macstyle improvement: 優化文章標題在左邊時,不同寬度的位置顯示 improvement: 代碼優化
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
if $highlight_theme == 'darker' || ($highlight_theme == 'mac')
|
||||
if $highlight_theme == 'darker'
|
||||
$highlight-background = #212121
|
||||
$highlight-selection = #61616150
|
||||
$highlight-foreground = #EEFFFF
|
||||
@@ -29,6 +29,7 @@ if $highlight_theme == 'pale night'
|
||||
$highlight-background = #292D3E
|
||||
$highlight-selection = #717CB450
|
||||
$highlight-foreground = #A6ACCD
|
||||
$highlight-mac-border = rgba($highlight-background, .4)
|
||||
$highlight-gutter = {
|
||||
color: alpha($highlight-foreground, .5),
|
||||
bg-color: $highlight-background
|
||||
@@ -55,6 +56,7 @@ if $highlight_theme == 'ocean'
|
||||
$highlight-background = #0F111A
|
||||
$highlight-selection = #717CB450
|
||||
$highlight-foreground = #8F93A2
|
||||
$highlight-mac-border = rgba($highlight-background, .4)
|
||||
$highlight-gutter = {
|
||||
color: alpha($highlight-foreground, .5),
|
||||
bg-color: $highlight-background
|
||||
@@ -77,7 +79,7 @@ if $highlight_theme == 'ocean'
|
||||
$highlight-deletion = #BF42BF
|
||||
$highlight-addition = #105EDE
|
||||
|
||||
if $highlight_theme == 'light' || ($highlight_theme == 'mac light')
|
||||
if $highlight_theme == 'light'
|
||||
$highlight-background = #F6F8FA
|
||||
$highlight-selection = #80CBC440
|
||||
$highlight-foreground = #90A4AE
|
||||
|
||||
Reference in New Issue
Block a user