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

Remove hardcoded h1 and code styles #1750

Merged
merged 2 commits into from
Jul 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 0 additions & 4 deletions site/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
@tailwind components;
@tailwind utilities;

h1 {
@apply mt-12 mb-2 text-5xl font-bold;
}

code {
@apply text-red-600 dark:text-red-400;
}
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/standard/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<!--Section: Docs content-->
<section>
<h1>Extended documentation</h1>
<h1 class="mb-2 mt-12 text-5xl font-bold">Extended documentation</h1>
<p class="mb-4">
Extended documentation with experimental components and functionalities.
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<!-- prettier-ignore -->
{{< twsnippet/demo id="example1">}}
<h2 class="text-5xl font-medium leading-tight">Tailwind Elements</h2>
<h1 class="text-5xl font-medium leading-tight">Tailwind Elements</h1>
<h2 class="text-4xl font-medium leading-tight">Tailwind Elements</h2>
<h3 class="text-3xl font-medium leading-tight">Tailwind Elements</h3>
<h4 class="text-2xl font-medium leading-tight">Tailwind Elements</h4>
Expand All @@ -45,7 +45,7 @@ <h6 class="text-base font-medium leading-tight">Tailwind Elements</h6>
<div class="pt-4">
{{< twsnippet/wrapper "HTML" >}}
{{< twsnippet/code active=true lang="HTML" >}}
<h2 class="text-5xl font-medium leading-tight">Tailwind Elements</h2>
<h1 class="text-5xl font-medium leading-tight">Tailwind Elements</h1>
<h2 class="text-4xl font-medium leading-tight">Tailwind Elements</h2>
<h3 class="text-3xl font-medium leading-tight">Tailwind Elements</h3>
<h4 class="text-2xl font-medium leading-tight">Tailwind Elements</h4>
Expand Down Expand Up @@ -390,7 +390,7 @@ <h3 class="text-3xl font-medium leading-tight">

<!-- prettier-ignore -->
{{< twsnippet/demo id="example3">}}
<h2 class="mb-4 border-b pb-4 text-9xl leading-tight">Display 1</h2>
<h1 class="mb-4 border-b pb-4 text-9xl leading-tight">Display 1</h1>
<h2 class="mb-4 border-b pb-4 text-8xl leading-tight">Display 2</h2>
<h3 class="mb-4 border-b pb-4 text-7xl leading-tight">Display 3</h3>
<h4 class="mb-4 border-b pb-4 text-6xl leading-tight">Display 4</h4>
Expand All @@ -403,7 +403,7 @@ <h6 class="text-4xl leading-tight">Display 6</h6>
<div class="pt-4">
{{< twsnippet/wrapper "HTML" >}}
{{< twsnippet/code active=true lang="HTML" >}}
<h2 class="mb-4 border-b pb-4 text-9xl leading-tight">Display 1</h2>
<h1 class="mb-4 border-b pb-4 text-9xl leading-tight">Display 1</h1>
<h2 class="mb-4 border-b pb-4 text-8xl leading-tight">Display 2</h2>
<h3 class="mb-4 border-b pb-4 text-7xl leading-tight">Display 3</h3>
<h4 class="mb-4 border-b pb-4 text-6xl leading-tight">Display 4</h4>
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/standard/extended/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<!--Section: Docs content-->
<section>
<h1>Extended documentation</h1>
<h1 class="mb-2 mt-12 text-5xl font-bold">Extended documentation</h1>
<p class="mb-4">
Extended documentation with experimental components and functionalities.
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ <h2 class="mb-6 mt-12 text-xl font-semibold">




<!-- Here add a container -->
<div class="lg:container mx-auto flex w-full flex-wrap items-center justify-between px-3">

Expand Down
8 changes: 0 additions & 8 deletions src/scss/tailwind.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@
@tailwind components;
@tailwind utilities;

h1 {
@apply mb-2 mt-12 text-5xl font-bold;
}

code {
@apply text-red-600 dark:text-red-400;
}

p {
@apply leading-[1.6];
}