-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update styling method to use clsx and camel case
- Loading branch information
Diedra
committed
Mar 26, 2021
1 parent
8c34ef1
commit 7ed3d73
Showing
5 changed files
with
15 additions
and
46 deletions.
There are no files selected for viewing
10 changes: 2 additions & 8 deletions
10
packages/components/src/TestComponent/TestComponent.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
.testComponent--container { | ||
@apply text-body leading-body; | ||
@apply text-brand-700; | ||
.container { | ||
@apply w-full; | ||
} | ||
|
||
.testComponent--align-left { | ||
@apply text-left; | ||
} | ||
|
||
.testComponent--align-right { | ||
.alignRight { | ||
@apply text-right; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
packages/components/src/TestComponent/__snapshots__/TestComponent.spec.tsx.snap
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
.{{camelCase name}}--container { | ||
@apply text-body leading-body; | ||
@apply text-brand-700; | ||
.container { | ||
@apply w-full; | ||
} | ||
|
||
.{{camelCase name}}--align-left { | ||
@apply text-left; | ||
} | ||
|
||
.{{camelCase name}}--align-right { | ||
.alignRight { | ||
@apply text-right; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters