[styles] Colored labels for vehicle

Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
x7z4w
2025-09-15 13:58:53 +00:00
parent 0cd27f7ba9
commit 4dbba4c05e
3 changed files with 236 additions and 6 deletions

View File

@@ -168,6 +168,13 @@
@building_label: #737373;
@poi_label: #666666;
@subway_label: #555555;
@shop_label: #8C5F93;
@food_label: #BB9342;
@culture_label: #7F5933;
@hotel_label: #6D544C;
@healthcare_label: #C15746;
@industry_label: #717065;
@public_transport_label: #2F6499;
/* 6.4 Road labels */

View File

@@ -21,6 +21,7 @@
6.SHOP
7.CAR
7.1 Parking
8. COLORED LABELS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
@@ -72,22 +73,22 @@ node|z12-[landuse=forest][!name],
node|z13-[railway=station],
node|z14-[railway=halt],
{text: name;text-color: @label_dark;text-halo-radius: 1;text-halo-opacity: 0.6;text-halo-color: @label_halo_light;}
{text: name;text-color: @public_transport_label;text-halo-radius: 1;text-halo-opacity: 0.6;text-halo-color: @label_halo_light;}
node|z13-[railway=station]::int_name,
node|z14-[railway=halt]::int_name,
{text: int_name;text-color: @label_dark;text-halo-radius: 1;text-halo-opacity: 0.6;text-halo-color: @label_halo_light;}
{text: int_name;text-color: @public_transport_label;text-halo-radius: 1;text-halo-opacity: 0.6;text-halo-color: @label_halo_light;}
node|z17-[railway=tram_stop],
{text: name;text-color: @label_dark;text-halo-radius: 1;text-halo-opacity: 1;text-halo-color: @label_halo_light;}
{text: name;text-color: @public_transport_label;text-halo-radius: 1;text-halo-opacity: 1;text-halo-color: @label_halo_light;}
node|z17-[railway=tram_stop]::int_name,
{text: int_name;text-color: @label_dark;text-halo-radius: 1;text-halo-opacity: 1;text-halo-color: @label_halo_light;}
{text: int_name;text-color: @public_transport_label;text-halo-radius: 1;text-halo-opacity: 1;text-halo-color: @label_halo_light;}
node|z10-[aeroway=aerodrome][aerodrome=international],
node|z14-[aeroway=aerodrome],
{text: name;text-color: @label_dark;text-halo-radius: 1;text-halo-opacity: 0.7;text-halo-color: @label_halo_light;text-position: center;}
{text: name;text-color: @public_transport_label;text-halo-radius: 1;text-halo-opacity: 0.7;text-halo-color: @label_halo_light;text-position: center;}
node|z12-[aeroway=aerodrome][aerodrome=international]::int_name,
node|z14-[aeroway=aerodrome]::int_name,
{text: int_name;text-color: @label_dark;text-halo-radius: 1;text-halo-opacity: 0.7;text-halo-color: @label_halo_light;text-position: center;}
{text: int_name;text-color: @public_transport_label;text-halo-radius: 1;text-halo-opacity: 0.7;text-halo-color: @label_halo_light;text-position: center;}
/* 3.1 Train Station */
@@ -771,3 +772,218 @@ node|z19-[amenity=parking_entrance][access=private],
node|z17-[amenity=motorcycle_parking],
{icon-image: motorcycle-parking-m.svg;}
/* 8. Colored Labels */
node[shop=mall],
node[shop=car_repair][service=tyres],
node[amenity=studio],
node[shop=alcohol],
node[shop=antiques],
node[shop=art],
node[shop=bakery],
node[shop=beauty],
node[shop=beverages],
node[shop=bicycle],
node[shop=bookmaker],
node[shop=books],
node[shop=butcher],
node[shop=camera],
node[shop=car],
node[shop=caravan],
node[shop=charity],
node[shop=cheese],
node[shop=chemist],
node[shop=chocolate],
node[shop=clothes],
node[shop=computer],
node[shop=confectionery],
node[shop=convenience],
node[shop=copyshop],
node[shop=cosmetics],
node[shop=deli],
node[shop=department_store],
node[shop=doityourself],
node[shop=dry_cleaning],
node[shop=electronics],
node[shop=erotic],
node[shop=farm],
node[shop=florist],
node[shop=furniture],
node[shop=garden_centre],
node[shop=gift],
node[shop=greengrocer],
node[shop=grocery],
node[shop=hairdresser],
node[shop=hardware],
node[shop=health_food],
node[shop=houseware],
node[shop=interior_decoration],
node[shop=jewelry],
node[shop=kiosk],
node[shop=kitchen],
node[shop=laundry],
node[amenity=marketplace],
node[shop=mobile_phone],
node[shop=motorcycle],
node[shop=music],
node[shop=musical_instrument],
node[shop=optician],
node[shop=outdoor],
node[shop=pasta],
node[shop=pastry],
node[shop=pet],
node[shop=photo],
node[shop=rental],
node[shop=rental][rental=bike],
node[shop=seafood],
node[shop=second_hand],
node[shop=sewing],
node[shop=shoes],
node[shop=sports],
node[shop=stationery],
node[shop=supermarket],
node[shop=tattoo],
node[shop=ticket],
node[shop=toys],
node[shop=tyres],
node[shop=video],
node[shop=video_games],
node[shop=wine],
node[leisure=bowling_alley],
node[shop=variety_store],
node[amenity=internet_cafe],
node[shop],
node[shop=auction],
node[shop=collector],
node[shop=fabric],
node[shop=funeral_directors],
node[shop=hearing_aids],
node[shop=lottery],
node[shop=tobacco],
node[shop=wholesale],
{text-color: @shop_label;text-halo-radius: 0.1;text-halo-opacity: 0.7;text-halo-color: @label_halo_light;}
node[amenity=bar],
node[amenity=biergarten],
node[amenity=cafe],
node[amenity=fast_food],
node[amenity=food_court],
node[amenity=pub],
node[amenity=restaurant],
node[amenity=ice_cream],
node[amenity=nightclub],
node[amenity=stripclub],
{text-color: @food_label;text-halo-radius: 0.1;text-halo-opacity: 0.7;text-halo-color: @label_halo_light;}
node[amenity=arts_centre],
node[amenity=cinema],
node[amenity=community_centre],
node[amenity=place_of_worship]
node[amenity=social_facility],
node[amenity=theatre],
node[attraction=amusement_ride],
node[attraction=animal],
node[attraction=big_wheel],
node[attraction=bumper_car],
node[attraction=carousel],
node[attraction=historic],
node[attraction=maze],
node[attraction=roller_coaster],
node[leisure=escape_game],
node[leisure=stadium],
node[tourism=aquarium],
node[tourism=attraction],
node[tourism=gallery],
node[tourism=museum],
node[tourism=theme_park],
node[tourism=zoo]
node[tourism=zoo],
node[historic=ship],
node[amenity=conference_centre],
node[amenity=events_venue],
node[amenity=exhibition_centre],
node[leisure=marina],
node[amenity=casino],
node[amenity=gambling],
node[amenity=public_bath],
node[leisure=adult_gaming_centre],
node[leisure=amusement_arcade],
node[shop=massage],
{text-color: @culture_label;text-halo-radius: 0.1;text-halo-opacity: 0.7;text-halo-color: @label_halo_light;}
node[tourism=alpine_hut],
node[leisure=resort],
node[tourism=apartment],
node[tourism=chalet],
node[tourism=guest_house],
node[tourism=hostel],
node[tourism=hotel],
node[tourism=motel],
node[tourism=wilderness_hut],
{text-color: @hotel_label;text-halo-radius: 0.1;text-halo-opacity: 0.7;text-halo-color: @label_halo_light;}
area[amenity=hospital],
node[amenity=clinic],
node[amenity=dentist],
node[amenity=doctors],
node[amenity=hospital],
node[amenity=pharmacy],
node[amenity=veterinary],
node[healthcare],
{text-color: @healthcare_label;text-halo-radius: 0.1;text-halo-opacity: 0.7;text-halo-color: @label_halo_light;}
area[amenity=university][name]
node[aeroway=gate],
node[amenity=atm],
node[amenity=bank],
node[amenity=bureau_de_change],
node[amenity=charging_station][motorcar?],
node[amenity=childcare],
node[amenity=college],
node[amenity=courthouse],
node[amenity=driving_school],
node[amenity=kindergarten],
node[amenity=language_school],
node[amenity=library],
node[amenity=money_transfer],
node[amenity=music_school],
node[amenity=nursing_home],
node[amenity=police],
node[amenity=post_office],
node[amenity=prison],
node[amenity=school],
node[amenity=townhall],
node[amenity=university][name],
node[barrier=border_control],
node[leisure=beach_resort],
node[leisure=hackerspace],
node[office],
node[amenity=fuel],
node[landuse=industrial][industrial=mine],
node[landuse=quarry],
node[tourism=information][information=office],
node[amenity=vehicle_inspection],
node[shop=car_parts],
node[shop=car_repair],
node[shop=dry_cleaning],
node[shop=laundry],
node[shop=motorcycle_repair],
node[amenity=car_wash],
node[amenity=motorcycle_rental],
node[leisure=dance],
node[leisure=fitness_centre],
node[leisure=sports_centre],
node[leisure=sports_hall],
node[man_made=works],
node[shop=money_lender],
node[shop=pawnbroker],
node[sport=yoga],
node[amenity=car_rental],
node[amenity=car_sharing],
node[amenity=fire_station],
{text-color: @industry_label;text-halo-radius: 0.1;text-halo-opacity: 0.7;text-halo-color: @label_halo_light;}
node[amenity=bicycle_rental],
node[amenity=taxi],
{text-color: @public_transport_label;text-halo-radius: 0.1;text-halo-opacity: 0.7;text-halo-color: @label_halo_light;}

View File

@@ -139,6 +139,13 @@
@poi_label: #444444;
@subway_label: #333333;
@shop_label: #8C5678;
@food_label: #BA7141;
@culture_label: #82512D;
@hotel_label: #54413B;
@healthcare_label: #A6454B;
@industry_label: #494F54;
@public_transport_label: #1F4366;
/* ROADS LABELS */
@shield_text: #000000;