3
0
Fork 0

Redesign + Fixes

This commit is contained in:
thomas 2021-06-29 22:05:00 +02:00
parent 7718ed6c32
commit 7fe8056e35
67 changed files with 1898 additions and 2799 deletions

View file

@ -4,26 +4,26 @@ namespace App\Color;
class MinecraftColor {
private static $array = [
"&0" => "#333",
"&1" => "#2980b9",
"&2" => "#27ae60",
"&3" => "#01a3a4",
"&4" => "#c0392b",
"&5" => "#8e44ad",
"&6" => "#f39c12",
"&7" => "#95a5a6",
"&8" => "#7f8c8d",
"&9" => "#3498db",
"&a" => "#2ecc71",
"&b" => "#00d2d3",
"&c" => "#e74c3c",
"&d" => "#f368e0",
"&e" => "#f1c40f",
"&f" => "#bdc3c7"
"&0" => "#000000",
"&1" => "#0000AA",
"&2" => "#00AA00",
"&3" => "#00AAAA",
"&4" => "#AA0000",
"&5" => "#AA00AA",
"&6" => "#FFAA00",
"&7" => "#AAAAAA",
"&8" => "#555555",
"&9" => "#5555FF",
"&a" => "#55FF55",
"&b" => "#55FFFF",
"&c" => "#FF5555",
"&d" => "#FF55FF",
"&e" => "#FFFF55",
"&f" => "#FFFFFF"
];
private static $none = [
"&l", "&m", "&n", "&o", "&r",
"&k", "&l", "&m", "&n", "&o", "&r",
];
public static function color($text) {