
#  ▄███████████████                   ▄▄▄████████▒░      ▄▄▄
# ████████████████████▒░      ██████████████████▒░   ▄█████████▄
# ░▒▒▒▒▒█████▒▒▒▒▒███▒░        ▒███████████▒▒▒▒▒░  ▄█████████████▄
#      █████████░░▒▒▒░███░   ███▒░▒▒▒▒█████▒░░░░  ██████▀   ▀██████░
#     ████████▒▒░ ░░░ ███▒░  ███▒ ░░░░█████▒░    ██████       ██████▒
#    ▄███▒▒▒▒▒░░     ███▒░  ███▒░     █████▒░    ░██████▄   ▄██████▒░
#    ███▒░░░░░      ▐████▄▄███▒░      ░█████▒░    ░▒█████████████▒▒░
#    ██▒░            ▐███████▒░        ░▒██▒░      ░░▒█████████▒▒░
#    ░▒░              ▒▒▒▒▒▒▒░          ░▒▒░         ░░▒▒▒▒▒▒▒░░░
#     ░               ░░░░░░░            ░░            ░░░░░░░
#          ▄██████▄░ ▄██████▄░ ▄██████▄░ ▄██████▄░ ▄██████▄░
#          ████████▒░████████▒░████████▒░████████▒░████████▒░
#          ▀██████▀░ ▀██████▀░ ▀██████▀░ ▀██████▀░ ▀██████▀░
#           ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░
#          ▄██████▄░ ▄██████▄░ ▄██████▄░ ▄██████▄░ ▄██████▄░
#          ████████▒░████████▒░████████▒░████████▒░████████▒░
#          ▀██████▀░ ▀██████▀░ ▀██████▀░ ▀██████▀░ ▀██████▀░
#           ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░
#            ░░░░░  ▄█████████████████████████████▄░ ░░░░░
#                   ███████████████████████████████▒░
#                   ▀█████████████████████████████▀░
#                    ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░
#                     ░░░░░░░░░░░░░░░░░░░░░░░░░░░░
#
#                  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 = "3D Keys"
author = "Alex"
id = "p.alex.threed"
version = 2
description = "Layered 3D Keys"

[options]
auto_borders = true
center_hints = false
roundedness = 1
scale_text = 1
scale_hints = 1
weight_text = 400
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 = "#0225da"
on_primary = "#dfe0ff" # inherited
primary_container = "#dfe0ff" # inherited
on_primary_container = "#171a30" # inherited
inverse_primary = "#bcc2ff" # inherited

secondary = "#00629e" # inherited
on_secondary = "#ffffff" # inherited
secondary_container = "#cfe5ff" # inherited
on_secondary_container = "#051d30" # inherited

tertiary = "#006a65" # inherited
on_tertiary = "#ffffff" # inherited
tertiary_container = "#a0f1ea" # inherited
on_tertiary_container = "#00201e" # inherited

background = "#f9f9f9" # inherited
on_background = "#1a1c1c" # inherited

surface = "#f9f9f9" # inherited
on_surface = "#1a1c1c" # inherited
surface_variant = "#dde4e6" # inherited
on_surface_variant = "#41484a" # inherited
surface_tint = "#0225da" # inherited
inverse_surface = "#2f3131" # inherited
inverse_on_surface = "#f1f1f1" # inherited

error = "#c00100" # inherited
on_error = "#ffffff" # inherited
error_container = "#ffdad4" # inherited
on_error_container = "#2a1613" # inherited

outline = "#767777cc" # inherited
outline_variant = "#c6c6c766" # inherited
scrim = "#000000" # inherited

surface_bright = "#f9f9f9" # inherited
surface_dim = "#dadada" # inherited
surface_container = "#edeeee" # inherited
surface_container_high = "#e7e8e8" # inherited
surface_container_highest = "#e2e3e3" # inherited
surface_container_low = "#f3f4f4" # inherited
surface_container_lowest = "#ffffff" # inherited

keyboard_surface = "#dedede"
keyboard_surface_dim = "#e2e3e3" # inherited
keyboard_container = "#ffffff"
keyboard_container_variant = "#e8e8e8" # inherited
on_keyboard_container = "#1a1c1c" # inherited
keyboard_press = "#bcc2ff" # inherited
keyboard_container_pressed = "#76777754" # inherited
on_keyboard_container_pressed = "#76777700" # inherited

# -------------------------------------------------------------------
# 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 = "rectangle0.png"

[[matchrules.border]]
selector = "popup"
asset = "rectangle3.png"

[[matchrules.border]]
selector = "pressed layer 1"
asset = "rectangle3.png"

[[matchrules.border]]
selector = "functional row -1"
asset = "rectangle2.png"

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

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

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

[[matchrules.border]]
selector = "layer 0"
asset = "rectangle2.png"

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

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

[[asset.border]]
name = "rectangle3.png"
background_tint = "#de4cbe"
foreground_tint = "#ffffff"
padding = [0, 0, 0, 0]
slicing = [0.35, 0.35, 0.65, 0.65]
gap = [1, 1, 1, 0.5]
target_density = 640

[[asset.border]]
name = "rectangle2.png"
background_tint = "#bd1c9c67"
foreground_tint = "#00000000"
padding = [0, 0, 0, 0]
slicing = [0.35, 0.35, 0.65, 0.65]
gap = [1, 1, 1, 0.5]
target_density = 640

[[asset.border]]
name = "rectangle0.png"
background_tint = "#ffffff"
foreground_tint = "#171717"
padding = [0, 0, 0, 0]
slicing = [0.35, 0.35, 0.65, 0.65]
gap = [1, 1, 1, 1]
target_density = 640

[[asset.border]]
name = "rectangle1.png"
background_tint = "#1450be79"
foreground_tint = "#00000000"
padding = [0, 0, 0, 0]
slicing = [0.35, 0.35, 0.65, 0.65]
gap = [1, 1, 1, 0.5]
target_density = 640

[[asset.border]]
name = "keyshadow.png"
background_tint = "#ffffff"
foreground_tint = "#00000000"
padding = [0, 0, 0, 0]
slicing = [0.434, 0.285, 0.54, 0.734]
gap = [-2, 1, -2, -1]
target_density = 640