Skip to content

Commit

Permalink
changed colors + added logo for Bork
Browse files Browse the repository at this point in the history
  • Loading branch information
Lung committed Sep 21, 2023
1 parent 94c37fc commit 07e009b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 12 deletions.
Binary file added public/logo_obrok23_200.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/Event/EventType/Obrok/EventTypeObrok.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ public function getTranslationFilePaths(): array
];
}

public function getEventSpecificStyles(): string
{
$styles = file_get_contents(__DIR__ . '/stylesObrok.css');
if ($styles === false) {
return '';
}

return $styles;
}

/**
* @inheritDoc
*/
Expand Down
24 changes: 12 additions & 12 deletions src/Event/EventType/Obrok/stylesObrok.css
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
@media (prefers-color-scheme: light) {
:root {
background: #ede9e6;
--color-background: #ede9e6;
--color-card-background: #f9f9f9;
--color-input-background: #ffffff;
--color-main: #dd6700;
--color-accent: #d43b00;
--color-fading: #f2bb56;
--color-light: #e37f00;
--color-dark: #ae0e13;
--color-main: #274b80;
--color-accent: #486e9b;
--color-fading: #56a3c9;
--color-light: #d74b33;
--color-dark: #c83817;
--color-grey: #818181;
}
}

@media (prefers-color-scheme: dark) {
:root {
background: #212121;
--color-background: #212121;
--color-card-background: #252525;
--color-input-background: #2f2f2f;
--color-main: #dd6700;
--color-accent: #e37f00;
--color-fading: #ae0e13;
--color-light: #d43b00;
--color-dark: #f2bb56;
--color-main: #486e9b;
--color-accent: #274b80;
--color-fading: #d74b33;
--color-light: #c83817;
--color-dark: #56a3c9;
--color-grey: #6e6e6e;
}
}
Expand Down

0 comments on commit 07e009b

Please sign in to comment.