Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add line colors #10

Open
ITegs opened this issue Jun 27, 2023 · 2 comments
Open

add line colors #10

ITegs opened this issue Jun 27, 2023 · 2 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@ITegs
Copy link
Owner

ITegs commented Jun 27, 2023

With the new api (#4) the line colors are not part of the answer body.

With a list of lines -> hex colors a lookup table could be used.

@ITegs ITegs added the bug Something isn't working label Jun 29, 2023
@ITegs
Copy link
Owner Author

ITegs commented Jun 29, 2023

As a temporary "fix" the color behind the line could be matching the transportation type.

ex.:

  • SBAHN: #519955
  • UBAHN: #016db4
  • TRAM: #ef1923
  • BUS: #01586b

@ITegs
Copy link
Owner Author

ITegs commented Jul 30, 2023

Colors of each line

S-Bahn

  • S1: #1ebce6
  • S2: #79b833
  • S3: #962b85
  • S4: #e42027
  • S6: #008f5c
  • S7: #8a372f
  • S8: #2d2b29 / #ffcd00

U-Bahn

  • U1: #428235
  • U2: #c40d38
  • U3: #f36e31
  • U4: #0ab38d
  • U5: #b8740f
  • U6: #006cb3
  • U7: #428235 / #c40d38
  • U8: #c40d38 / #f36e31

Tram

  • #e30614

Bus

  • #005262

MVV-Regionalbus

  • Normal: #005262
  • Express: #234a9a

Source

@ITegs ITegs added the documentation Improvements or additions to documentation label Jul 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant