This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
content: ["./files/**/*.{html,js}","./public/templates/**/*.hbs","./index.html"], | |
theme: { | |
borderColor: ({ theme }) => ({ | |
color: { | |
1: "var(--calcite-ui-border-1)", | |
2: "var(--calcite-ui-border-2)", | |
3: "var(--calcite-ui-border-3)", | |
input: "var(--calcite-ui-border-input)", | |
transparent: theme("colors.transparent") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git submodule deinit <path_to_submodule> | |
git rm <path_to_submodule> | |
git commit-m "Removed submodule " | |
rm -rf .git/modules/<path_to_submodule> |
High contrast mode is a special rendering mode on Windows that applies forced colors and simplifies visual elements throughout the entire platform. This mode is an accessibility feature of Windows and used by people with low vision or visual acuity issues. High contrast mode severally changes the way that websites are rendered on all Windows browsers.
References
- Enabling high contrast and customizing it (Windows 10 & 11)
- Styling Edge for Windows high contrast mode
forced-colors
media query (Modern browser support)- [
-ms-high-contrast
media query (IE11 and Legacy Edge support)](https://developer.mozilla.o
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
last 2 Chrome major versions | |
last 2 Edge major versions | |
last 2 Safari major versions | |
last 2 iOS major versions | |
Firefox ESR | |
not IE 11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Context, createContext, h } from "preact"; | |
import { useMemo } from "preact/hooks"; | |
import { UserSession } from "@esri/arcgis-rest-auth"; | |
import useLocalStorageState from "../hooks/useLocalStorageState"; | |
import useAsyncReducer from "../hooks/useAsyncReducer"; | |
interface IProviderProps { | |
children?:any | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"workbench.colorCustomizations": { | |
"editorLineNumber.foreground": "#cccccc", | |
"editor.findMatchBackground": "#f7d30766", | |
"editor.findMatchHighlightBackground": "#f7df0766", | |
"editor.background": "#000000", | |
"panel.background": "#000000", | |
"sideBar.background": "#000000", | |
"tab.activeBackground": "#000000", | |
"sideBar.border": "#4c4c4c", | |
"[Night Owl (No Italics)]": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<polymer-element name="my-element"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-animated-pages/core-animated-pages.html"> | |
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html"> | |
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html"> | |
<link rel="import" href="../core-animated-pages/transitions/slide-down.html"> | |
<link rel="import" href="../core-animated-pages/transitions/slide-up.html"> | |
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html"> | |
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var eq = function(n1, n2, decimals) { | |
var equal = false; | |
if (decimals === undefined) { | |
decimals = 15; | |
} | |
if (decimals) { | |
var factor = Math.pow(10, decimals); | |
var a = Math.round(n1 * factor) / factor, b = Math.round(n2 * factor) / factor; | |
console.log(n1 + ' => ' + a + " :: " + n2 + ' => ' + b); | |
equal = a == b; |
NewerOlder