Refactored Color Livewire components, added CreateColor, EditColor, and ShowColor components. Updated views, navigation, and Tailwind color schemes. Adjusted database migrations for consistency.

This commit is contained in:
2025-12-14 01:39:16 +01:00
parent 7e79d1d034
commit ac812ed142
32 changed files with 496 additions and 353 deletions
+14 -14
View File
@@ -15,20 +15,20 @@ class ColorSeeder extends Seeder
{
// Seed predefined Colors
$colors = [
['name' => 'Red', 'hex' => '#FF0000'],
['name' => 'Green', 'hex' => '#00FF00'],
['name' => 'Blue', 'hex' => '#0000FF'],
['name' => 'Yellow', 'hex' => '#FFFF00'],
['name' => 'Orange', 'hex' => '#FFA500'],
['name' => 'Purple', 'hex' => '#800080'],
['name' => 'Pink', 'hex' => '#FFC0CB'],
['name' => 'Brown', 'hex' => '#A52A2A'],
['name' => 'Gray', 'hex' => '#808080'],
['name' => 'Black', 'hex' => '#000000'],
['name' => 'White', 'hex' => '#FFFFFF'],
['name' => 'Gold', 'hex' => '#FFD700'],
['name' => 'Silver', 'hex' => '#C0C0C0'],
['name' => 'Cyan', 'hex' => '#00FFFF']
['name' => 'Red', 'hex' => 'FF0000'],
['name' => 'Green', 'hex' => '00FF00'],
['name' => 'Blue', 'hex' => '0000FF'],
['name' => 'Yellow', 'hex' => 'FFFF00'],
['name' => 'Orange', 'hex' => 'FFA500'],
['name' => 'Purple', 'hex' => '800080'],
['name' => 'Pink', 'hex' => 'FFC0CB'],
['name' => 'Brown', 'hex' => 'A52A2A'],
['name' => 'Gray', 'hex' => '808080'],
['name' => 'Black', 'hex' => '000000'],
['name' => 'White', 'hex' => 'FFFFFF'],
['name' => 'Gold', 'hex' => 'FFD700'],
['name' => 'Silver', 'hex' => 'C0C0C0'],
['name' => 'Cyan', 'hex' => '00FFFF']
];
foreach ($colors as $color) {