Skip to content

Commit c52ac66

Browse files
committed
chore: Address PR feedback
1 parent 4ac6dec commit c52ac66

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

demos/description-region/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function handleModeChange() {
2626
lightModeCss.disabled = isDarkMode;
2727
toggleModeEl.icon = isDarkMode ? "moon" : "brightness";
2828
document.body.className = isDarkMode ? "calcite-mode-dark" : "";
29-
29+
mapEl.basemap = isDarkMode ? "dark-gray" : "gray";
3030
document.querySelectorAll(`.calcite-mode-${isDarkMode ? "light" : "dark"}`).forEach(node =>
3131
node.classList.replace(`calcite-mode-${isDarkMode ? "light" : "dark"}`, `calcite-mode-${mode}`)
3232
);

demos/reduced-motion/index.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
<!-- ArcGIS Maps SDK for JavaScript imports -->
1212
<script src="https://js.arcgis.com/4.32/"></script>
1313
<link id="jsapi-mode-light" rel="stylesheet" href="https://js.arcgis.com/4.32/esri/themes/light/main.css" />
14-
<link disabled id="jsapi-mode-dark" rel="stylesheet" href="https://js.arcgis.com/4.32/esri/themes/dark/main.css" />
1514
<script type="module" src="https://js.arcgis.com/map-components/4.32/arcgis-map-components.esm.js"></script>
1615

1716
<!-- Demo imports -->
@@ -29,8 +28,6 @@
2928
Disable animation
3029
<calcite-switch id="animationControl"></calcite-switch>
3130
</calcite-label>
32-
33-
3431
</calcite-navigation>
3532

3633
<arcgis-map id="map" item-id="03c4fa085ece410dadd9aa6e44130508">

0 commit comments

Comments
 (0)