From 292ab8fc19c8dc4a15fc77d5431ecadfca721dc6 Mon Sep 17 00:00:00 2001 From: sHa Date: Wed, 11 Jun 2025 00:20:59 +0300 Subject: [PATCH] feat: Enhance Kubernetes logo with color sets and SVG structure - Added color tags and sets for the Kubernetes logo in logos.json. - Updated the SVG file for Kubernetes to include separate paths for background, outline, and logo, allowing for dynamic color changes. --- ToDo.md | 1 + public/data/logos.json | 55 ++++++++++++++++++++++++++++++++++++- public/logos/kubernetes.svg | 9 +++++- 3 files changed, 63 insertions(+), 2 deletions(-) diff --git a/ToDo.md b/ToDo.md index 7a53887..6434fe1 100644 --- a/ToDo.md +++ b/ToDo.md @@ -1,4 +1,5 @@ - Improove: To the tiny card add the color chooser. It should be one circle that display current color, on click it should open color picker. - Improove: In the preview page, add full header. - Improove: Split header into two parts: static top and dynamic bottom. +- Improove: In the preview page, add possibility select custom color for each target. - Strategy: Add differents base/collections of images: Flags, diff --git a/public/data/logos.json b/public/data/logos.json index 5e45079..53885d1 100644 --- a/public/data/logos.json +++ b/public/data/logos.json @@ -865,7 +865,60 @@ "path": "logos/kubernetes.svg", "format": "SVG", "disable": false, - "brand": "Kubernetes" + "brand": "Kubernetes", + "tags": [ + "Selfhosted", + "Container", + "Orchestration" + ], + "colors": { + "blue": "#326de6", + "white": "#ffffff", + "black": "#000000", + "none": "none" + }, + "targets": { + "logo": "#logo", + "background": "#background", + "outline": "#outline" + }, + "sets": { + "white-on-blue": { + "logo": "white", + "background": "blue", + "outline": "white" + }, + "white-on-blue-no-outline": { + "logo": "white", + "background": "blue", + "outline": "none" + }, + "black-on-white-no-outline": { + "logo": "black", + "background": "white", + "outline": "none" + }, + "blue-on-white": { + "logo": "blue", + "background": "white", + "outline": "blue" + }, + "blue-on-transparent": { + "logo": "blue", + "background": "none", + "outline": "blue" + }, + "white-on-transparent": { + "logo": "white", + "background": "none", + "outline": "white" + }, + "black-on-transparent": { + "logo": "black", + "background": "none", + "outline": "black" + } + } }, { "name": "Languagetool", diff --git a/public/logos/kubernetes.svg b/public/logos/kubernetes.svg index fa681e5..5d83f82 100644 --- a/public/logos/kubernetes.svg +++ b/public/logos/kubernetes.svg @@ -1 +1,8 @@ - \ No newline at end of file + + + + +