-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblau.scss
120 lines (106 loc) · 4.36 KB
/
blau.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
111
112
113
114
115
116
117
118
119
120
/*
Name: Blau
Author: Protesilaos Stavrou (https://protesilaos.com)
Description: Tested with Rouge-enabled Jekyll sites
Theme URL: https://protesilaos.com/blau
*/
// Variables ----------------------------
$dbg: #28282F; // Dark background
$dhl: #38383F; // Dark highlight
$dt2: #68686F; // Dark bg text secondary
$dt1: #98989F; // Dark bg text primary
$lbg: #DFDCDE; // Light background
$lhl: #CFCCCE; // Light highlight
$lt2: #7F7C7E; // Light bg text secondary
$lt1: #4F4C4E; // Light bg text primary
$red: #A43D56; // Red
$ora: #BB651B; // Orange
$yel: #BB8B11; // Yellow
$gre: #3BA67A; // Green
$cya: #2F95A5; // Cyan
$blu: #2F7CB1; // Blue
$vio: #5E6FB5; // Violet
$mag: #A5657A; // Magenta
// Base Defaults ------------------------
// Just swap $l with $d in the following four lines to switch between light/dark
$text1: $lt1;
$text2: $lt2;
$background: $lbg;
$highlight: $lhl;
// Colour order
// No need to configure
$primary1: $red;
$primary2: $vio;
$primary3: $blu;
$secondary1: $cya;
$secondary2: $mag;
$tertiary1: $yel;
$tertiary2: $gre;
$tertiary3: $ora;
// Syntax -------------------------------
// Classes are prefixed with .highlight
.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 */
}