Skip to content

Conversation

@givensuman
Copy link
Contributor

🔧 What does this fix? 🔧

The CVE notice at the top of some Go package pages was unstyled and near unreadable.

Screenshot_2025-12-23_17-46-12

There's no good way to do this with a red background, so I opted for a border instead.

Screenshot_2025-12-23_17-47-15

🗒 Checklist 🗒

@github-actions github-actions bot added the go.dev go.dev label Dec 23, 2025
@givensuman
Copy link
Contributor Author

Hmmm the linter doesn't seem to be satisfiable.

border-left-width: 4px;
border-left-style: solid;
border-left-color: @red;

gives the error Expected shorthand property "border-left", as written it gives the error Use "border-left-color" instead of "border-left"

@namespace github.com/catppuccin/userstyles/styles/go.dev
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/go.dev
@version 2025.09.06
@version 2025.12.23
Copy link
Member

Choose a reason for hiding this comment

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

Doesn't need to be manually edited, see https://userstyles.catppuccin.com/contributing/#versioning. No need to revert now but please read our contributing documentation going forward!

Comment on lines +436 to +440
// CVE notice
.go-Message--alert {
background-color: @base;
border-left: solid 4px @red;
}
Copy link
Member

Choose a reason for hiding this comment

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

If the background is red you can set the text to crust for contrast and that should do the trick :)

@uncenter uncenter changed the title fix(go.dev) Unreadable CVE banner fix(go.dev): CVE banner Dec 24, 2025
@uncenter uncenter added the 2.status: changes-requested Changes requested by reviewers must be attended to by author before further review label Dec 27, 2025
@WalkQuackBack WalkQuackBack added the 0.kind: bug Bug (i.e. unthemed components) label Dec 29, 2025
@uncenter uncenter mentioned this pull request Jan 5, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.kind: bug Bug (i.e. unthemed components) 2.status: changes-requested Changes requested by reviewers must be attended to by author before further review go.dev go.dev

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants