ls1intum / Apollon

UML Modeling Editor written in React
https://apollon-library.readthedocs.io
MIT License
65 stars 22 forks source link

Composition and aggregation lines have a wrong color in Dark Theme #238

Open MichailZh opened 2 years ago

MichailZh commented 2 years ago

Describe the bug

Apollon and Artemis diagrams have a bug with coloring of the communication lines when you switch between "Light Mode" and "Dark Mode". Composition and aggregation have a wrong color.

To Reproduce

  1. Create 2 classes
  2. Create a connection between them
  3. Make sure, that the connection have type of Aggregation or Composition
  4. Switch the theme to another one
  5. Composition is now white and Aggregation is now dark

Expected behavior

Composition should be dark and Aggregation should be white

Screenshots

1 2

Environment

 - OS: Windows
 - Browser: Google Chrome
 - 102.0.5005.62

Additional context

Output in Web Console

  [REPLACE THIS WITH YOUR INFORMATION]
krusche commented 2 years ago

It is not about dark and white. It is about filled out (composition) vs not filled out (aggregation)