Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

selections and cursors with alpha channel #4

Closed
eburghar opened this issue Dec 17, 2021 · 1 comment
Closed

selections and cursors with alpha channel #4

eburghar opened this issue Dec 17, 2021 · 1 comment

Comments

@eburghar
Copy link

Hi,

Thanks a lot for this great theme. My default theme is dark.

I recently added alpha channels on selections, end of lines and cursor (primary and secondary). It improves a lot the overall readability. Here is the modified dark version. I changed the cursor colors (normal: blue, end of line: violet, matching: cyan), secondaries are blended.

####################
# SELENIZED BLACK  #
####################
# theme by Jan Warchoł
# ported by TeddyDD
# alpha cursors and selection by eburghar

evaluate-commands %sh{

bg="rgb:181818"
black="rgb:252525"
br_black="rgb:3b3b3b"
white="rgb:777777"
fg="rgb:b9b9b9"
br_white="rgb:dedede"

red="rgb:ed4a46"
green="rgb:70b433"
yellow="rgb:dbb32d"
blue="rgb:368aeb"
magenta="rgb:eb6eb7"
cyan="rgb:3fc5b7"
orange="rgb:e67f43"
violet="rgb:a580e2"

br_red="rgb:ff5e56"
br_green="rgb:83c746"
br_yellow="rgb:efc541"
br_blue="rgb:4f9cfe"
br_magenta="rgb:ff81ca"
br_cyan="rgb:56d8c9"
br_orange="rgb:fa9153"
br_violet="rgb:b891f5"

## code
echo "
set-face global value ${orange}+b
set-face global type ${br_orange}
set-face global variable ${magenta}
set-face global module ${blue}
set-face global function ${br_cyan}
set-face global string ${br_green}
set-face global keyword ${violet}+b
set-face global operator ${br_cyan}
set-face global attribute ${orange}
set-face global comment ${white}
set-face global meta ${br_orange}
set-face global builtin ${fg}+b

set-face global title ${blue}+u
set-face global header ${br_cyan}+u
set-face global bold ${br_white}+b
set-face global italic ${br_white}+i
set-face global mono ${br_green}
set-face global block ${orange}
set-face global link $blue
set-face global bullet ${br_magenta}
set-face global list ${magenta}

set-face global Default ${fg},${bg}
set-face global PrimarySelection default,rgba:${br_blue##*:}80
set-face global SecondarySelection default,rgba:${br_blue##*:}40
set-face global PrimaryCursor $black,$blue+b
set-face global SecondaryCursor default,rgba:${blue##*:}80+b
set-face global PrimaryCursorEol default,$violet
set-face global SecondaryCursorEol default,rgba:${violet##*:}80
set-face global MatchingChar default,rgba:${cyan##*:}80+bf
set-face global Search $br_white,$br_green
set-face global CurrentWord $white,$blue

set-face global MenuForeground $cyan,$br_black+b
set-face global MenuBackground $fg,$black

set-face global Information $br_yellow,$black
set-face global Error $black,$br_red

set-face global BufferPadding $black,$black
set-face global Whitespace $white
set-face global StatusLine $fg,$black
set-face global StatusLineInfo $yellow,$black

set-face global LineNumbers default
set-face global LineNumberCursor $br_blue
"

}
@TeddyDD
Copy link
Owner

TeddyDD commented Dec 17, 2021

Hi. Happy you like Selenized. Thanks for creating a new variant 👍️

I won't use this since it extends Selenized pallete, but feel free to open PR with this theme in contrib directory. I'll be happy to merge PR like that.

@TeddyDD TeddyDD closed this as completed Dec 17, 2021
@TeddyDD TeddyDD pinned this issue Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants