Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typography #12

Merged
merged 9 commits into from
May 14, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add styling
  • Loading branch information
Trung-Hieu-Dev committed May 13, 2022
commit 1a5548fe93885a2708d24238a271ca091df0a5ea
82 changes: 82 additions & 0 deletions src/assets/css/typography.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
body {
// Typography - H tags
h1 {
@apply text-3xl font-gril font-medium leading-6 opacity-90;
}
h2 {
@apply text-xl font-gril font-medium leading-6 opacity-90;
}
h3 {
@apply text-lg font-gril font-medium leading-6 opacity-90;
}
h4 {
@apply text-base font-gril font-medium leading-6 opacity-90;
}
h5 {
@apply text-sm font-gril;
}
h6 {
@apply text-xs font-gril;
}

// Typograpy - display section
.display1 {
@apply text-6xl font-gril;
}
.display2 {
@apply text-5xl font-gril;
}
.display3 {
@apply text-4xl font-gril;
}
.display4 {
@apply text-3xl font-gril;
}

// Typography - Specialized titles
.heading {
@apply text-base uppercase font-gril tracking-wide;
}
.heading_title {
@apply text-2xl text-sky-400 uppercase font-gril tracking-wide;
}
.heading_sub_title {
@apply text-3xl font-gril opacity-90;
}
.heading_section {
@apply text-xl font-gril font-light opacity-60;
}

// Paragraphs
p {
@apply font-gril text-base font-light leading-7
}
.lead {
@apply font-gril text-xl font-light leading-7
}
.blockquote {
@apply font-gril mb-4 text-xl leading-6 block
}
.blockquote-footer {
@apply font-gril mb-4 text-lg leading-6 block opacity-60
}
.text-muted {
@apply font-gril text-slate-400
}
.text-primary {
@apply font-gril text-blue-500
}
.text-info {
@apply font-gril text-sky-400
}
.text-success {
@apply font-gril text-green-500
}
.text-warning {
@apply font-gril text-orange-500
}
.text-danger {
@apply font-gril text-red-400
}

}