-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfortuna-dark.scss
111 lines (105 loc) · 4.34 KB
/
fortuna-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: Fortuna (dark variant)
* Author: Protesilaos Stavrou <[email protected]>
* Description: Tested with Rouge-enabled Jekyll sites
* Theme URL: https://protesilaos.com/fortuna
*/
// Variables ----------------------------
$dbg: #453731; // Dark background
$dhl: #554741; // Dark highlight
$dt2: #837858; // Dark bg text secondary
$dt1: #98b4ac; // Dark bg text primary
$lbg: #f2f1ef; // Light background
$lhl: #e2e1df; // Light highlight
$lt2: #78849c; // Light bg text secondary
$lt1: #5d6348; // Light bg text primary
$red: #da5447; // Red
$ora: #dc7926; // Orange
$yel: #db9d0b; // Yellow
$gre: #78ad28; // Green
$cya: #16adac; // Cyan
$blu: #3894cd; // Blue
$vio: #aa8bee; // Violet
$mag: #dc6788; // Magenta
// Base Defaults ------------------------
$text1: $dt1;
$text2: $dt2;
$background: $dbg;
$highlight: $dhl;
// Colour order
$primary1: #dc7926;
$primary2: #db9d0b;
$primary3: #16adac;
$secondary1: #78ad28;
$secondary2: #3894cd;
$tertiary1: #aa8bee;
$tertiary2: #dc6788;
$tertiary3: #da5447;
// 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 */
}