Skip to content

Commit 1802705

Browse files
committed
style(css): Consolidate .cli-command and .cli-choice green color
1 parent c97be8a commit 1802705

1 file changed

Lines changed: 9 additions & 14 deletions

File tree

docs/_static/css/argparse-highlight.css

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,18 @@
5454
}
5555

5656
/*
57-
* CLI Commands
57+
* CLI Commands and Choices
5858
*
59-
* Subcommand names like sync, add, list.
60-
* Green (same as choices) - they're enumerated command options.
59+
* Both use green to indicate valid enumerated values.
60+
* Commands: subcommand names like sync, add, list
61+
* Choices: enumeration values like json, yaml, table
6162
*/
62-
.cli-command {
63+
.cli-command,
64+
.cli-choice {
6365
color: #98C379;
66+
}
67+
68+
.cli-command {
6469
font-weight: bold;
6570
}
6671

@@ -75,16 +80,6 @@
7580
font-style: italic;
7681
}
7782

78-
/*
79-
* CLI Choice Values
80-
*
81-
* Choice enumeration values like json, yaml, table.
82-
* Green color to show they are valid literal values.
83-
*/
84-
.cli-choice {
85-
color: #98C379;
86-
}
87-
8883
/* ==========================================================================
8984
Argparse Code Block Highlighting
9085
========================================================================== */

0 commit comments

Comments
 (0)