#
# Copyright 2023 Kevin Manca
# Copyright 2024 Thomas Herrle <therrle(at)gmail(dot)com>
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#

# Kurayami Theme for Geany
# Derived from Kevin M's Kurayami kitty theme (github.com/kevinm6)
# Original license: MIT
# Upstream: https://github.com/kevinm6/kitty-themes/blob/master/themes/kurayami.conf
# Ported to Geany by Thomas Herrle 

[theme_info]
name=Kurayami
description=A dark theme emphasizing readability with muted colors
version=1
author=Kevin M (Kitty theme) - Ported to Geany
url=https://github.com/kevinm6/kitty-themes/blob/master/themes/kurayami.conf
compat=1.22;1.23;1.23.1;1.24

[named_colors]
# Basic colors
fg=#cccccc
bg=#1c1c1c
selection_fg=#cccccc
selection_bg=#264f78

# Base colors
black=#2c2c2c
bright_black=#626262
red=#bf616a
bright_red=#b2201f
green=#00af87
bright_green=#36F57A
yellow=#cecb00
bright_yellow=#fffd00
blue=#158C8A
bright_blue=#1a8fff
purple=#B48EAD
bright_purple=#cb1ed1
cyan=#1a8fff
bright_cyan=#14ffff
white=#dcdcdc
bright_white=#ffffff

# Additional UI colors
cursor=#ffffff
cursor_bg=#3c3c3c
tab_active_fg=#DCDCDC
tab_active_bg=#015A60
tab_inactive_fg=#808080
tab_inactive_bg=#3c3c3c
url_color=#0087bd

[named_styles]
default=fg;bg;false;false
error=bright_red;bg;false;true

# Editor styles
selection=selection_fg;selection_bg;false;true
current_line=;black;true
brace_good=bright_blue;black;true
brace_bad=bright_red;black;true
margin_line_number=bright_black;black
margin_folding=bright_black;black
fold_symbol_highlight=white
indent_guide=bright_black
caret=cursor;;false
marker_line=yellow;black
marker_search=black;blue
marker_mark=green;black
call_tips=bright_black;black;false;false
white_space=bright_black;;true

# Programming languages
comment=bright_black
comment_doc=comment
comment_line=comment
comment_line_doc=comment_doc
comment_doc_keyword=comment,bold
comment_doc_keyword_error=comment,italic

number=purple
number_1=number
number_2=number_1

type=green
class=type
function=type
parameter=cyan

keyword=blue
keyword_1=keyword
keyword_2=cyan
keyword_3=keyword_1
keyword_4=keyword_2

identifier=default
identifier_1=identifier
identifier_2=identifier_1
identifier_3=identifier_1
identifier_4=identifier_1

string=red
string_1=string
string_2=string_1
string_3=default
string_4=default
string_eol=string_1,italic
character=string_1
backticks=string_2
here_doc=string_2

scalar=string_2
label=default,bold
preprocessor=green
regex=number_1
operator=default
decorator=string_1,bold
other=default
extra=keyword

# Markup languages
tag=keyword
tag_unknown=tag,bold
tag_end=tag,bold
attribute=type
attribute_unknown=attribute,bold
value=number
entity=number

# Diff
line_added=bright_green
line_removed=bright_red
line_changed=bright_blue
