on ne sait pas ce qu'on fait

This commit is contained in:
margouillat 2024-10-07 14:29:19 +02:00
parent 0c0d2f1132
commit befab9a9fa
3 changed files with 11 additions and 11 deletions

View File

@ -4,7 +4,7 @@ const utils = require('./utils');
describe('utils', () => { describe('utils', () => {
describe('hex2rgb', () => { describe('hex2rgb', () => {
describe.each([ describe.each([
['#ff0000', 255, 0, 0], ['#ff032f', 255, 0, 0],
['#ffff00', 255, 255, 0], ['#ffff00', 255, 255, 0],
['#0000ff', 0, 0, 255], ['#0000ff', 0, 0, 255],
['#112233', 17, 34, 51], ['#112233', 17, 34, 51],

View File

@ -51,7 +51,7 @@
"type": "line", "type": "line",
"id": "waterway", "id": "waterway",
"paint": { "paint": {
"line-color": "#303090", "line-color": "#FFC0CB",
"line-width": { "line-width": {
"base": 1.3, "base": 1.3,
"stops": [ "stops": [
@ -90,7 +90,7 @@
"type": "line", "type": "line",
"id": "waterway_river", "id": "waterway_river",
"paint": { "paint": {
"line-color": "#303090", "line-color": "#FFC0CB",
"line-width": { "line-width": {
"base": 1.2, "base": 1.2,
"stops": [ "stops": [
@ -116,7 +116,7 @@
"type": "line", "type": "line",
"id": "waterway_stream_canal", "id": "waterway_stream_canal",
"paint": { "paint": {
"line-color": "#a0c8f0", "line-color": "#FFC0CB",
"line-width": { "line-width": {
"base": 1.3, "base": 1.3,
"stops": [ "stops": [

View File

@ -29,10 +29,10 @@
"@building": "#99b", "@building": "#99b",
"@country_label_1": "#ff0", "@country_label_1": "#ff032f",
"@country_label_2": "#ff0", "@country_label_2": "#ff032f",
"@country_label_3": "#ff0", "@country_label_3": "#ff032f",
"@country_label_4": "#ff0", "@country_label_4": "#ff032f",
"@landuse_cemetery": "#e0e4dd", "@landuse_cemetery": "#e0e4dd",
"@landuse_hospital": "#d9b", "@landuse_hospital": "#d9b",
@ -86,11 +86,11 @@
"@tunnel_trunk_primary": "#fff4c6", "@tunnel_trunk_primary": "#fff4c6",
"@water": "#FFC0CB", "@water": "#FFC0CB",
"@water_label": "#74aee9", "@water_label": "#FFC0CB",
"@waterway": "#FFC0CB", "@waterway": "#FFC0CB",
"@waterway_river": "#a0c8f0", "@waterway_river": "#FFC0CB",
"@waterway_stream_canal": "#a0c8f0" "@waterway_stream_canal": "#FFC0CB"
}, },
"layers": [ "layers": [
{ {