Skip to content

Commit ad35531

Browse files
committed
Improve the colorization of coordinates
1 parent cd4acf0 commit ad35531

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/jgo/styles.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99
# Style mappings for coordinate components and punctuation
1010
STYLES = {
1111
# Maven coordinate components
12-
"g": "bold cyan", # groupId
13-
"a": "bold", # artifactId
14-
"v": "green", # version
15-
"p": None, # packaging
16-
"c": None, # classifier
17-
"s": None, # scope
12+
# Visual hierarchy: a > v > c > g > s > p
13+
"g": "cyan", # groupId - organizational context
14+
"a": "bold", # artifactId - maximum visibility
15+
"v": "bright_green", # version - highly visible, positive semantic
16+
"p": None, # packaging - de-emphasize (usually just "jar")
17+
"c": "yellow", # classifier - attention-grabbing for variants
18+
"s": "blue", # scope - contextual metadata
1819
# Structural elements
1920
":": "dim", # colon separator
2021
"!": "dim", # raw/unmanaged flag

0 commit comments

Comments
 (0)