buildo / react-components

Collection of general React components used in buildo projects.
http://react-components.buildo.io/
MIT License
157 stars 21 forks source link

the "state" part of a sass variable name should always be the suffix #1163

Open FrancescoCioria opened 6 years ago

FrancescoCioria commented 6 years ago

Project card

description

our naming convention works like this:

{?sub-component-prefix}-{property-name}-{?state}

examples:

// 👍 
$background: white;
$background-disabled: black;

$item-background: blue;
$item-background-disabled: red;

// 👎 
$disabled-background: black;

$background-item: blue;
$disabled-background-item: red;
// or
$disabled-item-background: red;

how to reproduce

specs

fix any wrong name.

list of files to fix:

misc

{optional: other useful info}