Skip to content

Commit

Permalink
fix: bring a little utah design system into the mix
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Feb 27, 2024
1 parent 56115f7 commit cd5ace2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,17 @@ body {
padding: 0;
margin: 0;
}

.esri-widget,
calcite-button {
@apply rounded-full;
}

.esri-ui-top-right {
@apply flex-row space-x-3;
}

#filter-switch {
--calcite-color-brand: var(--calcite-color-border-2);
--calcite-color-brand-hover: var(--calcite-color-border-2);
}
4 changes: 2 additions & 2 deletions src/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ view.when(() => {
const homeWidget = new Home({ view });
const trackWidget = new Track({ view });

view.ui.add(homeWidget, 'top-left');
view.ui.add(trackWidget, 'top-left');
view.ui.add(homeWidget, 'top-right');
view.ui.add(trackWidget, 'top-right');
});

mediaMinWidth('m', (result) => {
Expand Down

0 comments on commit cd5ace2

Please sign in to comment.