-
Notifications
You must be signed in to change notification settings - Fork 2
/
CustomCalciteIconColor.html
33 lines (28 loc) · 1.07 KB
/
CustomCalciteIconColor.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!--
1. Calcite sample: https://developers.arcgis.com/calcite-design-system/components/input
2. Codepen sample: https://codepen.io/geospatialem/pen/WNgoYKe
-->
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<script type="module" src=https://js.arcgis.com/calcite-components/1.0.7/calcite.esm.js></script>
<link rel="stylesheet" type="text/css" href=https://js.arcgis.com/calcite-components/1.0.7/calcite.css />
<style>
/* WCAG 1.4.6: Contrast (Enhanced) - Level AAA */
body {
--calcite-ui-danger: #a92519;
}
</style>
</head>
<body>
<calcite-label>
Desired subdomain
<calcite-input status="invalid" suffix-text=".city-of-acme.gov" placeholder="Enter your subdomain"
value="big-map-fan"></calcite-input>
<calcite-input-message icon="exclamation-mark-circle-f" status="invalid">
Apologies, this subdomain has already been registered.
</calcite-input-message>
</calcite-label>
</body>
</html>