Skip to content

Commit

Permalink
1. 修复浅色模式 Windows 下右键菜单的背景颜色问题 fixed #9
Browse files Browse the repository at this point in the history
2. 可能造成字体模糊的问题
3. 最近菜单单数行字体颜色修改
4. 更新 README
  • Loading branch information
AntonVanke committed Nov 15, 2022
1 parent 737f040 commit efe0a52
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ Typora theme: Cement.

2. 打开`Typora`->`文件`->`偏好设置`->`外观`->`打开主题文件夹`

3. 复制`cement.css`文件、`cement`文件夹到主题文件夹下
3. 复制`cement.css`文件、`cement-dark`文件、`cement`文件夹到主题文件夹下

4. 重启`Typora`

5. 打开`Typora`->`主题`->选择`Cement`
5. 打开`Typora`->`主题`->选择`Cement`(浅色主题)或者`Cement Dark`(深色主题)

详情请查看[Install Theme (typora.io)](https://theme.typora.io/doc/Install-Theme/)

Expand Down
4 changes: 2 additions & 2 deletions cement.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
/* 标题前的指示标志 */
--md-heading-before-color: var(--link-color);
/*右键菜单*/
--dropdown-menu-color: var(--color-black);
--dropdown-menu-color: var(--color-white);
/*菜单按钮*/
--long-btn-color: #e6eef4;
--long-btn-normal: 10px 10px 20px #c4cacf, -10px -10px 20px #ffffff;
Expand Down Expand Up @@ -122,7 +122,7 @@
/*搜索栏 focus 颜色*/
--file-library-search-input-focus-color: var(--color-white);
/*最近文件单数背景*/
--recent-file-panel-n-color: #f7f7f7;
--recent-file-panel-n-color: var(--color-black);
}

/*
Expand Down
5 changes: 3 additions & 2 deletions cement/cement.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ LICENSE: https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL

body {
background: var(--bg-color);
font: 105%/1.65 var(--font-family-base);
font: 100%/1.65 var(--font-family-base);
max-width: 950px;
}

Expand Down Expand Up @@ -452,7 +452,8 @@ blockquote:hover {
padding-top: 5px;
padding-bottom: 5px;
border-left: 28px solid transparent;
border-right: 28px solid transparent;
padding-right: 28px;
/*border-right: 28px solid transparent;*/
transition: border-radius, width .15s cubic-bezier(0.4, 0, 0.2, 1), margin .15s cubic-bezier(0.4, 0, 0.2, 1), width .15s cubic-bezier(0.4, 0, 0.2, 1);
}

Expand Down

0 comments on commit efe0a52

Please sign in to comment.