Different colors for light and dark mode?

Is it possible to register colors like "primary" differently for light and dark mode?
Was this page helpful?