branch: elpa/cyberpunk-theme
commit b270acf667c9509368a4a36a38ff32ad818987b9
Author: Jasmin Patry <[email protected]>
Commit: Jasmin Patry <[email protected]>

    Fix unreadable company-tooltip-annotation
    
    As described in this issue:
    
        https://github.com/n3mo/cyberpunk-theme.el/issues/17
    
    company-tooltip-annotation text is rendered black-on-black. This change
    fixes that by inheriting from company-tooltip, which sets the background
    color to light gray.
---
 cyberpunk-theme.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cyberpunk-theme.el b/cyberpunk-theme.el
index 470a524..ee4eeb3 100644
--- a/cyberpunk-theme.el
+++ b/cyberpunk-theme.el
@@ -253,7 +253,7 @@
    `(company-tooltip-common ((,class (:inherit company-tooltip :foreground 
,cyberpunk-blue))))
    `(company-tooltip-common-selection ((,class (:inherit 
company-tooltip-selection :foreground ,cyberpunk-blue))))
    `(company-tooltip-selection ((,class (:foreground ,cyberpunk-black 
:background ,cyberpunk-pink-1))))
-   `(company-tooltip-annotation ((,class (:foreground ,cyberpunk-black-3))))
+   `(company-tooltip-annotation ((,class (:inherit company-tooltip :foreground 
,cyberpunk-black-3))))
    `(company-scrollbar-fg ((,class (:background ,cyberpunk-black-3))))
    `(company-scrollbar-bg ((,class (:background ,cyberpunk-gray-5))))
    `(company-preview ((,class (:foreground ,cyberpunk-gray :background 
,cyberpunk-pink-1))))

Reply via email to