* refactor: reduce duplicate code * style: add a white background to the light color theme to avoid the gray text being too light
* refactor: reduce duplicate code * style: add a white background to the light color theme to avoid the gray text being too light