Skip to content

Customization

Kid edited this page Apr 12, 2023 · 2 revisions

While Refined GitHub is opinionated about options, it does allow some customization via CSS variables.

file-age-color and release-download-count

You can customize the base color used by these features via the --rgh-heat-color CSS variable:

:root {
	--rgh-heat-color: <your-color>;
}

Rest of the colors will be inferred automatically.

Refined GitHub respects your tab size preference where applicable, and sets a sensible tab size of 4 otherwise.

You can customize this via the the --tab-size CSS variable:

:root,
.comment-body .tab-size[data-tab-size='8'] {
	--tab-size: <your-choice-of-tab-size>;
}