GeoGebra uses webtchnology (html, css, js) and thus can be customized without recompiling

Add custom Darkmode

Open the file

and change the line (873)
<body dir="ltr" tabindex="-1" onload="loadApp()">
to
<body dir="ltr" tabindex="-1" onload="loadApp()" style="filter: invert();">