-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtermina-dark.scss
111 lines (105 loc) · 4.34 KB
/
termina-dark.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
/*
* Name: Termina (dark variant)
* Author: Protesilaos Stavrou <[email protected]>
* Description: Tested with Rouge-enabled Jekyll sites
* Theme URL: https://protesilaos.com/termina
*/
// Variables ----------------------------
$dbg: #2a2235; // Dark background
$dhl: #3a3245; // Dark highlight
$dt2: #7a7b65; // Dark bg text secondary
$dt1: #7a929a; // Dark bg text primary
$lbg: #f0f1ef; // Light background
$lhl: #e0e1df; // Light highlight
$lt2: #7e96a8; // Light bg text secondary
$lt1: #53623e; // Light bg text primary
$red: #a24e37; // Red
$ora: #9d7a47; // Orange
$yel: #94960d; // Yellow
$gre: #749234; // Green
$cya: #529298; // Cyan
$blu: #5a7ca8; // Blue
$vio: #8a6fa2; // Violet
$mag: #a3636d; // Magenta
// Base Defaults ------------------------
$text1: $dt1;
$text2: $dt2;
$background: $dbg;
$highlight: $dhl;
// Colour order
$primary1: #749234;
$primary2: #8a6fa2;
$primary3: #9d7a47;
$secondary1: #529298;
$secondary2: #5a7ca8;
$tertiary1: #a3636d;
$tertiary2: #94960d;
$tertiary3: #a24e37;
// Syntax -------------------------------
// NOTE Classes are prefixed with .highlight
// NOTE This is the default for the rouge gem
.highlight {
background: $background;
color: $text1;
padding: 1rem;
.c { color: $t2; font-style: italic } /* Comment */
.err { color: $background; background-color: $tertiary3 } /* Error */
.k { color: $primary1 } /* Keyword */
.o { color: $text1; font-weight: bold } /* Operator */
.cm { color: $t2; font-style: italic } /* Comment.Multiline */
.cp { color: $t2; font-weight: bold; font-style: italic } /* Comment.Preproc */
.c1 { color: $t2; font-style: italic } /* Comment.Single */
.cs { color: $t2; font-weight: bold; font-style: italic } /* Comment.Special */
.gd { color: $background; background-color: $tertiary3 } /* Generic.Deleted */
.ge { color: $text1; font-style: italic } /* Generic.Emph */
.gr { color: $tertiary3 } /* Generic.Error */
.gh { color: $text1 } /* Generic.Heading */
.gi { color: $text1; background-color: $highlight } /* Generic.Inserted */
.go { color: $primary2 } /* Generic.Output */
.gp { color: $t2 } /* Generic.Prompt */
.gs { font-weight: bold } /* Generic.Strong */
.gu { color: $text1 } /* Generic.Subheading */
.gt { color: $primary1 } /* Generic.Traceback */
.kc { color: $primary2 } /* Keyword.Constant */
.kd { color: $primary2 } /* Keyword.Declaration */
.kn { color: $primary2 } /* Keyword.Namespace */
.kp { color: $primary2 } /* Keyword.Pseudo */
.kr { color: $primary2 } /* Keyword.Reserved */
.kt { color: $tertiary2 } /* Keyword.Type */
.m { color: $primary3 } /* Literal.Number */
.s { color: $secondary1 } /* Literal.String */
.na { color: $primary2 } /* Name.Attribute */
.nb { color: $primary2 } /* Name.Builtin */
.nc { color: $primary2 } /* Name.Class */
.no { color: $primary2 } /* Name.Constant */
.nd { color: $secondary2 } /* Name.Decorator */
.ni { color: $secondary2 } /* Name.Entity */
.ne { color: $secondary2; font-weight: bold } /* Name.Exception */
.nf { color: $primary1; font-weight: bold } /* Name.Function */
.nl { color: $text1 } /* Name.Label */
.nn { color: $text1 } /* Name.Namespace */
.nt { color: $primary1 } /* Name.Tag */
.nv { color: $primary3 } /* Name.Variable */
.ow { color: $text1; font-weight: bold } /* Operator.Word */
.w { color: $text1 } /* Text.Whitespace */
.mf { color: $primary3 } /* Literal.Number.Float */
.mh { color: $primary3 } /* Literal.Number.Hex */
.mi { color: $primary3 } /* Literal.Number.Integer */
.mo { color: $primary3 } /* Literal.Number.Oct */
.sb { color: $secondary1 } /* Literal.String.Backtick */
.sc { color: $secondary1 } /* Literal.String.Char */
.sd { color: $secondary1 } /* Literal.String.Doc */
.s2 { color: $secondary1 } /* Literal.String.Double */
.se { color: $tertiary1 } /* Literal.String.Escape */
.sh { color: $tertiary1 } /* Literal.String.Heredoc */
.si { color: $tertiary1 } /* Literal.String.Interpol */
.sx { color: $tertiary2 } /* Literal.String.Other */
.sr { color: $tertiary1 } /* Literal.String.Regex */
.s1 { color: $secondary1 } /* Literal.String.Single */
.ss { color: $secondary1 } /* Literal.String.Symbol */
.bp { color: $secondary2 } /* Name.Builtin.Pseudo */
.vc { color: $primary1 } /* Name.Variable.Class */
.vg { color: $primary1 } /* Name.Variable.Global */
.vi { color: $primary1 } /* Name.Variable.Instance */
.il { color: $primary3 } /* Literal.Number.Integer.Long */
}