Once this PR is merged, you’ll be able to use %{base_path} in theme setting descriptions:
%{base_path}
https://github.com/discourse/discourse/pull/33180