File tree 3 files changed +4
-8
lines changed
components/Branding/ColorSection
3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 1
1
import { brandColorsObject } from 'common/styles/styleExports' ;
2
2
import Swatch from 'components/Branding/Swatch/Swatch' ;
3
3
import Content from 'components/Content/Content' ;
4
- import styles from './ColorSection.module.css' ;
5
4
6
5
function ColorSection ( ) {
7
6
const primaryColor = { name : 'Primary' , hexCode : brandColorsObject . primary } ;
@@ -23,11 +22,11 @@ function ColorSection() {
23
22
theme = "white"
24
23
columns = { [
25
24
< div >
26
- < h3 className = { styles . centeredText } > Primary</ h3 >
25
+ < h3 className = "text-center" > Primary</ h3 >
27
26
< Swatch colorName = { primaryColor . name } hexCode = { primaryColor . hexCode } />
28
27
</ div > ,
29
28
< div >
30
- < h3 className = { styles . centeredText } > Secondary</ h3 >
29
+ < h3 className = "text-center" > Secondary</ h3 >
31
30
< Swatch colorName = { secondaryColor . name } hexCode = { secondaryColor . hexCode } />
32
31
</ div > ,
33
32
] }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ exports[`ColorSection should render with required props 1`] = `
8
8
Array [
9
9
<div >
10
10
<h3
11
- className = " centeredText "
11
+ className = " text-center "
12
12
>
13
13
Primary
14
14
</h3 >
@@ -19,7 +19,7 @@ exports[`ColorSection should render with required props 1`] = `
19
19
</div >,
20
20
<div >
21
21
<h3
22
- className = " centeredText "
22
+ className = " text-center "
23
23
>
24
24
Secondary
25
25
</h3 >
You can’t perform that action at this time.
0 commit comments