From 8057e8c63250e6728e81acbc45d242394d1fdce5 Mon Sep 17 00:00:00 2001 From: Konstantin Pastbin Date: Wed, 29 Jan 2025 19:39:19 +0300 Subject: [PATCH] [styles] Fix unused color vars warnings Signed-off-by: Konstantin Pastbin --- data/styles/default/dark/colors.mapcss | 1 - data/styles/default/light/colors.mapcss | 1 - data/styles/vehicle/dark/colors.mapcss | 21 ++------ data/styles/vehicle/light/colors.mapcss | 67 +++++++------------------ 4 files changed, 22 insertions(+), 68 deletions(-) diff --git a/data/styles/default/dark/colors.mapcss b/data/styles/default/dark/colors.mapcss index 7c367088f6..5271f707a7 100644 --- a/data/styles/default/dark/colors.mapcss +++ b/data/styles/default/dark/colors.mapcss @@ -26,7 +26,6 @@ /* 1.BASEMAP */ -@white: #444444; @background: #000000; /* 2.BOUNDARY */ diff --git a/data/styles/default/light/colors.mapcss b/data/styles/default/light/colors.mapcss index a453550ec3..bba1c937ac 100644 --- a/data/styles/default/light/colors.mapcss +++ b/data/styles/default/light/colors.mapcss @@ -26,7 +26,6 @@ /* 1.BASEMAP */ -@white: #ffffff; @background: #E3E1D2; /* 2.BOUNDARY */ diff --git a/data/styles/vehicle/dark/colors.mapcss b/data/styles/vehicle/dark/colors.mapcss index 9deaa0d151..03dd0b7f00 100644 --- a/data/styles/vehicle/dark/colors.mapcss +++ b/data/styles/vehicle/dark/colors.mapcss @@ -26,7 +26,6 @@ /* 1.BASEMAP */ -@white: #444444; @background: #050505; /* 2.BOUNDARY */ @@ -60,10 +59,10 @@ /* 4.LANDUSE */ /*4.1 Main landuse*/ -@pedestrian_area: #262222; -@pedestrian_area_light: #262222; +/* @university: #261F13; @hospital: #261916; +*/ @industrial: #0D0A0D; @sport: #070F0A; @military: #B71C1C; @@ -92,7 +91,6 @@ @building0: #191919; @building1: #1D1D1D; @building_border0: #1C1C1C; -@building_border1: #191919; /* 5.ROADS */ /* 5.1 All roads */ @@ -132,15 +130,6 @@ @unclassified_tunnel: #2B2827; @unclassified_tunnel_casing: #000000; -/* 5.4 Piste */ - -@piste: #623D7F; -@piste_novice:#5feb2e; -@piste_easy: #0b27fb; -@piste_intermadiate: #fc0e1b; -@piste_expert: #333333; -@piste_advanced: #222222; - /* 5.5 Transport */ @railway_light: #2C2630; @@ -148,9 +137,9 @@ @railway_tourism: #3D3128; @railway_tunnel: #222222; @railway_dash: #050505; -@aerialway: #4E4E3D; +/* @aerialway: #4E4E3D; */ @tram: #5C5C51; -@ferry: #2A4541; +/* @ferry: #2A4541; */ /* 6.LABELS COLORS */ /* 6.1 Main labels */ @@ -170,8 +159,6 @@ /* 6.3 Place labels */ @city_label: #999999; -@city_label_1: #828282; -@city_label_2: #737373; @country_label: #444444; @state_label: #444444; @district_label: #555555; diff --git a/data/styles/vehicle/light/colors.mapcss b/data/styles/vehicle/light/colors.mapcss index 24beb0fc84..e73cb993f9 100644 --- a/data/styles/vehicle/light/colors.mapcss +++ b/data/styles/vehicle/light/colors.mapcss @@ -1,12 +1,10 @@ /* BASE */ -@white: #ffffff; -@background:#E3E1D2; /*E6E6D5 #EDEAE1; /* @background: #f1eee8; */ -/*@backgroundone: #DEDECD;*/ +@background: #E3E1D2; /* BOUNDARIES */ @border_country: #63635C; -@border_country_light: #73726B; +/* @border_country_light: #73726B; */ @border_region: #73726B; @@ -32,7 +30,7 @@ /* bridges */ @bridge_background: #E5E4D5; @bridge_casing: #808080; -@casing_road: #F5F3E4; /*#BDBBAF; #FCFCF7; #E3E1D5;*/ +@casing_road: #F5F3E4; /* tunnels */ @@ -46,11 +44,6 @@ @tertiary_tunnel_casing: #808080; @unclassified_tunnel: #FFFFFF; @unclassified_tunnel_casing: #808080; -/*roads_links */ -@trunk_link: #FFFFFF; -@primary_link: #FFFFFF; -@secondary_link: #FFFFFF; -@tertiary_link: #f8f8f8; /* TRANSPORT */ @railway_light: #B2B1A2; @@ -58,10 +51,9 @@ @railway_tourism: #9C7D65; @railway_dash: #EEEEEE; @railway_tunnel: #808080; -@aerialway: #444444; +/* @aerialway: #444444; */ @tram: #7A7A7A; -@tram_1: #E82033; -@ferry: #4499Bb; +/* @ferry: #4499Bb; */ /*aerodrome*/ @aerodrome0: #D8D1E8; @@ -75,13 +67,13 @@ @glacier: #FFFFFF; @water: #8BD3E0; @water_bad: #9dc7c1; -/*@water_1: #9AD2D9;*/ @river: #36B0BF; -/*@river_1: #9AD2D9;*/ @wetland: #c9ddd6; -@forest: #C8DBAD;/*#AABF65;*/ -@park: #C8DBAD; /*A5BF60 #A4B275 #BCCC74*/ +@forest: #C8DBAD; +/* +@park: #C8DBAD; @natpark: #C8DBAD; +*/ @beach: #FCEC7E; @barerock: #D9D2BF; @desert: #EEE5B2; @@ -98,22 +90,20 @@ /* BUILDINGS */ @housenumber: #65655E; @building_label: #61615A; -@building0: #D4D3CA;/*#C9C8BB;*/ -@building1: #C7C6BF;/*#C2C0B3;*/ +@building0: #D4D3CA; +@building1: #C7C6BF; @building_border0: #D4D3CA; -@building_border1: #D4D3CA; /* LANDUSE */ -@pedestrian_area: #EDE8D6; -@pedestrian_area_light: #F2EEDA; - +/* @unversity: #F8E4BA; -@hospital: #F8D9D9;/*FADCDB*/ -@industrial: #E1DCE3;/*#D5D5DE; #E4E2EB;*/ +@hospital: #F8D9D9; +*/ +@industrial: #E1DCE3; @sport: #C8DBAD; @parking: #F2F2CE; -@parking_l: #FCFCC2;/*#F0EBC5;DCDCB9; #F2F2CE;*/ +@parking_l: #FCFCC2; @military: #E53935; @prison: #727272; @farmland: #ededc3; @@ -126,59 +116,38 @@ /* LABELS COLORS */ -@label_extra_dark: #000000; @label_dark: #222222; @label_medium: #333333; @label_light: #444444; -@label_extra_light: #7F7F7F; -@label_halo_bg: #E3E1D2; -@label_halo_dark: #E3E1D2; @label_halo_medium: #EDEBDB; @label_halo_light: #FFFFFF; /* PLACE LABELS */ @city_label: #666666; +/* @city_label_light: #7F7F7F; @city_halo: #DDDDCC; @city_halo_light: #DDDDCC; +*/ @country_label: #8C8C8C; @state_label: #8C8C8C; @district_label: #7F7F7F; @poi_label: #444444; @subway_label: #333333; -@railway_label: #333333; /* ROADS LABELS */ -@primary_road_label: #2E2E2E; -@secondary_road_label: #333333; @shield_text: #000000; @shield_text_halo: #000000; @shield: #FFFFFF; @shield_outline: #000000; -/* blue - #2E89B0; #687E94; #598DBE; */ @label_dark: #333333; @label_light: #444444; -@dark: #333333; /* NATURAL LABELS */ @water_label: #4499Bb; @park_label: #3A7921; -@park_label_1: #499953; @halo_park_label: #FFFFFF; -@halo_water_label: #fff; - -/* UNIVERSAL HALO */ -@label_halo: #FFFFFF; - - -/* PISTE */ -@piste: #C47AFF; -@piste_novice:#5feb2e; -@piste_easy: #0b27fb; -@piste_intermadiate: #fc0e1b; -@piste_expert: #220625; -@piste_advanced: #0a0a0d;