
#  ▄███████████████                   ▄▄▄████████▒░      ▄▄▄
# ████████████████████▒░      ██████████████████▒░   ▄█████████▄
# ░▒▒▒▒▒█████▒▒▒▒▒███▒░        ▒███████████▒▒▒▒▒░  ▄█████████████▄
#      █████████░░▒▒▒░███░   ███▒░▒▒▒▒█████▒░░░░  ██████▀   ▀██████░
#     ████████▒▒░ ░░░ ███▒░  ███▒ ░░░░█████▒░    ██████       ██████▒
#    ▄███▒▒▒▒▒░░     ███▒░  ███▒░     █████▒░    ░██████▄   ▄██████▒░
#    ███▒░░░░░      ▐████▄▄███▒░      ░█████▒░    ░▒█████████████▒▒░
#    ██▒░            ▐███████▒░        ░▒██▒░      ░░▒█████████▒▒░
#    ░▒░              ▒▒▒▒▒▒▒░          ░▒▒░         ░░▒▒▒▒▒▒▒░░░
#     ░               ░░░░░░░            ░░            ░░░░░░░
#          ▄██████▄░ ▄██████▄░ ▄██████▄░ ▄██████▄░ ▄██████▄░
#          ████████▒░████████▒░████████▒░████████▒░████████▒░
#          ▀██████▀░ ▀██████▀░ ▀██████▀░ ▀██████▀░ ▀██████▀░
#           ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░
#          ▄██████▄░ ▄██████▄░ ▄██████▄░ ▄██████▄░ ▄██████▄░
#          ████████▒░████████▒░████████▒░████████▒░████████▒░
#          ▀██████▀░ ▀██████▀░ ▀██████▀░ ▀██████▀░ ▀██████▀░
#           ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░
#            ░░░░░  ▄█████████████████████████████▄░ ░░░░░
#                   ███████████████████████████████▒░
#                   ▀█████████████████████████████▀░
#                    ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░
#                     ░░░░░░░░░░░░░░░░░░░░░░░░░░░░
#
#                  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 = "crude"
author = "MelonSteak"
id = "futo.crude"
version = 1
description = ""

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

# -------------------------------------------------------------------
# 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 = "#cf0c28"
on_primary = "#ffdad7" # inherited
primary_container = "#930017" # inherited
on_primary_container = "#ffdad7" # inherited
inverse_primary = "#bf0022" # inherited

secondary = "#ffafd4" # inherited
on_secondary = "#531c3b" # inherited
secondary_container = "#6e3252" # inherited
on_secondary_container = "#ffd8e8" # inherited

tertiary = "#c7bfff" # inherited
on_tertiary = "#2f295e" # inherited
tertiary_container = "#464076" # inherited
on_tertiary_container = "#e4dfff" # inherited

background = "#121316" # inherited
on_background = "#e3e2e6" # inherited

surface = "#121316" # inherited
on_surface = "#ffffff"
surface_variant = "#45464f" # inherited
on_surface_variant = "#00ff19"
surface_tint = "#cf0c28" # inherited
inverse_surface = "#e3e2e6" # inherited
inverse_on_surface = "#2f3034" # inherited

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

outline = "#919094cc" # inherited
outline_variant = "#46464a66" # inherited
scrim = "#000000" # inherited

surface_bright = "#38393c" # inherited
surface_dim = "#121316" # inherited
surface_container = "#1e1f22" # inherited
surface_container_high = "#28292c" # inherited
surface_container_highest = "#333437" # inherited
surface_container_low = "#1a1b1e" # inherited
surface_container_lowest = "#0c0d10" # inherited

keyboard_surface = "#121316"
keyboard_surface_dim = "#0c0d10" # inherited
keyboard_container = "#1E2024"
keyboard_container_variant = "#14161a" # inherited
on_keyboard_container = "#e2e2e7" # inherited
keyboard_press = "#bf0022" # inherited
keyboard_container_pressed = "#91909454" # inherited
on_keyboard_container_pressed = "#91909400" # inherited

[options.font]
font = "Montserrat-ExtraBold.ttf"

[options.background]
image = "bg.jpg"
opacity = 1
action_bar_opacity = 0
cropping = [0, 0, 1, 1]

# -------------------------------------------------------------------
# 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 = "nobackground pressed"
asset = "Button 2-pressed.png"

[[matchrules.border]]
selector = "nobackground label 5"
asset = "Button 2-alt.png"

[[matchrules.border]]
selector = "nobackground label 3"
asset = "Button 2-alt.png"

[[matchrules.border]]
selector = "nobackground label 2"
asset = "Button 2-alt.png"

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

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

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

[[matchrules.border]]
selector = "nobackground"
asset = "Button 2.png"

[[matchrules.border]]
selector = "spacebar pressed"
asset = "Spacebar-pressed.png"

[[matchrules.border]]
selector = "action pressed"
asset = "Enter-pressed.png"

[[matchrules.border]]
selector = "functional pressed"
asset = "Button 3-pressed.png"

[[matchrules.border]]
selector = "normal pressed"
asset = "Button 1-pressed.png"

[[matchrules.border]]
selector = "label L"
asset = "Button 1-alt.png"

[[matchrules.border]]
selector = "label l"
asset = "Button 1-alt.png"

[[matchrules.border]]
selector = "label F"
asset = "Button 1-alt.png"

[[matchrules.border]]
selector = "label f"
asset = "Button 1-alt.png"

[[matchrules.border]]
selector = "label O"
asset = "Button 1-alt.png"

