sbyardnss / villager-client

0 stars 0 forks source link

tournament_styling_consolidate #97

Open sbyardnss opened 7 months ago

sbyardnss commented 7 months ago

We can condense much of our styling sheets -modals -buttons -text

sbyardnss commented 7 months ago

Can add classnames npm package to help with conditional styling if it seems optimal.

npm link

example usage:

import classNames from 'classnames';

const buttonClass = classNames({
 'button-default': !isSelected,
 'button-selected': isSelected,
});

<button className={buttonClass} onClick={handleClick}>Select</button>
sbyardnss commented 7 months ago

Search repo for

TODO: CSS-ISSUE

to find some places that need to be fixed