Skip to content

Commit

Permalink
feat(lluis): remove unnecessary "dark" property from <NavBar />
Browse files Browse the repository at this point in the history
  • Loading branch information
kantord committed May 6, 2021
1 parent 2fee850 commit 1d965d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions apps/lluis/NavBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

<nav
class="navbar"
class:dark
class:is-hidden-mobile={is_hidden_mobile}
role="navigation"
aria-label="main navigation"
Expand All @@ -30,12 +29,9 @@
</nav>

<style type="text/scss">
.navbar.dark {
.navbar {
background: var(--navbar-dark-background);
color: var(--navbar-dark-text-color);
}

.navbar {
border: 0;
.navbar-end {
position: absolute;
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/NavBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

</script>

<NavBar dark>
<NavBar>
<span slot="buttons">
<SponsorButton />
<GitHubButton />
Expand Down

1 comment on commit 1d965d6

@vercel
Copy link

@vercel vercel bot commented on 1d965d6 May 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.