Skip to content

Commit

Permalink
WIP: work on restylization
Browse files Browse the repository at this point in the history
  • Loading branch information
alardev committed Nov 27, 2023
1 parent bd9598e commit 2398023
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ fn Menu() -> impl IntoView {
true => "transition-all duration-300 basis-full grow sm:block",
false => "hidden transition-all duration-300 basis-full grow sm:block",
}>
<div class="select-none flex flex-col gap-5 mt-5 sm:flex-row sm:items-center sm:justify-end sm:mt-0 sm:pl-5">
<div class="select-none flex flex-col gap-2 mt-2 sm:flex-row sm:items-center sm:justify-end sm:mt-0 sm:pl-5 ">
<LinkButton href="/" variant=ButtonVariant::Ghost.get()>
Транслітерація
</LinkButton>
Expand Down
2 changes: 1 addition & 1 deletion site/src/theme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ pub fn default_page_class() -> ThemePageClass {

pub fn default_switch_class() -> ThemeToggleSwitchClass {
ThemeToggleSwitchClass {
wrapper: "relative inline-flex h-[24px] w-[34px] shrink-0 cursor-pointer border-2 border-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75",
wrapper: "ml-3 relative inline-flex h-[24px] w-[34px] shrink-0 cursor-pointer border-2 border-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75",
switch: "translate-x-0 dark:translate-x-2.5 shadow shadow-gray-700/10 border border-gray-200 bg-gray-100 dark:border-primary dark:bg-gray-700 p-[3px] pointer-events-none inline-block h-5 w-5 transform rounded-full ring-0 transition-transform duration-200 ease-in-out",
bar: "bg-gray-300/60 dark:bg-white-300/10 rounded-full absolute left-0 right-0 h-[0.65rem] top-1/2 translate-y-[-50%]",
sun_fill: "fill-yellow-600",
Expand Down

0 comments on commit 2398023

Please sign in to comment.