In the linear gradient syntax and transform rotate() function currently isn't able to use logical angles.
Such that to get a background to follow the direction of the text would require JavaScript.
If a developer were to use:
background: linear-gradient(logical 1deg, white, black);
The rotation of the linear gradient in rtl language might be -1deg.