[[matchrules.border]]
selector = "label o"
asset = "Button 1-alt.png"

[[matchrules.border]]
selector = "label X"
asset = "Button 1-alt.png"

[[matchrules.border]]
selector = "label x"
asset = "Button 1-alt.png"

[[matchrules.border]]
selector = "label Y"
asset = "Button 1-alt.png"

[[matchrules.border]]
selector = "label y"
asset = "Button 1-alt.png"

[[matchrules.border]]
selector = "label B"
asset = "Button 1-alt.png"

[[matchrules.border]]
selector = "label b"
asset = "Button 1-alt.png"

[[matchrules.border]]
selector = "label Q"
asset = "Button 1-alt.png"

[[matchrules.border]]
selector = "label q"
asset = "Button 1-alt.png"

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

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

[[matchrules.border]]
selector = "functional"
asset = "Button 3.png"

[[matchrules.border]]
selector = "normal"
asset = "Button 1.png"

[[matchrules.icon]]
selector = "icon enter_key"
asset = "vaadin--enter-arrow.png"

[[matchrules.icon]]
selector = "icon action_emoji"
asset = "emojione-monotone--pouting-face.png"

[[matchrules.icon]]
selector = "icon delete_key"
asset = "entypo--arrow-bold-left.png"

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

[[asset.border]]
name = "Button 1.png"
background_tint = "#ffffff"
foreground_tint = "#ff0000"
padding = [0, 0, 0, 0]
slicing = [0.11, 0.121, 0.866, 0.871]
gap = [1, 1, 1, 1]
target_density = 640

[[asset.border]]
name = "Button 1-alt.png"
background_tint = "#ffffff"
foreground_tint = "#ff0000"
padding = [0, 0, 0, 0]
slicing = [0.139, 0.156, 0.827, 0.827]
gap = [1, 1, 1, 1]
target_density = 640

[[asset.border]]
name = "Button 2.png"
background_tint = "#ffffff"
foreground_tint = "#3d00ff"
padding = [0, 0, 0, 0]
slicing = [0.13, 0.133, 0.844, 0.838]
gap = [1, 1, 1, 1]
target_density = 640

[[asset.border]]
name = "Button 2-alt.png"
background_tint = "#ffffff"
foreground_tint = "#4700ff"
padding = [0, 0, 0, 0]
slicing = [0.141, 0.14, 0.837, 0.828]
gap = [1, 1, 1, 1]
target_density = 640

[[asset.border]]
name = "Button 3.png"
background_tint = "#ffffff"
foreground_tint = "#ff5bf5"
padding = [0, 0, 0, 0]
slicing = [0.152, 0.17, 0.847, 0.852]
gap = [1, 1, 1, 1]
target_density = 640

[[asset.border]]
name = "Enter.png"
background_tint = "#ffffff"
foreground_tint = "#000000"
padding = [0, 0, 0, 0]
slicing = [0.133, 0.155, 0.862, 0.852]
gap = [1, 1, 1, 1]
target_density = 640

[[asset.border]]
name = "Spacebar.png"
background_tint = "#ffffff"
foreground_tint = "#a300ff"
padding = [0, 0, 0, 0]
slicing = [0.219, 0.091, 0.774, 0.62]
gap = [1, 1, 1, 1]
target_density = 640

[[asset.icon]]
name = "entypo--arrow-bold-left.png"
target_density = 640

[[asset.icon]]
name = "emojione-monotone--pouting-face.png"
target_density = 640

[[asset.icon]]
name = "vaadin--enter-arrow.png"
target_density = 640

[[asset.border]]
name = "Button 3-pressed.png"
background_tint = "#ffffff"
foreground_tint = "#229e00"
padding = [0, 0, 0, 0]
slicing = [0.132, 0.135, 0.843, 0.864]
gap = [1, 1, 1, 1]
target_density = 640

[[asset.border]]
name = "Enter-pressed.png"
background_tint = "#ffffff"
foreground_tint = "#ffffff"
padding = [0, 0, 0, 0]
slicing = [0.142, 0.133, 0.832, 0.822]
gap = [1, 1, 1, 1]
target_density = 640

[[asset.border]]
name = "Spacebar-pressed.png"
background_tint = "#ffffff"
foreground_tint = "#000000"
padding = [0, 0, 0, 0]
slicing = [0.267, 0.117, 0.721, 0.618]
gap = [1, 1, 1, 1]
target_density = 640

[[asset.border]]
name = "Button 1-pressed.png"
background_tint = "#ffffff"
foreground_tint = "#00ffff"
padding = [0, 0, 0, 0]
slicing = [0.157, 0.149, 0.833, 0.835]
gap = [1, 1, 1, 1]
target_density = 640

[[asset.border]]
name = "Button 2-pressed.png"
background_tint = "#ffffff"
foreground_tint = "#14ff00"
padding = [0, 0, 0, 0]
slicing = [0.129, 0.15, 0.85, 0.855]
gap = [1, 1, 1, 1]
target_density = 640

[[asset.border]]
name = "morekey-pressed.png"
background_tint = "#ffffff"
foreground_tint = "#dd61ff"
padding = [0, 0, 0, 0]
slicing = [0.172, 0.168, 0.813, 0.806]
gap = [1, 1, 1, 1]
target_density = 640

[[asset.border]]
name = "morekey2.png"
background_tint = "#ffffff"
foreground_tint = "#ffffff"
padding = [0, 0, 0, 0]
slicing = [0.024, 0.021, 0.972, 0.974]
gap = [1, 1, 1, 1]
target_density = 640