1
0

downgrade to kirby v3

This commit is contained in:
Philip Wagner
2024-09-01 10:47:15 +02:00
parent a4b2aece7b
commit af86acb7a1
1085 changed files with 54743 additions and 65042 deletions

View File

@@ -1,13 +1,14 @@
<?php
function colorToStr(string $color): string {
return match ($color) {
"#f1edeb", "" => "white",
"#ff00ff" => "pink",
"#48bd8d" => "green",
"#8200ff" => "lila",
"#ff6700" => "orange",
"#000000" => "black",
};
switch ($color) {
case "":
case "#f1edeb": return "white";
case "#ff00ff": return "pink";
case "#48bd8d": return "green";
case "#8200ff": return "lila";
case "#ff6700": return "orange";
case "#000000": return "black";
}
}
function bg(string $bgColor, string $gridColor): string {