Replace global styles with extension styles.