mirror of
https://github.com/baz-scm/awesome-reviewers.git
synced 2025-08-20 18:58:52 +03:00
1.0 KiB
1.0 KiB
title, description, repository, label, language, comments_count, repository_stars
| title | description | repository | label | language | comments_count | repository_stars |
|---|---|---|---|---|---|---|
| Follow CSS naming patterns | Maintain consistency with established CSS naming conventions already used in the codebase. For CSS classes, follow BEM methodology when that's the existing pattern. For custom properties, use semantic names that clearly indicate their purpose and work across themes. | PostHog/posthog | Naming Conventions | Css | 2 | 28460 |
Maintain consistency with established CSS naming conventions already used in the codebase. For CSS classes, follow BEM methodology when that's the existing pattern. For custom properties, use semantic names that clearly indicate their purpose and work across themes.
Examples:
- Use BEM-style class names:
&.FunnelBarHorizontal--has-optional-stepsinstead of&.has-optional-steps - Use semantic CSS custom properties:
--gray-1,--gray-2for theme-agnostic color variables that automatically adapt to light/dark themes
This ensures code maintainability and helps other developers quickly understand the naming system in use.