-
Notifications
You must be signed in to change notification settings - Fork 19
/
mhocolorthemenord.sty
180 lines (153 loc) · 7.71 KB
/
mhocolorthemenord.sty
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
%=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
% _ _
% | | | |
% _ __ ___ | |__ ___ | | ___ ___ _ __ ___ ___ _ __ ___
% | '_ ` _ \ | '_ \ / _ \ | |/ __| / _ \ | '_ \ / __| / _ \ | '_ ` _ \
% | | | | | || | | || (_) || |\__ \| (_) || | | | _ | (__ | (_) || | | | | |
% |_| |_| |_||_| |_| \___/ |_||___/ \___/ |_| |_|(_) \___| \___/ |_| |_| |_|
%
% File: sthlmcolors.sty
% Author: Mark H. Olson
% Website: https://mholson.com
% Github: https://github.com/mholson
%
% Created: 2021-04-25
%
% Description: A set of commands that I use to define colors based on the
% nord color theme (https://www.nordtheme.com) that can be used across all my
% latex files. I have appended this style file name with mho to ensure that
% the name is unique to other nord color themes for latex.
%
%=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
%=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
% PACKAGE OPTIONS & SETUP
%=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mhocolorthemenord}
[2021/04/25 Nord Color scheme]
\RequirePackage{xcolor}
% END =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
%=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
%=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
% NORD COLOR THEME DEFINITIONS
%=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
% >>> Polar Night
\definecolor{nordZero}{HTML}{2E3440} % nord0
\newcommand{\cnordZero}[1]{{\color{nordZero}{#1}}}
\newcommand{\crnordZero}{\color{nordZero}}
\newcommand{\crDarkBlack}{\color{nordZero}}
\newcommand{\cDarkBlack}[1]{{\color{nordZero}{#1}}}
\newcommand{\cnDarkBlack}{nordZero}
\definecolor{nordOne}{HTML}{3B4252} % nord1
\newcommand{\cnordOne}[1]{{\color{nordOne}{#1}}}
\newcommand{\crnordOne}{\color{nordOne}}
\newcommand{\crBlack}{\color{nordOne}}
\newcommand{\cBlack}[1]{{\color{nordOne}{#1}}}
\newcommand{\cnBlack}{nordOne}
\definecolor{nordTwo}{HTML}{434C5e} % nord2
\newcommand{\cnordTwo}[1]{{\color{nordTwo}{#1}}}
\newcommand{\crnordTwo}{\color{nordTwo}}
\newcommand{\crDarkGrey}{\color{nordTwo}}
\newcommand{\cDarkGrey}[1]{{\color{nordTwo}{#1}}}
\newcommand{\cnDarkGrey}{nordTwo}
\definecolor{nordThree}{HTML}{4C566A} % nord3
\newcommand{\cnordThree}[1]{{\color{nordThree}{#1}}}
\newcommand{\crnordThree}{\color{nordThree}}
\newcommand{\crGrey}{\color{nordThree}}
\newcommand{\cGrey}[1]{{\color{nordThree}{#1}}}
\newcommand{\cnGrey}{nordThree}
% >>> Snow Storm
\definecolor{nordFour}{HTML}{D8DEE9} % nord4
\newcommand{\cnordFour}[1]{{\color{nordFour}{#1}}}
\newcommand{\crnordFour}{\color{nordFour}}
\newcommand{\crDivGrey}{\color{nordFour}}
\newcommand{\cDivGrey}[1]{{\color{nordFour}{#1}}}
\newcommand{\cnDivGrey}{nordFour}
\definecolor{nordFive}{HTML}{E5E9F0} % nord5
\newcommand{\cnordFive}[1]{{\color{nordFive}{#1}}}
\newcommand{\crnordFive}{\color{nordFive}}
\newcommand{\crLightGrey}{\color{nordFive}}
\newcommand{\cLightGrey}[1]{{\color{nordFive}{#1}}}
\newcommand{\cnLightGrey}{nordFive}
\definecolor{nordSix}{HTML}{ECEFF4} % nord6
\newcommand{\cnordSix}[1]{{\color{nordSix}{#1}}}
\newcommand{\crnordSix}{\color{nordSix}}
\newcommand{\crBBGrey}{\color{nordSix}}
\newcommand{\cBGGrey}[1]{{\color{nordSix}{#1}}}
\newcommand{\cnBGGrey}{nordSix}
% >>> Frost
\definecolor{nordSeven}{HTML}{8FBCBB} % nord7
\newcommand{\cnordSeven}[1]{{\color{nordSeven}{#1}}}
\newcommand{\crnordSeven}{\color{nordSeven}}
\newcommand{\crAquaBlue}{\color{nordSeven}}
\newcommand{\cAquaBlue}[1]{{\color{nordSeven}{#1}}}
\newcommand{\cnAquaBlue}{nordSeven}
\definecolor{nordEight}{HTML}{88C0D0} % nord8
\newcommand{\cnordEight}[1]{{\color{nordEight}{#1}}}
\newcommand{\crnordEight}{\color{nordEight}}
\newcommand{\crLightBlue}{\color{nordEight}}
\newcommand{\cLightBlue}[1]{{\color{nordEight}{#1}}}
\newcommand{\cnLightBlue}{nordEight}
\definecolor{nordNine}{HTML}{81A1C1} % nord9
\newcommand{\cnordNine}[1]{{\color{nordNine}{#1}}}
\newcommand{\crnordNine}{\color{nordNine}}
\newcommand{\crBlue}{{\color{nordNine}}}
\newcommand{\cBlue}[1]{{\color{nordNine}{#1}}}
\newcommand{\cnBlue}{nordNine}
\definecolor{nordTen}{HTML}{5E81AC} % nord10
\newcommand{\cnordTen}[1]{{\color{nordTen}{#1}}}
\newcommand{\crnordTen}{\color{nordTen}}
\newcommand{\crDarkBlue}{\color{nordTen}}
\newcommand{\cDarkBlue}[1]{{\color{nordTen}{#1}}}
\newcommand{\cnDarkBlue}{nordTen}
% >>> Aurora
\definecolor{nordEleven}{HTML}{BF616A} % nord11
\newcommand{\cnordEleven}[1]{{\color{nordEleven}{#1}}}
\newcommand{\crnordEleven}{\color{nordEleven}}
\newcommand{\crRed}{\color{nordEleven}}
\newcommand{\cRed}[1]{{\color{nordEleven}{#1}}}
\newcommand{\cnRed}{nordEleven}
\definecolor{nordTwelve}{HTML}{D08770} % nord12
\newcommand{\cnordTwelve}[1]{{\color{nordTwelve}{#1}}}
\newcommand{\crnordTwelve}{\color{nordTwelve}}
\newcommand{\crOrange}{\color{nordTwelve}}
\newcommand{\cOrange}[1]{{\color{nordTwelve}{#1}}}
\newcommand{\cnOrange}{nordTwelve}
\definecolor{nordThirteen}{HTML}{EBCB8B} % nord13
\newcommand{\cnordThirteen}[1]{{\color{nordThirteen}{#1}}}
\newcommand{\crnordThirteen}{\color{nordThirteen}}
\newcommand{\crYellow}{\color{nordThirteen}}
\newcommand{\cYellow}[1]{{\color{nordThirteen}{#1}}}
\newcommand{\cnYellow}{nordThirteen}
\definecolor{nordFourteen}{HTML}{A3BE8C} % nord14
\newcommand{\cnordFourteen}[1]{{\color{nordFourteen}{#1}}}
\newcommand{\crnordFourteen}{\color{nordFourteen}}
\newcommand{\crGreen}{\color{nordFourteen}}
\newcommand{\cGreen}[1]{{\color{nordFourteen}{#1}}}
\newcommand{\cnGreen}{nordFourteen}
\definecolor{nordFifteen}{HTML}{B48EAD} % nord15
\newcommand{\cnordFifteen}[1]{{\color{nordFifteen}{#1}}}
\newcommand{\crnordFifteen}{\color{nordFifteen}}
\newcommand{\crPurple}{\color{nordFifteen}}
\newcommand{\cPurple}[1]{{\color{nordFifteen}{#1}}}
\newcommand{\cnPurple}{nordFifteen}
% END =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
%=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
%=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
% ADDITIONAL COLOR THEME DEFINITIONS
%=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
% >>> sthml Greens
\definecolor{sthlmPrimaryLightGreen}{HTML}{66939c}
\newcommand{\csthlmPrimaryLightGreen}[1]{{\color{sthlmPrimaryLightGreen}{#1}}}
\definecolor{sthlmPrimaryGreen}{HTML}{004b5a}
\newcommand{\csthlmPrimaryGreen}[1]{{\color{sthlmPrimaryGreen}{#1}}}
\newcommand{\crLightGreen}{\color{sthlmPrimaryLightGreen}}
\newcommand{\cLightGreen}[1]{{\color{sthlmPrimaryLightGreen}{#1}}}
\newcommand{\cnLightGreen}{sthlmPrimaryLightGreen}
\newcommand{\crDarkGreen}{\color{sthlmPrimaryDarkGreen}}
\newcommand{\cDarkGreen}[1]{{\color{sthlmPrimaryGreen}{#1}}}
\newcommand{\cnDarkGreen}{sthlmPrimaryGreen}
\endinput
%=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
% End of file `nordcolors.sty'.
%=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=