Merge branch 'common' of https://github.com/KieIO/grocery-vercel-commerce into m2-quangnhan

This commit is contained in:
lytrankieio123
2021-08-27 10:34:35 +07:00
6 changed files with 9 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
@import '../../../styles/utilities';
.headingCommon {
@apply heading-1 font-heading text-left;
@apply heading-2 font-heading text-left;
&.highlight {
color: var(--negative);

View File

@@ -11,11 +11,11 @@ interface HeadingCommonProps {
const HeadingCommon = ({ type='default', align='left', children }: HeadingCommonProps) => {
return (
<h1 className={classNames(s.headingCommon, {
<h2 className={classNames(s.headingCommon, {
[s[type]]: type,
[s[align]]: align
})}
>{children}</h1>
>{children}</h2>
)
}