-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathovergrowth-light.scss
111 lines (105 loc) · 4.35 KB
/
overgrowth-light.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: Overgrowth (light variant)
* Author: Protesilaos Stavrou <[email protected]>
* Description: Tested with Rouge-enabled Jekyll sites
* Theme URL: https://protesilaos.com/overgrowth
*/
// Variables ----------------------------
$dbg: #233F34; // Dark background
$dhl: #334F44; // Dark highlight
$dt2: #637F74; // Dark bg text secondary
$dt1: #93AFA4; // Dark bg text primary
$lbg: #E6E5D2; // Light background
$lhl: #D6D5C2; // Light highlight
$lt2: #A6A592; // Light bg text secondary
$lt1: #767562; // Light bg text primary
$red: #CA6A4A; // Red
$ora: #BB7628; // Orange
$yel: #A8950D; // Yellow
$gre: #4BA212; // Green
$cya: #15B59B; // Cyan
$blu: #359FCA; // Blue
$vio: #8A6EBB; // Violet
$mag: #BB6E8A; // Magenta
// Base Defaults ------------------------
$text1: $lt1;
$text2: $lt2;
$background: $lbg;
$highlight: $lhl;
// Colour order
$primary1: #4BA212;
$primary2: #BB7628;
$primary3: #CA6A4A;
$secondary1: #A8950D;
$secondary2: #BB6E8A;
$tertiary1: #359FCA;
$tertiary2: #8A6EBB;
$tertiary3: #15B59B;
// 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 */
}