`conversation-authors` - Fix color for Enterprise by 134130 · Pull Request #9560 · refined-github/refined-github · GitHub
Skip to content

conversation-authors - Fix color for Enterprise#9560

Merged
fregante merged 3 commits into
refined-github:mainfrom
134130:patch-1
May 21, 2026
Merged

conversation-authors - Fix color for Enterprise#9560
fregante merged 3 commits into
refined-github:mainfrom
134130:patch-1

Conversation

@134130

@134130 134130 commented May 21, 2026

Copy link
Copy Markdown
Contributor
  • The older version of GitHub (Enterprise) does not have a bgColor variable.
  • Other CSS files also use the --color-* variables as a replacement, and this CSS follows suit.

Test URLs

Screenshot

  • Sorry for no screenshot. (isolated device)

@SunsetTechuila

Copy link
Copy Markdown
Contributor

fuchsia
) !important; /* Their :hover uses !important... */
background-color: var(--bgColor-attention-muted, fuchsia);
background-color: var(--bgColor-attention-muted, var(--color-attension-subtle, fuchsia));

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a couple of issues. The class name appears to be misspelled. And you're using a version that is way past our support window

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, then I'll just use custom css! thanks!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can probably still merge it since I saw we have a number of similar vars and no rush to drop them

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so too! It's very safe and there's no risk. 😀

@134130 134130 closed this May 21, 2026
@SunsetTechuila

Copy link
Copy Markdown
Contributor

This version isn't supported by GitHub since 2025 😭

https://docs.github.com/en/enterprise-server@3.21/admin/all-releases

@134130 134130 reopened this May 21, 2026
@fregante fregante merged commit b0de4e1 into refined-github:main May 21, 2026
10 checks passed
@github-actions

Copy link
Copy Markdown

To maintainers: Please add labels to this PR

@fregante fregante added the bug label May 21, 2026
@fregante

Copy link
Copy Markdown
Member

We were supposed to drop these a long time ago:

In reality I see color-fg-muted used in a large number of places still, both on GitHub and in our codebase.

The only problem with keeping them around is that effectively we don't know if the primary color variables are being matched at all. Once we drop these classes, we might end up with fuchsia simply because the new names haven't been matching in a while (or ever)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants