Summary Files Commits Branches @commit @diff @stats
path: root / src / variables.less
diff options
context:
space:
mode:
Commit66c492fd05c2d720c81e2be8d6845560b868e7ff (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-08-28 13:30:48 +0800
Committer
 GitHub <noreply@github.com>
2017-08-28 13:30:48 +0800
Files8547f648c647b8cf82c81a731c95c5b8e2d06240 /src/variables.less
Spectre-Dark-Gruvbox-0.3.2.tar
Spectre-Dark-Gruvbox-0.3.2.tar.gz
Spectre-Dark-Gruvbox-0.3.2.zip
Parent7395257d70d8c60b5c4499f297f03b75db5af230 (diff)
Parent00f87b240e52065f6a07641999315aafb89be781 (diff)
Merge pull request #262 from picturepan2/0.3.2 v0.3.2
0.3.2
1 files changed, 7 insertions, 6 deletions
-rw-r--r--src/variables.less13
diff --git a/src/variables.less b/src/variables.less
index fb2bcc8..d146459 100644
--- a/src/variables.less
+++ b/src/variables.less
@@ -4,7 +4,7 @@
@html-font-size: 20px;
@html-line-height: 1.428571429;
@body-bg: @bg-color-light;
-@body-font-color: @dark-color;
+@body-font-color: lighten(@dark-color, 5%);
@font-size: .7rem;
@font-size-sm: .6rem;
@font-size-lg: .8rem;
@@ -13,6 +13,7 @@
// Fonts
// Credit: https://www.smashingmagazine.com/2015/11/using-system-ui-fonts-practical-guide/
@base-font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto;
+@mono-font-family: "SF Mono", "Segoe UI Mono", "Roboto Mono", Menlo, Courier, monospace;
@fallback-font-family: "Helvetica Neue", sans-serif;
@cjk-zh-font-family: @base-font-family, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", @fallback-font-family;
@cjk-jp-font-family: @base-font-family, "Hiragino Sans", "Hiragino Kaku Gothic Pro", "Yu Gothic", YuGothic, Meiryo, @fallback-font-family;
@@ -20,7 +21,7 @@
@body-font-family: @base-font-family, @fallback-font-family;
// Unit sizes
-@unit-0: .05rem;
+@unit-o: .05rem;
@unit-h: .1rem;
@unit-1: .2rem;
@unit-2: .4rem;
@@ -50,7 +51,7 @@
@control-min-width: 180px;
@control-max-width: 320px;
@border-radius: @unit-h;
-@border-width: @unit-0;
+@border-width: @unit-o;
@border-width-lg: @unit-h;
// Colors
@@ -79,9 +80,9 @@
@bg-color-light: @light-color;
// Control colors
-@control-color-success: #32b643;
-@control-color-warning: #ffb700;
-@control-color-error: #e85600;
+@success-color: #32b643;
+@warning-color: #ffb700;
+@error-color: #e85600;
// Other colors
@code-color: #e06870;