Skip to content

Commit

Permalink
dark mode borders
Browse files Browse the repository at this point in the history
  • Loading branch information
jzhang621 committed Nov 30, 2024
1 parent cf80337 commit e9a1db8
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
7 changes: 7 additions & 0 deletions web/src/components/Explore/FilterActions.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
.filter-actions-button {
border-radius: 4px !important;
padding: 0.25rem 0.5rem !important;
font-size: 0.875rem !important;
}

.filter-actions-button.active {
Expand All @@ -38,3 +39,9 @@
.filter-actions-button.active {
background-color: var(--interactions---primary-color-interaction-primary-active);
}

@media (prefers-color-scheme: dark) {
.filter-actions-button {
border: .5px solid var(--neutrals-color-neutral-3) !important;
}
}
2 changes: 2 additions & 0 deletions web/src/components/Explore/LeftPane.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@

@media (prefers-color-scheme: dark) {
.left-pane-container {
border-right: 1px solid var(--borders-color-border-3);
background-color: #111;
}

}
3 changes: 3 additions & 0 deletions web/src/components/SubNav.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,8 @@
@media (prefers-color-scheme: dark) {
.subHeaderContainer {
background-color: #111;
border-bottom: 1px solid var(--borders-color-border-3);
}


}
7 changes: 4 additions & 3 deletions web/src/pages/Explore.css
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,9 @@
background: #111
}

/* .visualization-pane-container {
border-left: 1px solid #555;
} */
.visualization-pane-container {
border-left: 1px solid var(--borders-color-border-3);
}
}


Expand Down Expand Up @@ -446,3 +446,4 @@
.full-screen-explore-container {
height: 100%;
}

4 changes: 2 additions & 2 deletions web/src/pages/FullScreenExplore.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -435,10 +435,10 @@ function Explore() {
const styles = {
dragHandle: {
position: 'absolute',
right: -4,
right: -8,
top: 0,
bottom: 0,
width: 8,
width: 30,
cursor: 'ew-resize',
backgroundColor: 'transparent',
transition: 'background-color 0.2s',
Expand Down

0 comments on commit e9a1db8

Please sign in to comment.