Skip to content

Commit a9e3994

Browse files
committed
fix: add link styling guidance to prevent low-contrast links
1 parent 55247cb commit a9e3994

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## [0.4.2] - 2026-03-01
4+
5+
### Link Styling
6+
- New "Link Styling" section in `css-patterns.md` — never rely on browser default link colors; use accent colors with sufficient contrast
7+
38
## [0.4.1] - 2026-03-01
49

510
### Mermaid Layout Direction

SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ license: MIT
55
compatibility: Requires a browser to view generated HTML files. Optional surf-cli for AI image generation.
66
metadata:
77
author: nicobailon
8-
version: "0.4.1"
8+
version: "0.4.2"
99
---
1010

1111
# Visual Explainer

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "visual-explainer",
3-
"version": "0.4.1",
3+
"version": "0.4.2",
44
"description": "Agent skill that generates beautiful HTML pages for diagrams, diff reviews, plan reviews, and data tables",
55
"keywords": ["pi-package"],
66
"license": "MIT",

references/css-patterns.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ body {
8686
}
8787
```
8888

89+
## Link Styling
90+
91+
**Never rely on browser default link colors.** The default blue (`#0000EE`) has poor contrast on dark backgrounds. Style links with `color: var(--accent)` and keep underlines for discoverability. On dark backgrounds, use bright accents (`#22d3ee`, `#34d399`, `#fbbf24`). On light backgrounds, use deeper tones (`#0891b2`, `#059669`, `#d97706`).
92+
8993
## Section / Card Components
9094

9195
The fundamental building block. A colored card representing a system component, pipeline step, or data entity.

0 commit comments

Comments
 (0)