You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Color definitions for form states and alerts should derive from the 'general variable structure' where all other colors are defined.
As often as we can, we should follow our convention of defining values off of our base variables. So for instance, state-success, state-info, state-warning, etc. should all modify the base value of brand-success, brand-info, brand-warning, etc. To ovoid creating new colors.
The Bootstrap framework should take the position of not assuming too much. Bootstrap should not assume that your form state and alert colors would differ from your established brand colors (as most instances they wouldn't). This would lighten the initial configuration of Bootstrap.
The following is a bad practice. It defines new colors outside of our main color definitions, and makes configuration more cumbersome:
Color definitions for form states and alerts should derive from the 'general variable structure' where all other colors are defined.
As often as we can, we should follow our convention of defining values off of our base variables. So for instance,
state-success
,state-info
,state-warning
, etc. should all modify the base value ofbrand-success
,brand-info
,brand-warning
, etc. To ovoid creating new colors.The Bootstrap framework should take the position of not assuming too much. Bootstrap should not assume that your form state and alert colors would differ from your established brand colors (as most instances they wouldn't). This would lighten the initial configuration of Bootstrap.
The following is a bad practice. It defines new colors outside of our main color definitions, and makes configuration more cumbersome:
Instead we should have something like the following:
The text was updated successfully, but these errors were encountered: