
#  ▄███████████████                   ▄▄▄████████▒░      ▄▄▄
# ████████████████████▒░      ██████████████████▒░   ▄█████████▄
# ░▒▒▒▒▒█████▒▒▒▒▒███▒░        ▒███████████▒▒▒▒▒░  ▄█████████████▄
#      █████████░░▒▒▒░███░   ███▒░▒▒▒▒█████▒░░░░  ██████▀   ▀██████░
#     ████████▒▒░ ░░░ ███▒░  ███▒ ░░░░█████▒░    ██████       ██████▒
#    ▄███▒▒▒▒▒░░     ███▒░  ███▒░     █████▒░    ░██████▄   ▄██████▒░
#    ███▒░░░░░      ▐████▄▄███▒░      ░█████▒░    ░▒█████████████▒▒░
#    ██▒░            ▐███████▒░        ░▒██▒░      ░░▒█████████▒▒░
#    ░▒░              ▒▒▒▒▒▒▒░          ░▒▒░         ░░▒▒▒▒▒▒▒░░░
#     ░               ░░░░░░░            ░░            ░░░░░░░
#          ▄██████▄░ ▄██████▄░ ▄██████▄░ ▄██████▄░ ▄██████▄░
#          ████████▒░████████▒░████████▒░████████▒░████████▒░
#          ▀██████▀░ ▀██████▀░ ▀██████▀░ ▀██████▀░ ▀██████▀░
#           ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░
#          ▄██████▄░ ▄██████▄░ ▄██████▄░ ▄██████▄░ ▄██████▄░
#          ████████▒░████████▒░████████▒░████████▒░████████▒░
#          ▀██████▀░ ▀██████▀░ ▀██████▀░ ▀██████▀░ ▀██████▀░
#           ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░   ░▒▒▒▒▒░
#            ░░░░░  ▄█████████████████████████████▄░ ░░░░░
#                   ███████████████████████████████▒░
#                   ▀█████████████████████████████▀░
#                    ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░
#                     ░░░░░░░░░░░░░░░░░░░░░░░░░░░░
#
#                  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 = "Don't Be Evil 37 (Dark)"
author = "Alex"
id = "p.alex.dbe37.dark"
version = 1
description = "Don't be evil :)"

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

# -------------------------------------------------------------------
# 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 = "system_primary_dark"
on_primary = "system_on_primary_dark"
primary_container = "system_primary_container_dark"
on_primary_container = "system_on_primary_container_dark"
inverse_primary = "system_primary_light"

secondary = "system_secondary_dark"
on_secondary = "system_on_secondary_dark"
secondary_container = "system_secondary_container_dark"
on_secondary_container = "system_on_secondary_container_dark"

tertiary = "system_tertiary_dark"
on_tertiary = "system_on_tertiary_dark"
tertiary_container = "system_tertiary_container_dark"
on_tertiary_container = "system_on_tertiary_container_dark"

background = "system_background_dark"
on_background = "system_on_background_dark"

surface = "system_surface_dark"
on_surface = "system_neutralVariant90"
surface_variant = "system_surface_variant_dark"
on_surface_variant = "system_neutralVariant70"
surface_tint = "system_primary80"
inverse_surface = "system_surface_light"
inverse_on_surface = "system_on_surface_light"

error = "system_error_dark"
on_error = "system_on_error_dark"
error_container = "system_error_container_dark"
on_error_container = "system_on_error_container_dark"

outline = "system_outline_dark"
outline_variant = "system_outline_variant_dark"
scrim = "system_neutral0"

surface_bright = "system_surface_bright_dark"
surface_dim = "system_surface_dim_dark"
surface_container = "system_surface_container_dark"
surface_container_high = "system_surface_container_high_dark"
surface_container_highest = "system_surface_container_highest_dark"
surface_container_low = "system_surface_container_low_dark"
surface_container_lowest = "system_surface_container_lowest_dark"

keyboard_surface = "system_surface_container_dark"
keyboard_surface_dim = "system_surface_container_dark"
keyboard_container = "system_surface_bright_dark"
keyboard_container_variant = "system_secondary_container_dark"
on_keyboard_container = "system_on_surface_dark"
keyboard_press = "system_primary_container_dark"
keyboard_container_pressed = "system_neutralVariant60"
on_keyboard_container_pressed = "system_neutralVariant100"

[options.font]
font = "GoogleSans-VariableFont_GRAD,opsz,wght.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 = "popup"
asset = "func_press.png"

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

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

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

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

[[matchrules.border]]
selector = "functional icon action_emoji pressed"
asset = "normal_press.png"

[[matchrules.border]]
selector = "functional icon action_emoji"
asset = "normal.png"

[[matchrules.border]]
selector = "functional row -1 col 0 pressed"
asset = "rounded_func_press.png"

[[matchrules.border]]
selector = "functional row -1 col 0"
asset = "rounded_func.png"

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

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

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

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

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

[[asset.border]]
name = "rounded_func.png"
background_tint = "system_secondary_container_dark"
foreground_tint = "system_on_secondary_container_dark"
padding = [0.12, 0.06, 0.12, 0.06]
slicing = [0.495, 0.495, 0.505, 0.505]
gap = [1.4, 1.2, 1.4, 1.2]
target_density = 300

[[asset.border]]
name = "rounded_func_press.png"
background_tint = "system_secondary_dark"
foreground_tint = "system_on_secondary_dark"
padding = [0.12, 0.06, 0.12, 0.06]
slicing = [0.495, 0.495, 0.505, 0.505]
gap = [1.4, 1.2, 1.4, 1.2]
target_density = 300

[[asset.border]]
name = "func.png"
background_tint = "system_secondary_container_dark"
foreground_tint = "system_on_secondary_container_dark"
padding = [0.12, 0.06, 0.12, 0.06]
slicing = [0.3, 0.3, 0.7, 0.7]
gap = [1.4, 1.2, 1.4, 1.2]
target_density = 700

[[asset.border]]
name = "func_press.png"
background_tint = "system_secondary_dark"
foreground_tint = "system_on_secondary_dark"
padding = [0.12, 0.06, 0.12, 0.06]
slicing = [0.3, 0.3, 0.7, 0.7]
gap = [1.4, 1.2, 1.4, 1.2]
target_density = 700

[[asset.border]]
name = "popup.png"
background_tint = "system_secondary_dark"
foreground_tint = "system_on_secondary_dark"
padding = [0.12, 0.06, 0.12, 0.06]
slicing = [0.3, 0.3, 0.7, 0.7]
gap = [1.4, 1.2, 1.4, 1.2]
target_density = 700

[[asset.border]]
name = "normal.png"
background_tint = "system_surface_bright_dark"
foreground_tint = "system_on_surface_dark"
padding = [0.12, 0.06, 0.12, 0.06]
slicing = [0.3, 0.3, 0.7, 0.7]
gap = [1.4, 1.2, 1.4, 1.2]
target_density = 700

[[asset.border]]
name = "normal_press.png"
background_tint = "#00000000"
foreground_tint = "system_neutralVariant60"
padding = [0.12, 0.06, 0.12, 0.06]
slicing = [0.3, 0.3, 0.7, 0.7]
gap = [1.4, 1.2, 1.4, 1.2]
target_density = 700
