aboutsummaryrefslogtreecommitdiff
path: root/_scss
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2019-05-04 03:51:17 +0300
committerValentin Popov <info@valentineus.link>2019-05-04 03:51:17 +0300
commit8ecf890fa1de0a4ea069a452469eb9d408cf0938 (patch)
treec5a17fff0a68bb75cefb6997cb149b2d40bf6a05 /_scss
parent6364c265d30eedccc44ec3506184d7693a61817d (diff)
downloadpopov.link-8ecf890fa1de0a4ea069a452469eb9d408cf0938.tar.xz
popov.link-8ecf890fa1de0a4ea069a452469eb9d408cf0938.zip
Added a perfect dark theme
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_scss')
-rw-r--r--_scss/base/_highlight.scss20
-rw-r--r--_scss/base/_sakura.scss9
-rw-r--r--_scss/components/_core.scss2
-rw-r--r--_scss/highlight/_main.scss115
4 files changed, 36 insertions, 110 deletions
diff --git a/_scss/base/_highlight.scss b/_scss/base/_highlight.scss
index c801d16..c3cf783 100644
--- a/_scss/base/_highlight.scss
+++ b/_scss/base/_highlight.scss
@@ -1,20 +1,4 @@
-$color00: #000000;
-$color01: #000080;
-$color02: #0000FF;
-$color03: #008080;
-$color04: #008800;
-$color05: #555555;
-$color06: #800080;
-$color07: #888888;
-$color08: #999999;
-$color09: #a61717;
-$color10: #aa0000;
-$color11: #aaaaaa;
-$color12: #bbbbbb;
-$color13: #ddffdd;
-$color14: #e3d2d2;
-$color15: #FF0000;
-$color16: #ffdddd;
-$color17: #ffffcc;
+$color00: rgb(255, 0, 0);
+$color01: rgb(255, 255, 204);
@import 'highlight/main';
diff --git a/_scss/base/_sakura.scss b/_scss/base/_sakura.scss
index e35d59b..3a995b7 100644
--- a/_scss/base/_sakura.scss
+++ b/_scss/base/_sakura.scss
@@ -1,8 +1,9 @@
$color-bg-alt: rgba(0, 0, 0, .09);
-$color-bg: rgba(235, 237, 236, 1);
-$color-blossom: rgba(76, 88, 112, 1);
-$color-fade: rgba(162, 169, 175, 1);
-$color-text: rgba(61, 61, 59, 1);
+$color-bg: rgb(30, 32, 33);
+$color-blossom: rgb(77, 99, 140);
+$color-fade: rgb(40, 54, 84);
+$color-html:rgb(24, 26, 27);
+$color-text: rgb(245, 245, 245);
$font-family-sans-serif: '-apple-system', BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Arial', sans-serif;
$font-size-base: 1.6rem;
diff --git a/_scss/components/_core.scss b/_scss/components/_core.scss
index 7a08e9c..497b226 100644
--- a/_scss/components/_core.scss
+++ b/_scss/components/_core.scss
@@ -8,6 +8,8 @@
}
html {
+ background-color: $color-html;
+ background-image: url('/assets/background.svg');
height: 100%;
overflow-y: scroll;
}
diff --git a/_scss/highlight/_main.scss b/_scss/highlight/_main.scss
index f8ee252..5e999b9 100644
--- a/_scss/highlight/_main.scss
+++ b/_scss/highlight/_main.scss
@@ -1,36 +1,22 @@
.highlight {
.c {
- color: $color04;
font-style: italic;
}
.c1 {
- color: $color04;
font-style: italic;
}
.cm {
- color: $color04;
font-style: italic;
}
- .cp {
- color: $color03;
- }
-
.cs {
- color: $color04;
- font-weight: bold;
+ font-style: italic;
}
.err {
- background-color: $color14;
- color: $color09;
- }
-
- .gd {
- background-color: $color16;
- color: $color00;
+ border: 1px solid $color00;
}
.ge {
@@ -38,107 +24,62 @@
}
.gh {
- color: $color08;
- }
-
- .gi {
- background-color: $color13;
- color: $color00;
- }
-
- .go {
- color: $color07;
+ font-weight: bold;
}
.gp {
- color: $color05;
- }
-
- .gr {
- color: $color10;
+ font-weight: bold;
}
.gs {
font-weight: bold;
}
- .gt {
- color: $color10;
- }
-
.gu {
- color: $color11;
+ font-weight: bold;
}
.hll {
- background-color: $color17;
- }
-
- .il {
- color: $color02;
+ background-color: $color01;
}
.k {
- color: $color01;
font-weight: bold;
}
.kc {
- color: $color01;
font-weight: bold;
}
.kd {
- color: $color01;
font-weight: bold;
}
.kn {
- color: $color01;
- font-weight: bold;
- }
-
- .kp {
- color: $color01;
font-weight: bold;
}
.kr {
- color: $color01;
font-weight: bold;
}
- .kt {
- color: $color01;
+ .nc {
font-weight: bold;
}
- .m {
- color: $color02;
- }
-
- .mf {
- color: $color02;
- }
-
- .mh {
- color: $color02;
- }
-
- .mi {
- color: $color02;
+ .ne {
+ font-weight: bold;
}
- .mo {
- color: $color02;
+ .ni {
+ font-weight: bold;
}
- .na {
- color: $color15;
+ .nn {
+ font-weight: bold;
}
.nt {
- color: $color01;
font-weight: bold;
}
@@ -147,54 +88,52 @@
}
.s {
- color: $color02;
+ font-style: italic;
}
.s1 {
- color: $color02;
+ font-style: italic;
}
.s2 {
- color: $color02;
+ font-style: italic;
}
.sb {
- color: $color02;
+ font-style: italic;
}
.sc {
- color: $color06;
+ font-style: italic;
}
.sd {
- color: $color02;
+ font-style: italic;
}
.se {
- color: $color02;
+ font-style: italic;
+ font-weight: bold;
}
.sh {
- color: $color02;
+ font-style: italic;
}
.si {
- color: $color02;
+ font-style: italic;
+ font-weight: bold;
}
.sr {
- color: $color02;
+ font-style: italic;
}
.ss {
- color: $color02;
+ font-style: italic;
}
.sx {
- color: $color02;
- }
-
- .w {
- color: $color12;
+ font-style: italic;
}
}