Skip to content

Commit c106055

Browse files
committed
fix: heading component enforcing color
1 parent 9d45ade commit c106055

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

.changeset/weak-readers-rush.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@sovryn/ui': patch
3+
---
4+
5+
fix: heading enforcing text color

.vscode/settings.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
{
2-
}
1+
{}

packages/ui/src/1_atoms/Heading/Heading.module.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
.heading {
2-
@apply text-gray-10;
3-
}
4-
51
.h1 {
62
@apply text-2xl leading-7;
73
}

packages/ui/src/1_atoms/Heading/Heading.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const Heading: FC<HeadingProps> = ({
2222
React.createElement(
2323
type,
2424
{
25-
className: classNames(styles.heading, styles[type], className),
25+
className: classNames(styles[type], className),
2626
[DATA_ATTRIBUTE]: dataLayoutId,
2727
},
2828
children,

0 commit comments

Comments
 (0)