
#  ▄███████████████                   ▄▄▄████████▒░      ▄▄▄
# ████████████████████▒░      ██████████████████▒░   ▄█████████▄
# ░▒▒▒▒▒█████▒▒▒▒▒███▒░        ▒███████████▒▒▒▒▒░  ▄█████████████▄
#      █████████░░▒▒▒░███░   ███▒░▒▒▒▒█████▒░░░░  ██████▀   ▀██████░
#     ████████▒▒░ ░░░ ███▒░  ███▒ ░░░░█████▒░    ██████       ██████▒
#    ▄███▒▒▒▒▒░░     ███▒░  ███▒░     █████▒░    ░██████▄   ▄██████▒░
#    ███▒░░░░░      ▐████▄▄███▒░      ░█████▒░    ░▒█████████████▒▒░
#    ██▒░            ▐███████▒░        ░▒██▒░      ░░▒█████████▒▒░
#    ░▒░              ▒▒▒▒▒▒▒░          ░▒▒░         ░░▒▒▒▒▒▒▒░░░
#     ░               ░░░░░░░            ░░            ░░░░░░░
#          ▄██████▄░ ▄██████▄░ ▄██████▄░ ▄██████▄░ ▄██████▄░
#          ████████▒░████████▒░████████▒░████████▒░████████▒░
#          ▀██████▀░ ▀██████▀░ ▀██████▀░ ▀██████▀░ ▀██████▀░
#           ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░
#          ▄██████▄░ ▄██████▄░ ▄██████▄░ ▄██████▄░ ▄██████▄░
#          ████████▒░████████▒░████████▒░████████▒░████████▒░
#          ▀██████▀░ ▀██████▀░ ▀██████▀░ ▀██████▀░ ▀██████▀░
#           ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░
#            ░░░░░  ▄█████████████████████████████▄░ ░░░░░
#                   ███████████████████████████████▒░
#                   ▀█████████████████████████████▀░
#                    ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░
#                     ░░░░░░░░░░░░░░░░░░░░░░░░░░░░
#
#                  FUTO Keyboard Theme Configuration
#                        Format version: 1.0
#
# Although there are comments to help you, please check our guide for
# more information. It can be found at:
#                      https://docs.keyboard.futo.tech/theme/advanced
#
# If blindly editing configuration files isn't your thing, there is a
# much easier way which is our theme editor web app. You can see live
# realtime previews of the keyboard with different sizes or languages
# as well as an easy editing interface. Try it out at:
#                             https://keyboard.futo.tech/theme-editor
#
# Have fun theming!
# -------------------------------------------------------------------

name = "NeuGrey"
author = "MelonSteak"
id = "futo.neugrey"
version = 1
description = ""

[options]
auto_borders = true
center_hints = false
roundedness = 1
scale_text = 1
scale_hints = 1
weight_text = 500
weight_hints = 500

# -------------------------------------------------------------------
# There are many colors here, so it'll likely be difficult for you to
# edit them by hand. We would recommend you to use a Material 3 color
# generator or our theme editor linked above. Color format: #RRGGBBAA
# If you change a color, remove its "# inherited" comment if present.
# -------------------------------------------------------------------

[colors]
primary = "#b7b7b7"
on_primary = "#1a1c1c" # inherited
primary_container = "#464747" # inherited
on_primary_container = "#e3e2e2" # inherited
inverse_primary = "#5d5e5f" # inherited

secondary = "#c6c6c5" # inherited
on_secondary = "#2f3130" # inherited
secondary_container = "#464746" # inherited
on_secondary_container = "#e3e2e1" # inherited

tertiary = "#c9c6c1" # inherited
on_tertiary = "#31302d" # inherited
tertiary_container = "#484743" # inherited
on_tertiary_container = "#e5e2dc" # inherited

background = "#131313" # inherited
on_background = "#e5e2e1" # inherited

surface = "#131313" # inherited
on_surface = "#e5e2e1" # inherited
surface_variant = "#434749" # inherited
on_surface_variant = "#c4c7c9" # inherited
surface_tint = "#b7b7b7" # inherited
inverse_surface = "#e5e2e1" # inherited
inverse_on_surface = "#313030" # inherited

