@swr-data-lab/components 2.34.3 → 2.34.5
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.
|
@@ -14,26 +14,27 @@ const tokens = {
|
|
|
14
14
|
background: {
|
|
15
15
|
stops: [
|
|
16
16
|
[8, 'hsl(210, 3%, 10%)'],
|
|
17
|
-
[10, '#
|
|
17
|
+
[10, '#181818']
|
|
18
18
|
]
|
|
19
19
|
},
|
|
20
20
|
water: 'hsl(210, 12%, 7%)',
|
|
21
21
|
water_light: 'hsl(210, 12%, 8%)',
|
|
22
22
|
water_ocean: 'hsl(214, 5%, 5%)',
|
|
23
23
|
marsh: 'hsl(180, 3%, 35%)',
|
|
24
|
-
grass: 'hsl(170,
|
|
25
|
-
grass_dark: 'hsl(170,
|
|
24
|
+
grass: 'hsl(170, 15%, 12%)',
|
|
25
|
+
grass_dark: 'hsl(170, 12%, 10%)',
|
|
26
26
|
sand: 'hsl(0, 0%, 16%)',
|
|
27
27
|
rock: 'hsl(0, 0%, 20%)',
|
|
28
28
|
street_primary: 'hsl(220, 3%, 20%)',
|
|
29
|
+
street_primary_faded: '#252525',
|
|
29
30
|
street_primary_case: 'hsl(0, 11%, 7%)',
|
|
30
31
|
street_secondary: 'hsl(0, 0%, 22%)',
|
|
31
32
|
street_secondary_case: 'hsl(0, 0%, 0%)',
|
|
32
33
|
street_tertiary: 'hsl(0, 0%, 20%)',
|
|
33
34
|
street_tertiary_case: 'hsl(0, 0%, 14%)',
|
|
34
|
-
label_primary: 'hsl(240, 5%,
|
|
35
|
-
label_secondary: 'hsl(0, 2%,
|
|
36
|
-
label_tertiary: 'hsl(0, 1%,
|
|
35
|
+
label_primary: 'hsl(240, 5%, 96%)',
|
|
36
|
+
label_secondary: 'hsl(0, 2%, 85%)',
|
|
37
|
+
label_tertiary: 'hsl(0, 1%, 75%)',
|
|
37
38
|
boundary_country: '#6e6f71',
|
|
38
39
|
boundary_country_case: '#181818',
|
|
39
40
|
boundary_state: 'hsl(218, 4%, 37%)',
|
|
@@ -26,6 +26,7 @@ const tokens = {
|
|
|
26
26
|
sand: 'hsl(60, 0%, 95%)',
|
|
27
27
|
rock: 'hsl(192, 0%, 90%)',
|
|
28
28
|
street_primary: 'hsl(0, 4%, 95%)',
|
|
29
|
+
street_primary_faded: 'hsl(0, 4%, 96%)',
|
|
29
30
|
street_primary_case: 'hsl(240, 1%, 84%)',
|
|
30
31
|
street_secondary: 'hsl(0, 0%, 95%)',
|
|
31
32
|
street_secondary_case: 'hsl(0, 0%, 75%)',
|
|
@@ -9,10 +9,15 @@ const case_layout = {
|
|
|
9
9
|
};
|
|
10
10
|
export default function makeRoads(tokens) {
|
|
11
11
|
const motorway = {
|
|
12
|
-
line_color:
|
|
12
|
+
line_color: {
|
|
13
|
+
stops: [
|
|
14
|
+
[5, tokens.street_primary_faded],
|
|
15
|
+
[7, tokens.street_primary]
|
|
16
|
+
]
|
|
17
|
+
},
|
|
13
18
|
line_width: {
|
|
14
19
|
stops: [
|
|
15
|
-
[
|
|
20
|
+
[5, 1],
|
|
16
21
|
[7, 1.5],
|
|
17
22
|
[11, 2],
|
|
18
23
|
[12, 3],
|
|
@@ -1466,7 +1471,7 @@ export default function makeRoads(tokens) {
|
|
|
1466
1471
|
['!=', 'link', true]
|
|
1467
1472
|
],
|
|
1468
1473
|
paint: {
|
|
1469
|
-
'line-color':
|
|
1474
|
+
'line-color': motorway.line_color,
|
|
1470
1475
|
'line-width': motorway.line_width,
|
|
1471
1476
|
'line-opacity': motorway.line_opacity
|
|
1472
1477
|
},
|