From afd4f0e50d01815bb388198debfbdb8e8545b2a8 Mon Sep 17 00:00:00 2001 From: Filip Hlavac <50696716+fhlavac@users.noreply.github.com> Date: Thu, 5 Oct 2023 13:32:28 +0200 Subject: [PATCH] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 4578efe0..d0233c5c 100644 --- a/README.md +++ b/README.md @@ -127,8 +127,7 @@ When adding/making changes to a component, always make sure your code is tested: ### Styling: - for styling always use JSS -- new classNames should match PatternFly conventions (`pf-cg-[component]-[more-details]`) -- new CSS variables should be named like `--pf-cg-[my-variable]-[more-details]` +- new classNames should be named in camelCase starting with the name of a given component and following with more details clarifying its purpose/component's subsection to which the class is applied (`actionMenu`, `actionMenuDropdown`, `actionMenuDropdownToggle`, etc.) ## Building for production