From 778b4e72c2b0247649fdbae92cb0e322c0dc8c39 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 11 Oct 2019 22:52:19 +0100 Subject: [PATCH] Initial calendar themes --- theme | 90 ++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 48 deletions(-) diff --git a/theme b/theme index 5ba4ac62..83227e49 100755 --- a/theme +++ b/theme @@ -57,20 +57,20 @@ if [[ "$themeName" == 'purple'* ]]; then sed -i "s|color: #FFFFFE;|color: #1f152d;|g" "$filename" filename=calendar.css cp "epicyon-$filename" "$filename" - sed -i "s|--main-bg-color:.*|--main-bg-color: #1f152d;|g" "$filename" - sed -i "s|--main-bg-color-reply:.*|--main-bg-color-reply: #1a142d;|g" "$filename" - sed -i "s|--main-bg-color-report:.*|--main-bg-color-report: #12152d;|g" "$filename" - sed -i "s|--main-header-color-roles:.*|--main-header-color-roles: #1f192d;|g" "$filename" - sed -i "s|--main-fg-color:.*|--main-fg-color: #f98bb0;|g" "$filename" - sed -i "s|--border-color:.*|--border-color: #3f2145;|g" "$filename" - sed -i "s|--main-link-color:.*|--main-link-color: #ff42a0;|g" "$filename" - sed -i "s|--main-visited-color:.*|--main-visited-color: #f93bb0;|g" "$filename" - sed -i "s|--time-color:.*|--time-color: #f98bb0;|g" "$filename" - sed -i "s|--button-selected:.*|--button-selected: #c042a0;|g" "$filename" - sed -i "s|--button-background:.*|--button-background: #ff42a0;|g" "$filename" - sed -i "s|--button-text:.*|--button-text: white;|g" "$filename" - sed -i "s|background-color: #554;|background-color: #ff42a0;|g" "$filename" - sed -i "s|color: #FFFFFE;|color: #1f152d;|g" "$filename" + sed -i "s|--main-bg-color:.*|--main-bg-color: #282c37;|g" "$filename" + sed -i "s|--calendar-bg-color:.*|--calendar-bg-color: #eee;|g" "$filename" + sed -i "s|--lines-color:.*|--lines-color: black;|g" "$filename" + sed -i "s|--day-number:.*|--day-number: black;|g" "$filename" + sed -i "s|--day-number2:.*|--day-number2: #282c37;|g" "$filename" + sed -i "s|--time-color:.*|--time-color: black;|g" "$filename" + sed -i "s|--place-color:.*|--place-color: black;|g" "$filename" + sed -i "s|--event-color:.*|--event-color: #282c37;|g" "$filename" + sed -i "s|--today-foreground:.*|--today-foreground: white;|g" "$filename" + sed -i "s|--today-circle:.*|--today-circle: red;|g" "$filename" + sed -i "s|--event-background:.*|--event-background: orange;|g" "$filename" + sed -i "s|--event-foreground:.*|--event-foreground: white;|g" "$filename" + sed -i "s|--title-text:.*|--title-text: #282c37;|g" "$filename" + sed -i "s|--title-background:.*|--title-background: #ccc;|g" "$filename" filename=login.css cp "epicyon-$filename" "$filename" sed -i "s|--main-bg-color:.*|--main-bg-color: #1f152d;|g" "$filename" @@ -151,23 +151,20 @@ if [[ "$themeName" == 'hack'* || "$themeName" == 'hax'* ]]; then sed -i "s|color: #FFFFFE;|color: green;|g" "$filename" filename=calendar.css cp "epicyon-$filename" "$filename" - sed -i "s|--main-bg-color:.*|--main-bg-color: black;|g" "$filename" - sed -i "s|--main-bg-color-reply:.*|--main-bg-color-reply: #030202;|g" "$filename" - sed -i "s|--main-bg-color-report:.*|--main-bg-color-report: #050202;|g" "$filename" - sed -i "s|--main-header-color-roles:.*|--main-header-color-roles: #1f192d;|g" "$filename" - sed -i "s|--main-fg-color:.*|--main-fg-color: green;|g" "$filename" - sed -i "s|--border-color:.*|--border-color: darkgreen;|g" "$filename" - sed -i "s|--main-link-color:.*|--main-link-color: #266020;|g" "$filename" - sed -i "s|--main-visited-color:.*|--main-visited-color: #3c8234;|g" "$filename" - sed -i "s|--time-color:.*|--time-color: green;|g" "$filename" - sed -i "s|--button-selected:.*|--button-selected: #063200;|g" "$filename" - sed -i "s|--button-background:.*|--button-background: #062200;|g" "$filename" - sed -i "s|--button-text:.*|--button-text: green;|g" "$filename" - sed -i "s|--button-corner-radius:.*|--button-corner-radius: 4px;|g" "$filename" - sed -i "s|--timeline-border-radius:.*|--timeline-border-radius: 4px;|g" "$filename" - sed -i "s|font-family:.*|font-family: Courier;|g" "$filename" - sed -i "s|background-color: #554;|background-color: #062200;|g" "$filename" - sed -i "s|color: #FFFFFE;|color: green;|g" "$filename" + sed -i "s|--main-bg-color:.*|--main-bg-color: #282c37;|g" "$filename" + sed -i "s|--calendar-bg-color:.*|--calendar-bg-color: #eee;|g" "$filename" + sed -i "s|--lines-color:.*|--lines-color: black;|g" "$filename" + sed -i "s|--day-number:.*|--day-number: black;|g" "$filename" + sed -i "s|--day-number2:.*|--day-number2: #282c37;|g" "$filename" + sed -i "s|--time-color:.*|--time-color: black;|g" "$filename" + sed -i "s|--place-color:.*|--place-color: black;|g" "$filename" + sed -i "s|--event-color:.*|--event-color: #282c37;|g" "$filename" + sed -i "s|--today-foreground:.*|--today-foreground: white;|g" "$filename" + sed -i "s|--today-circle:.*|--today-circle: red;|g" "$filename" + sed -i "s|--event-background:.*|--event-background: orange;|g" "$filename" + sed -i "s|--event-foreground:.*|--event-foreground: white;|g" "$filename" + sed -i "s|--title-text:.*|--title-text: #282c37;|g" "$filename" + sed -i "s|--title-background:.*|--title-background: #ccc;|g" "$filename" filename=login.css cp "epicyon-$filename" "$filename" sed -i "s|--main-bg-color:.*|--main-bg-color: black;|g" "$filename" @@ -254,23 +251,20 @@ if [[ "$themeName" == 'light'* ]]; then sed -i "s|color: #FFFFFE;|color: black;|g" "$filename" filename=calendar.css cp "epicyon-$filename" "$filename" - sed -i 's|rgba(0, 0, 0, 0.5)|rgba(0, 0, 0, 0.0)|g' "$filename" - sed -i "s|--main-bg-color:.*|--main-bg-color: #e6ebf0;|g" "$filename" - sed -i "s|--main-bg-color-reply:.*|--main-bg-color-reply: #e0dbf0;|g" "$filename" - sed -i "s|--main-bg-color-report:.*|--main-bg-color-report: #e3dbf0;|g" "$filename" - sed -i "s|--main-header-color-roles:.*|--main-header-color-roles: #ebebf0;|g" "$filename" - sed -i "s|--main-fg-color:.*|--main-fg-color: #2d2c37;|g" "$filename" - sed -i "s|--border-color:.*|--border-color: #c0cdd9;|g" "$filename" - sed -i "s|--main-link-color:.*|--main-link-color: #2a2c37;|g" "$filename" - sed -i "s|--main-visited-color:.*|--main-visited-color: #232c37;|g" "$filename" - sed -i "s|--time-color:.*|--time-color: #555;|g" "$filename" - sed -i "s|--text-entry-foreground:.*|--text-entry-foreground: #111;|g" "$filename" - sed -i "s|--text-entry-background:.*|--text-entry-background: white;|g" "$filename" - sed -i "s|--font-color-header:.*|--font-color-header: black;|g" "$filename" - sed -i "s|--dropdown-bg-color:.*|--dropdown-bg-color: white;|g" "$filename" - sed -i "s|--dropdown-bg-color-hover:.*|--dropdown-bg-color-hover: lightgrey;|g" "$filename" - sed -i "s|background-color: #554;|background-color: white;|g" "$filename" - sed -i "s|color: #FFFFFE;|color: black;|g" "$filename" + sed -i "s|--main-bg-color:.*|--main-bg-color: #282c37;|g" "$filename" + sed -i "s|--calendar-bg-color:.*|--calendar-bg-color: #eee;|g" "$filename" + sed -i "s|--lines-color:.*|--lines-color: black;|g" "$filename" + sed -i "s|--day-number:.*|--day-number: black;|g" "$filename" + sed -i "s|--day-number2:.*|--day-number2: #282c37;|g" "$filename" + sed -i "s|--time-color:.*|--time-color: black;|g" "$filename" + sed -i "s|--place-color:.*|--place-color: black;|g" "$filename" + sed -i "s|--event-color:.*|--event-color: #282c37;|g" "$filename" + sed -i "s|--today-foreground:.*|--today-foreground: white;|g" "$filename" + sed -i "s|--today-circle:.*|--today-circle: red;|g" "$filename" + sed -i "s|--event-background:.*|--event-background: orange;|g" "$filename" + sed -i "s|--event-foreground:.*|--event-foreground: white;|g" "$filename" + sed -i "s|--title-text:.*|--title-text: #282c37;|g" "$filename" + sed -i "s|--title-background:.*|--title-background: #ccc;|g" "$filename" filename=login.css cp "epicyon-$filename" "$filename" sed -i 's|rgba(0, 0, 0, 0.5)|rgba(0, 0, 0, 0.0)|g' "$filename"