tkonolige commented on PR #12197: URL: https://github.com/apache/tvm/pull/12197#issuecomment-1197276646
Would it be possible to use ansi colors instead of hardcoding specific rgb values. That way the printed code would match the user's terminal colors? Here is with rgb colors: <img width="863" alt="Screen Shot 2022-07-27 at 12 27 57 PM" src="https://user-images.githubusercontent.com/1501680/181356103-d21c4f99-5783-4e84-bb98-0511ecc3274b.png"> And here is with ansi colors. Notice how it matches my prompt and other text in my terminal. <img width="858" alt="Screen Shot 2022-07-27 at 12 27 51 PM" src="https://user-images.githubusercontent.com/1501680/181356107-d8a65256-e71b-44f5-88d4-d46eb64c8298.png"> This is the theme I used: ``` Keyword: "bold ansimagenta", Keyword.Namespace: "ansicyan", Keyword.Type: "ansibrightblue", Name.Function: "bold ansiyellow", Name.Class: "bold ansiblue", Name.Decorator: "italic ansibrightmagenta", String: "ansibrightyellow", Number: "ansibrightgreen", Operator: "ansired", Operator.Word: "ansibrightcyan", Comment: "italic ansigray", ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@tvm.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org