Moved style globals to index