I'm not sure about the brightness slider, but you can hide icons from the status bar using the blacklist feature in adb. You can view your current blacklist here (if it exists):
adb shell settings get secure icon_blacklist
Then make sure vpn
is in the blacklist. If you want to hide multiple icons, they must be in a list with no spaces. Here is an example I used for an Android tablet but it will be similar for Graphene.
adb shell settings put secure icon_blacklist frontlight,media_mute,refresh_mode,rotate,volume,vpn
If you don't know the name of the icon you want to hide, you can find it in here:
adb shell dumpsys activity service SystemUIService | grep -A 39 "StatusBarIconList state:"
I don't know of any comprehensive guide. I found these commands by using ChatGPT, but I can confirm it works to hide the VPN icon on GrapheneOS (A15, Pixel 8). Also it's recommended to keep developer mode disabled after doing this for security reasons.