fix: replace strict classNames with themeable className. (#101)

Co-authored-by: SaadYousaf <saadyousaf@A006-00314.local>
This commit is contained in:
Saad Yousaf
2021-04-27 12:28:16 +05:00
committed by GitHub
parent 1e1f83ec5a
commit f87e7b6d93
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ function PageCard({ intl, page }) {
const pageStatusMsgId = page.isEnabled ? 'pageStatus.enabled' : 'pageStatus.disabled';
const componentClasses = classNames(
'd-flex flex-column align-content-stretch',
'bg-white p-3 border shadow',
'bg-light-100 p-3 border shadow',
{ 'border-gray-500': page.isEnabled, 'border-gray-100': !page.isEnabled },
);

View File

@@ -9,7 +9,7 @@ function ResourceList({ intl, resources }) {
return (
<div>
<h3 className="text-info-500">{intl.formatMessage(messages['resources.subheading'])}</h3>
<div className="row bg-white text-info-500 border shadow justify-content-center align-items-center my-3 mx-1">
<div className="row bg-light-100 text-info-500 border shadow justify-content-center align-items-center my-3 mx-1">
<div className="col-1 font-weight-bold">{intl.formatMessage(messages['resources.custom.title'])}</div>
<div className="col-8 my-3">
{intl.formatMessage(messages['resources.custom.description'])}