adjust view files format and add color variable to custom css