From f08864849cdf2b6f2e1024e1c2f800c5452733c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Szalay?= Date: Sat, 4 Nov 2023 09:31:37 +0100 Subject: [PATCH] Update README.md fixed some typos Firma to Figma --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 024dafb..3216648 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ Parameters in `crToBg()` function are: - background color (opaque colors only in one of these formats: `oklch`, `oklab`, `display-p3`, `lch`, `lab`, `hex`, `rgb`, `hsl`, `p3`) - desired contrast ratio (the same with APCA 0...108) -> Pro tip: When working in Firma with `display-p3` profile, use colors in `display-p3` format instead of `hex`. +> Pro tip: When working in Figma with `display-p3` profile, use colors in `display-p3` format instead of `hex`. ### Background color @@ -72,7 +72,7 @@ Parameters in `crToFg()` function are: - foreground color (opaque colors only in one of these formats: `oklch`, `oklab`, `display-p3`, `lch`, `lab`, `hex`, `rgb`, `hsl`, `p3`) - desired contrast ratio (the same with APCA 0...108) -> Pro tip: When working in Firma with `display-p3` profile, use colors in `display-p3` format instead of `hex`. +> Pro tip: When working in Figma with `display-p3` profile, use colors in `display-p3` format instead of `hex`. ### Maximum chroma @@ -165,9 +165,9 @@ apcachToCss(color, "figma-p3"); // #47a23d Parameters in `apcachToCss()` function are: - color in the apcach format you want to convert -- format (supported: `oklch`, `rgb`, `hex`, `p3`, `firma-p3`) +- format (supported: `oklch`, `rgb`, `hex`, `p3`, `figma-p3`) -> Pro tip: When working in Firma with `display-p3` profile convert apcach to `figma-p3` which basically is `hex` stretch to p3 space. +> Pro tip: When working in Figma with `display-p3` profile convert apcach to `figma-p3` which basically is `hex` stretch to p3 space. ### CSS color conversion to apcach @@ -242,4 +242,4 @@ import { apcach, crToBg } from "apcach"; apcach(crToBg("#00A3FF", 40), 0.1, 145, 100, "srgb"); // oklch(35.82% 0.1 145) ``` -> Pro tip: When working in Firma with `display-p3` profile, use colors in `display-p3` format instead of `hex`. +> Pro tip: When working in Figma with `display-p3` profile, use colors in `display-p3` format instead of `hex`.