Skip to content

Commit

Permalink
change th default theme color
Browse files Browse the repository at this point in the history
  • Loading branch information
insula1701 committed Jun 2, 2018
1 parent 069fd94 commit 1d71a66
Show file tree
Hide file tree
Showing 6 changed files with 80 additions and 80 deletions.
2 changes: 1 addition & 1 deletion Quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
| 变量名 | 默认值 | 说明 |
| :----- | :----- | :---- |
|main_size |16px |正文主字号|
|theme_color |#02ccba|主题色,用于标题、强调元素等文字颜色|
|theme_color |#349971|主题色,用于标题、强调元素等文字颜色|
|text_color |#555 |正文文字颜色|
|quote_color |#999 |引用框和代码框内文字颜色|
|line_height |2em |正文行高|
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
| 变量名 | 默认值 | 说明 |
| :----- | :----- | :---- |
|main_size |16px |正文主字号|
|theme_color |#02ccba|主题色,用于标题、强调元素等文字颜色|
|theme_color |#349971|主题色,用于标题、强调元素等文字颜色|
|text_color |#555 |正文文字颜色|
|quote_color |#999 |引用框和代码框内文字颜色|
|line_height |2em |正文行高|
Expand Down
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"line_height": "1.8em",
"para_spacing": "1.5em",
"text_color": "#555",
"theme_color": "#3fa944",
"theme_color": "#349971",
"quote_color": "#999",
"align": {
"h1": "left",
Expand Down
16 changes: 8 additions & 8 deletions css/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,24 @@ p {
}
strong,
b {
color: #3fa944;
color: #349971;
}
em,
i {
color: #3fa944;
color: #349971;
}
h1,
h2 {
font-weight: bold !important;
color: #3fa944 !important;
color: #349971 !important;
margin: 1.5em 3% !important;
}
h3,
h4,
h5,
h6 {
font-weight: bold !important;
color: #3fa944 !important;
color: #349971 !important;
margin: 1.5em 3% !important;
}
h1 {
Expand Down Expand Up @@ -74,7 +74,7 @@ h6 {
text-align: center !important;
}
hr {
border-top: 2px solid #3fa944;
border-top: 2px solid #349971;
margin: 3em 3%;
}
table,
Expand Down Expand Up @@ -202,8 +202,8 @@ table tr td {
table tr th {
font-weight: bold;
color: #eeeeee;
border: 1px solid #3fa944;
background-color: #3fa944;
border: 1px solid #349971;
background-color: #349971;
}
dl {
padding: 0;
Expand All @@ -218,6 +218,6 @@ dl dd {
padding: 0 10px;
}
a {
color: #3fa944;
color: #349971;
text-decoration: none;
}
22 changes: 11 additions & 11 deletions less/default.less
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
@quote_color: #999;
@main_margin: 3%;

@text_color: #555;

@para_spacing: 1.5em;

@content_align: left;
@h6_align: center;

@h2_align: left;
@content_align: left;

@h3_align: center;

@h6_align: center;
@h2_align: left;

@h4_align: center;
@h1_align: left;

@h5_align: center;

@h1_align: left;
@h4_align: center;

@main_margin: 3%;
@quote_color: #999;

@main_size: 16px;

@text_color: #555;

@theme_color: #3fa944;

@line_height: 1.8em;

@theme_color: #349971;
// 运行时程序将根据本文件中定义的格式自动生成default.less
// 如需通过less自定义样式请在本文件中修改
Expand Down
Loading

0 comments on commit 1d71a66

Please sign in to comment.