From a246ed178f5b35e3eac5ea180d648feff050fafa Mon Sep 17 00:00:00 2001 From: Hasan Yahya Date: Wed, 24 Jul 2024 00:11:52 +0500 Subject: [PATCH] refactor: Add tooltips for switching color formats in Playground component --- src/components/component/playground.jsx | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/components/component/playground.jsx b/src/components/component/playground.jsx index 24daa86..50169b9 100644 --- a/src/components/component/playground.jsx +++ b/src/components/component/playground.jsx @@ -364,6 +364,18 @@ export function Playground() {
{rValue}, {gValue}, {bValue}
+ + + + + + + Switch to RGB + + +
@@ -378,6 +390,18 @@ export function Playground() {
{defaultHue}°, {defaultSaturation}%, {defaultBrightness}%
+ + + + + + + Switch to HSL + + +