I have an SVG with two different colors. I want one of the colors to change dynamically (based on classes or Bricks styling), while the other should stay fixed.
Is the correct approach to manually replace the color value of the dynamic part with currentColor in the SVG code?
yes currentcolor will inherit its color from the parent color.
but instead of that creating variable colors and adding those variable colors to the svg parts (before uploading) are way to go if you need a very safe color system.