Skip to content

Commit

Permalink
feat: add typography class
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSuperDev authored and theodorusclarence committed Jan 9, 2022
1 parent f084f05 commit 36e6c37
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,32 @@
}

/* #region /**=========== Typography =========== */
h1 {
.h0 {
@apply font-primary text-3xl font-bold md:text-5xl;
}

h1,
.h1 {
@apply font-primary text-2xl font-bold md:text-4xl;
}

h2 {
h2,
.h2 {
@apply font-primary text-xl font-bold md:text-3xl;
}

h3 {
h3,
.h3 {
@apply font-primary text-lg font-bold md:text-2xl;
}

h4 {
h4,
.h4 {
@apply font-primary text-base font-bold md:text-lg;
}

body {
body,
.p {
@apply font-primary text-sm md:text-base;
}
/* #endregion /**======== Typography =========== */
Expand Down

0 comments on commit 36e6c37

Please sign in to comment.