error = "#ffb4a8" # inherited
on_error = "#51221b" # inherited
error_container = "#6c3830" # inherited
on_error_container = "#ffdad4" # inherited

outline = "#929090cc" # inherited
outline_variant = "#47464666" # inherited
scrim = "#000000" # inherited

surface_bright = "#393939" # inherited
surface_dim = "#131313" # inherited
surface_container = "#1f1f1f" # inherited
surface_container_high = "#292929" # inherited
surface_container_highest = "#343434" # inherited
surface_container_low = "#1b1b1b" # inherited
surface_container_lowest = "#0d0d0d" # inherited

keyboard_surface = "#282828"
keyboard_surface_dim = "#0d0d0d" # inherited
keyboard_container = "#434343"
keyboard_container_variant = "#383838" # inherited
on_keyboard_container = "#e4e2e1" # inherited
keyboard_press = "#424242"
keyboard_container_pressed = "#92909054" # inherited
on_keyboard_container_pressed = "#92909000" # inherited

[options.font]
font = "geist.ttf"

# -------------------------------------------------------------------
# Matchrules will apply a key border or icon to a group of keys based
# on the selector.  They are order-dependent, only the first matching
# rule will be applied.
# -------------------------------------------------------------------

[[matchrules.border]]
selector = "morekeysbox"
asset = "placeholder.png"

[[matchrules.border]]
selector = "morekey pressed"
asset = "button2.png"

[[matchrules.border]]
selector = "morekey"
asset = "placeholder.png"

[[matchrules.border]]
selector = "nobackground"
asset = "button.png"

[[matchrules.border]]
selector = "stickyon"
asset = "pressed.png"

[[matchrules.border]]
selector = "pressed"
asset = "pressed.png"

[[matchrules.border]]
selector = "spacebar"
asset = "button.png"

[[matchrules.border]]
selector = "action"
asset = "button.png"

[[matchrules.border]]
selector = "functional"
asset = "button.png"

[[matchrules.border]]
selector = "normal"
asset = "button.png"

[[matchrules.border]]
selector = "layer -1"
asset = "highlight.png"

[[matchrules.border]]
selector = "layer -2"
asset = "shadow.png"

# -------------------------------------------------------------------
# All image assets used above should have a corresponding config here
# -------------------------------------------------------------------

[[asset.border]]
name = "shadow.png"
background_tint = "#ffffff"
foreground_tint = "#00000000"
padding = [0, 0, 0, 0]
slicing = [0.337, 0.355, 0.645, 0.631]
gap = [1, 1, -1.25, -0.75]
target_density = 640

[[asset.border]]
name = "button.png"
background_tint = "#ffffff"
foreground_tint = "#d4d4d4"
padding = [0, 0, 0, 0]
slicing = [0.199, 0.182, 0.806, 0.804]
gap = [1, 1.5, 1, 0.5]
target_density = 640

[[asset.border]]
name = "highlight.png"
background_tint = "#ffffff"
foreground_tint = "#00000000"
padding = [0, 0, 0, 0]
slicing = [0.334, 0.33, 0.61, 0.628]
gap = [-1.25, 0.25, 0, 0]
target_density = 640

[[asset.border]]
name = "pressed.png"
background_tint = "#ffffff"
foreground_tint = "#7f7f7f"
padding = [0, 0, 0, 0]
slicing = [0.278, 0.305, 0.692, 0.684]
gap = [1, 1.5, 1, 0.5]
target_density = 640

[[asset.border]]
name = "placeholder.png"
background_tint = "#ffffff"
foreground_tint = "#c2c2c2"
padding = [0, 0, 0, 0]
slicing = [0.149, 0.135, 0.847, 0.864]
gap = [1, 1, 1, 1]
target_density = 640

[[asset.border]]
name = "button2.png"
background_tint = "#ffffff"
foreground_tint = "#d6d6d6"
padding = [0, 0, 0, 0]
slicing = [0.159, 0.144, 0.843, 0.84]
gap = [1, 1, 1, 1]
target_density = 640