In Floorp this is under Design>FirefoxPhotonLeptonUi, many of the tweaks and many others are provided here, so you won't have to implement already implemented things. It also has a shell script which can pull new updates if using normal firefox or if using floorp it is done by floorp developers.