Skip to content

Documentation / @debuffjp/ui / neutral

Variable: neutral ​

const neutral: object

Defined in: themes.ts:9

The default look: plain greys, a white focus, 4px corners and a thin border, so menus and panels sit under any game's art without bringing a style of their own. Spread it to start from it: menu.drawPanel(draw, cx, cy, { ...neutral, title: "paused" }).

Type Declaration ​

borders ​

readonly borders: readonly ["#3a3a40"]

color ​

readonly color: "#d4d4d8" = "#d4d4d8"

disabledColor ​

readonly disabledColor: "#71717a" = "#71717a"

fill ​

readonly fill: "#141416" = "#141416"

focusColor ​

readonly focusColor: "#ffffff" = "#ffffff"

highlight ​

readonly highlight: "#2a2a2f" = "#2a2a2f"

padding ​

readonly padding: 10 = 10

radius ​

readonly radius: 4 = 4

titleColor ​

readonly titleColor: "#a1a1aa" = "#a1a1aa"