Skip to content

Commit

Permalink
Remove hardcoded h1 and code styles (#1750)
Browse files Browse the repository at this point in the history
  • Loading branch information
juujisai committed Jul 27, 2023
1 parent 323417c commit 521846e
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 18 deletions.
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];
}

0 comments on commit 521846e

Please sign in to comment.