summaryrefslogtreecommitdiff
path: root/assets/css/theme-vars.css
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-07-21 14:20:35 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-07-21 14:20:35 +0530
commit15d7a4aabdf71ac85d88dd08eda27e5306d853fe (patch)
treef5332cb21ba6d16819419bee298361be110f3bf0 /assets/css/theme-vars.css
parenta0720675754dc8e786871440317090677f2e2dfa (diff)
assets: separate style.css into parts
Diffstat (limited to 'assets/css/theme-vars.css')
-rw-r--r--assets/css/theme-vars.css43
1 files changed, 43 insertions, 0 deletions
diff --git a/assets/css/theme-vars.css b/assets/css/theme-vars.css
new file mode 100644
index 0000000..c1876ee
--- /dev/null
+++ b/assets/css/theme-vars.css
@@ -0,0 +1,43 @@
+/* Theme
+-------------------------------------------------- */
+:root {
+ --gap: 24px;
+ --content-gap: 40px;
+ --nav-width: 1024px;
+ --main-width: 640px;
+ --header-height: 60px;
+ --footer-height: 60px;
+ --radius: 8px;
+
+ --theme: #fff;
+ --entry: #fff;
+ --primary: rgba(0, 0, 0, 0.88);
+ --secondary: rgba(0, 0, 0, 0.56);
+ --tertiary: rgba(0, 0, 0, 0.16);
+ --content: rgba(0, 0, 0, 0.88);
+
+ --hljs-bg: #1c1d21;
+ --code-bg: #f5f5f5;
+ --border: #eee;
+}
+
+.dark {
+ --theme: #1d1e20;
+ --entry: #2e2e33;
+ --primary: rgba(255, 255, 255, 0.84);
+ --secondary: rgba(255, 255, 255, 0.56);
+ --tertiary: rgba(255, 255, 255, 0.16);
+ --content: rgba(255, 255, 255, 0.64);
+
+ --hljs-bg: #2e2e33;
+ --code-bg: #37383e;
+ --border: #5b5d67;
+}
+
+.list {
+ background: var(--code-bg);
+}
+
+.dark.list {
+ background: var(--theme);
+} \ No newline at end of file