amp icon indicating copy to clipboard operation
amp copied to clipboard

Support parsing RGBA values from theme files

Open zezic opened this issue 4 years ago • 0 comments

Some of the Text Mate themes contain color definitions like this:

<key>lineHighlight</key>
<string>#FFFFFF0F</string>

where 0F is an alpha value for the color. But Amp does not respect alpha value which results a broken theme appearance when, for example, current line becomes highlighted with solid white color:

Screenshot at 2020-02-13 18-01-38

I understand that transparency is not supported in terminals so I propose to read background color first and then blend all other RGBA colors over it which will result desired colors in most cases.

zezic avatar Feb 13 '20 15:02 zezic