@swr-data-lab/components 2.34.0 → 2.34.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -131,7 +131,6 @@ const handleDebugCopyLocationClick = (e) => {
131
131
  .debug {
132
132
  position: absolute;
133
133
  top: 0;
134
- right: 0;
135
134
  background: rgba(0, 0, 0, 0.75);
136
135
  color: white;
137
136
  z-index: 1000;
@@ -139,7 +138,14 @@ const handleDebugCopyLocationClick = (e) => {
139
138
  font-size: 10px;
140
139
  font-family: monospace;
141
140
  display: flex;
142
- gap: 1em;
141
+ flex-flow: column;
142
+ }
143
+ @media (min-width: 600px) {
144
+ .debug {
145
+ gap: 1em;
146
+ right: 0;
147
+ flex-flow: row;
148
+ }
143
149
  }
144
150
  .debug li {
145
151
  list-style: none;
@@ -23,6 +23,8 @@ const tokens = {
23
23
  marsh: 'hsl(180, 3%, 35%)',
24
24
  grass: 'hsl(170, 20%, 14%)',
25
25
  grass_dark: 'hsl(170, 16%, 12%)',
26
+ sand: 'hsl(0, 0%, 16%)',
27
+ rock: 'hsl(0, 0%, 20%)',
26
28
  street_primary: 'hsl(220, 3%, 20%)',
27
29
  street_primary_case: 'hsl(0, 11%, 7%)',
28
30
  street_secondary: 'hsl(0, 0%, 22%)',
@@ -36,7 +38,6 @@ const tokens = {
36
38
  boundary_country_case: '#181818',
37
39
  boundary_state: 'hsl(218, 4%, 37%)',
38
40
  rail: 'hsl(0, 0%, 33%)',
39
- sand: 'hsl(0, 0%, 16%)',
40
41
  building: '#232325',
41
42
  hillshade_light: 'hsla(0, 0%, 77%, 0.15)',
42
43
  hillshade_dark: 'hsla(0, 0%, 0%, 0.65)'
@@ -23,6 +23,8 @@ const tokens = {
23
23
  marsh: 'hsl(200, 14%, 97%)',
24
24
  grass: 'hsl(133, 36%, 95%)',
25
25
  grass_dark: 'hsl(127, 49%, 93%)',
26
+ sand: 'hsl(60, 0%, 95%)',
27
+ rock: 'hsl(192, 0%, 90%)',
26
28
  street_primary: 'hsl(0, 4%, 95%)',
27
29
  street_primary_case: 'hsl(240, 1%, 84%)',
28
30
  street_secondary: 'hsl(0, 0%, 95%)',
@@ -34,7 +36,6 @@ const tokens = {
34
36
  label_tertiary: 'hsl(60, 1%, 50%)',
35
37
  building: '#f3f2f1',
36
38
  rail: '#d3d3d3',
37
- sand: 'hsl(60,0%,95%)',
38
39
  boundary_country: '#8b8a89',
39
40
  boundary_state: 'hsl(37, 10%, 75%)',
40
41
  boundary_country_case: 'white',
@@ -108,7 +108,7 @@ export default function makeLanduse(tokens) {
108
108
  'source-layer': 'land',
109
109
  filter: ['all', ['in', 'kind', 'bare_rock', 'scree', 'shingle']],
110
110
  paint: {
111
- 'fill-color': 'hsl(192,0%,90%)'
111
+ 'fill-color': tokens.rock
112
112
  }
113
113
  },
114
114
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@swr-data-lab/components",
3
3
  "description": "SWR Data Lab component library",
4
- "version": "2.34.0",
4
+ "version": "2.34.2",
5
5
  "author": "SWR Data Lab",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",