Files
riscv-opcodes/rv_colors.py
Christian Herber 767b74181f Adding support to generate an svg from opcodes (#364)
* Adding support to generate an svg from opcodes

* Attempt to fix linting issues

* Adding matplotlib dependency to precommit hooks

* Update linting changes

* Added typed tuples

* Fixing further linting issue (WiP)

* Resolved all linting issue

Matplotlib types cannot be resolved by the linter.
Matplotlib calles are ignored for type checking

* Adding matplotlib to dependencies and svg to output for coverage
2025-08-08 13:42:05 -07:00

13 lines
290 B
Python

palette = {
"Berkeley Blue": "#003262",
"California Gold": "#FDB515",
"Dark Blue": "#011e41",
"Teal": "#0a6b7c",
"Magenta": "#cb007b",
"Purple": "#60269e",
"Light Gold": "#fdda64",
"Light Teal": "#62cbc9",
"Pink": "#fe9bb1",
"Lavender": "#c2a6e1",
}