Was able to affect the changes by replacing the html {....} in the snippet with :root {....} instead.
html {....}
:root {....}