define css variables in js. There are any references about define css variables in js in here. you can look below.