-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2038 from hydephp/extract-hydefront-partials-for-…
…tailwind-components [2.x] Extract HydeFront partials for Tailwind component templates
- Loading branch information
Showing
11 changed files
with
82 additions
and
99 deletions.
There are no files selected for viewing
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
Large diffs are not rendered by default.
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
2 changes: 1 addition & 1 deletion
2
packages/framework/resources/views/components/filepath-label.blade.php
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,5 +1,5 @@ | ||
<small @class([ | ||
'relative float-right opacity-50 hover:opacity-100 transition-opacity duration-250 not-prose hidden md:block', | ||
'-top-1 right-3' => $torchlight, | ||
'-top-1 right-1' => $torchlight, | ||
'top-0 right-0' => ! $torchlight, | ||
])><span class="sr-only">Filepath: </span>{{ $path }}</small> |
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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.prose blockquote.info { | ||
@apply border-blue-500; | ||
} | ||
|
||
.prose blockquote.success { | ||
@apply border-green-500; | ||
} | ||
|
||
.prose blockquote.warning { | ||
@apply border-amber-500; | ||
} | ||
|
||
.prose blockquote.danger { | ||
@apply border-red-600; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { | ||
@apply w-fit; | ||
} | ||
|
||
.prose :is(h1,h2,h3,h4,h5,h6):hover .heading-permalink, | ||
.prose :is(h1,h2,h3,h4,h5,h6):focus .heading-permalink { | ||
@apply opacity-75 grayscale transition-opacity duration-100 ease-out; | ||
} | ||
|
||
.heading-permalink { | ||
@apply opacity-0 ml-1 transition-opacity duration-300 ease-linear px-1 scroll-m-4; | ||
} | ||
|
||
.heading-permalink::before { | ||
@apply content-['#']; | ||
} | ||
|
||
.heading-permalink:hover, .heading-permalink:focus { | ||
@apply opacity-100 grayscale-0; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.table-of-contents { | ||
@apply pb-3; | ||
} | ||
|
||
.table-of-contents > li { | ||
@apply my-[0.35rem]; | ||
} | ||
|
||
.table-of-contents ul { | ||
@apply pl-2; | ||
} | ||
|
||
.table-of-contents a { | ||
@apply block -ml-8 pl-8 opacity-80 hover:opacity-100 hover:bg-gray-200/20 transition-all duration-300 relative; | ||
} | ||
|
||
.table-of-contents a::before { | ||
@apply content-['#'] text-[75%] opacity-50 mr-1 transition-opacity duration-300; | ||
} | ||
|
||
.table-of-contents a:hover::before { | ||
@apply opacity-100; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pre code.torchlight .line-number, pre code.torchlight .summary-caret { | ||
@apply mr-4; | ||
} |
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
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