aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjakobst1n <jakob.stendahl@outlook.com>2023-03-06 11:44:25 +0000
committerjakobst1n <jakob.stendahl@outlook.com>2023-03-06 11:44:25 +0000
commit9dbbe4c664a37c73a48429cd6984b3266a7c672a (patch)
tree1df38b51a7c5b4b7508008a2b03f06f9eecc2e31
parentc5bad3cc2220594c5dd438b535bd89102bfb6feb (diff)
downloadUiO_profile-9dbbe4c664a37c73a48429cd6984b3266a7c672a.tar.gz
UiO_profile-9dbbe4c664a37c73a48429cd6984b3266a7c672a.zip
Add color options
-rw-r--r--UiO_profile_fp.sty17
1 files changed, 14 insertions, 3 deletions
diff --git a/UiO_profile_fp.sty b/UiO_profile_fp.sty
index d08ac60..2c5b596 100644
--- a/UiO_profile_fp.sty
+++ b/UiO_profile_fp.sty
@@ -43,6 +43,17 @@
\ExecuteOptions{norsk}
\ProcessOptions \relax
+\definecolor{uiopfp@blue}{RGB}{124, 155, 206}
+\definecolor{uiopfp@light@blue}{RGB}{223, 231, 243}
+\definecolor{uiopfp@pink}{RGB}{251, 102, 102}
+\definecolor{uiopfp@light@pink}{RGB}{253, 224, 225}
+\definecolor{uiopfp@green}{RGB}{116, 198, 165}
+\definecolor{uiopfp@light@green}{RGB}{197, 228, 207}
+\definecolor{uiopfp@gray}{RGB}{220, 221, 223}
+\definecolor{uiopfp@grey}{RGB}{220, 221, 223}
+\definecolor{uiopfp@light@gray}{RGB}{255, 255, 255}
+\definecolor{uiopfp@light@grey}{RGB}{255, 255, 255}
+
\RequirePackage{tikz}
\RequirePackage[export]{adjustbox}
\RequirePackage{color, eso-pic, graphicx, xifthen, keyval}
@@ -72,7 +83,7 @@
% Default values:
\def \uiopfp@author {\@author}
\def \uiopfp@bind {0}
-\def \uiopfp@color {blue}
+\def \uiopfp@color {gray}
\providecommand{\uiopfp@date}{\uiopfp@term~\uiopfp@year}
\def \uiopfp@dept {\csname uiopfp@dept@\uiopfp@lang \endcsname}
\def \uiopfp@fac {\csname uiopfp@fac@\uiopfp@lang \endcsname}
@@ -127,7 +138,7 @@
\begin{titlepage}
\begin{tikzpicture}[remember picture,overlay]
% Bakgrunn
- \node (back names) [shape=rectangle, fill=UiOFrontpageBackground, minimum height=\paperheight, minimum width=\paperwidth, anchor=south west] at (current page.south west) {};
+ \node (back names) [shape=rectangle, fill={uiopfp@light@\uiopfp@color}, minimum height=\paperheight, minimum width=\paperwidth, anchor=south west] at (current page.south west) {};
% Segl
\node[inner sep=0pt, anchor=south east] (uioname) at ([shift={(-10mm,10mm)}]back names.south east) {
@@ -143,7 +154,7 @@
};
% "Ribbon" bakgrunn
- \node (names) [shape=rectangle, fill=UiOFrontpagePrimary, minimum height=.25\paperheight, minimum width=\paperwidth, anchor=north west] at (current page.north west) {};
+ \node (names) [shape=rectangle, fill={uiopfp@\uiopfp@color}, minimum height=.25\paperheight, minimum width=\paperwidth, anchor=north west] at (current page.north west) {};
% Navnetrekk
\node[inner sep=0pt, anchor=north west] (uioname) at ([shift={(10mm,-10mm)}]names.north west) {