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

Create range input with dark version #1593

Merged
merged 8 commits into from
Jul 25, 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
16 changes: 8 additions & 8 deletions demo/sites/components/hover-effects.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
alt="Louvre" />
<a href="#!">
<div
class="absolute top-0 right-0 bottom-0 left-0 h-full w-full overflow-hidden bg-[hsl(0,0%,98.4%,0.2)] bg-fixed opacity-0 transition duration-300 ease-in-out hover:opacity-100"></div>
class="absolute bottom-0 left-0 right-0 top-0 h-full w-full overflow-hidden bg-[hsl(0,0%,98.4%,0.2)] bg-fixed opacity-0 transition duration-300 ease-in-out hover:opacity-100"></div>
</a>
</div>

Expand All @@ -70,7 +70,7 @@
class="max-w-xs"
alt="Louvre" />
<div
class="absolute top-0 right-0 bottom-0 left-0 h-full w-full overflow-hidden bg-indigo-700 bg-fixed opacity-0 transition duration-300 ease-in-out hover:opacity-50"></div>
class="absolute bottom-0 left-0 right-0 top-0 h-full w-full overflow-hidden bg-indigo-700 bg-fixed opacity-0 transition duration-300 ease-in-out hover:opacity-50"></div>
</div>
</div>
<div class="mb-4">
Expand All @@ -80,7 +80,7 @@
class="max-w-xs"
alt="Louvre" />
<div
class="absolute top-0 right-0 bottom-0 left-0 h-full w-full overflow-hidden bg-purple-700 bg-fixed opacity-0 transition duration-300 ease-in-out hover:opacity-20"></div>
class="absolute bottom-0 left-0 right-0 top-0 h-full w-full overflow-hidden bg-purple-700 bg-fixed opacity-0 transition duration-300 ease-in-out hover:opacity-20"></div>
</div>
</div>
<div class="mb-4">
Expand All @@ -90,7 +90,7 @@
class="max-w-xs"
alt="Louvre" />
<div
class="absolute top-0 right-0 bottom-0 left-0 h-full w-full overflow-hidden bg-green-700 bg-fixed opacity-0 transition duration-300 ease-in-out hover:opacity-70"></div>
class="absolute bottom-0 left-0 right-0 top-0 h-full w-full overflow-hidden bg-green-700 bg-fixed opacity-0 transition duration-300 ease-in-out hover:opacity-70"></div>
</div>
</div>
</div>
Expand All @@ -102,7 +102,7 @@
class="max-w-xs"
alt="Louvre" />
<div
class="absolute top-0 right-0 bottom-0 left-0 h-full w-full overflow-hidden bg-red-700 bg-fixed opacity-0 transition duration-300 ease-in-out hover:opacity-30"></div>
class="absolute bottom-0 left-0 right-0 top-0 h-full w-full overflow-hidden bg-red-700 bg-fixed opacity-0 transition duration-300 ease-in-out hover:opacity-30"></div>
</div>
</div>
<div class="mb-4 md:mb-0">
Expand All @@ -112,7 +112,7 @@
class="max-w-xs"
alt="Louvre" />
<div
class="absolute top-0 right-0 bottom-0 left-0 h-full w-full overflow-hidden bg-white bg-fixed opacity-0 transition duration-300 ease-in-out hover:opacity-40"></div>
class="absolute bottom-0 left-0 right-0 top-0 h-full w-full overflow-hidden bg-white bg-fixed opacity-0 transition duration-300 ease-in-out hover:opacity-40"></div>
</div>
</div>
<div class="mb-4 md:mb-0">
Expand All @@ -122,7 +122,7 @@
class="max-w-xs"
alt="Louvre" />
<div
class="absolute top-0 right-0 bottom-0 left-0 h-full w-full overflow-hidden bg-primary-400 bg-fixed opacity-0 transition duration-300 ease-in-out hover:opacity-60"></div>
class="absolute bottom-0 left-0 right-0 top-0 h-full w-full overflow-hidden bg-primary-400 bg-fixed opacity-0 transition duration-300 ease-in-out hover:opacity-60"></div>
</div>
</div>
</div>
Expand All @@ -137,7 +137,7 @@
class="max-w-xs"
alt="Louvre" />
<div
class="absolute top-0 right-0 bottom-0 left-0 h-full w-full overflow-hidden bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 opacity-0 transition duration-300 ease-in-out hover:opacity-70"></div>
class="absolute bottom-0 left-0 right-0 top-0 h-full w-full overflow-hidden bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 opacity-0 transition duration-300 ease-in-out hover:opacity-70"></div>
</div>

<br />
Expand Down
194 changes: 97 additions & 97 deletions demo/sites/content-styles/colors.html

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions demo/sites/forms/range.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ <h3 class="mb-4 text-3xl font-medium leading-tight text-red-600">
>
<input
type="range"
class="transparent h-1.5 w-full cursor-pointer appearance-none rounded-lg border-transparent bg-neutral-200"
class="transparent h-[4px] w-full cursor-pointer appearance-none border-transparent bg-neutral-200 dark:bg-neutral-600"
id="customRange1" />
</div>

Expand All @@ -73,7 +73,8 @@ <h3 class="mb-4 text-3xl font-medium leading-tight text-red-600">
>
<input
type="range"
class="transparent h-1.5 w-full appearance-none rounded-lg border-transparent bg-neutral-200"
class="transparent h-[4px] w-full appearance-none
border-transparent bg-neutral-200 focus:bg-neutral-300 dark:bg-neutral-600"
id="disabledRange"
disabled />
</div>
Expand All @@ -90,7 +91,8 @@ <h3 class="mb-4 text-3xl font-medium leading-tight text-red-600">
>
<input
type="range"
class="transparent h-1.5 w-full cursor-pointer appearance-none rounded-lg border-transparent bg-neutral-200"
class="transparent h-[4px] w-full cursor-pointer
appearance-none border-transparent bg-neutral-200 focus:bg-neutral-300 dark:bg-neutral-600"
min="0"
max="5"
id="customRange2" />
Expand All @@ -108,7 +110,8 @@ <h3 class="mb-4 text-3xl font-medium leading-tight text-red-600">
>
<input
type="range"
class="transparent h-1.5 w-full cursor-pointer appearance-none rounded-lg border-transparent bg-neutral-200"
class="transparent h-[4px] w-full cursor-pointer
appearance-none border-transparent bg-neutral-200 focus:bg-neutral-300 dark:bg-neutral-600"
min="0"
max="5"
step="0.5"
Expand Down
Loading