Mindustry/core/assets/sprites/uiskin.json

82 lines
4.7 KiB
JSON
Raw Normal View History

2017-04-30 08:25:59 +07:00
{
2018-07-28 20:44:38 +07:00
Color: {
2017-04-30 08:25:59 +07:00
black: {a: 1, b: 0, g: 0, r: 0 },
white: {a: 1, b: 1, g: 1, r: 1 },
2018-07-28 21:06:28 +07:00
gray: {a: 1, b: 0.32, g: 0.32, r: 0.32 },
lightgray: {a: 1, b: 0.65, g: 0.65, r: 0.65 }
orange: {hex: "FFA500"},
2018-11-18 12:07:25 +07:00
accent: {hex: "ffd37f"}
2017-04-30 08:25:59 +07:00
},
2018-07-28 20:44:38 +07:00
TintedDrawable: {
dialogDim: {name: white, color: {r: 0, g: 0, b: 0, a: 0.9} },
invis: {name: white, color: {r: 0, g: 0, b: 0, a: 0} }
loadDim: {name: white, color: {r: 0, g: 0, b: 0, a: 0.8} },
2018-01-04 11:12:46 +07:00
chatfield: {name: white, color: {r: 0, g: 0, b: 0, a: 0.2}},
2018-11-27 10:47:54 +07:00
dark: {name: white, color: {hex: "#000000ff"}},
none: {name: white, color: {r: 0, g: 0, b: 0, a: 0}},
2018-11-27 21:29:28 +07:00
flat: {name: white, color: {r: 0.0, g: 0.0, b: 0.0, a: 0.6}},
2018-11-27 10:47:54 +07:00
flat-over: {name: white, color: { hex: "#ffffff82" }},
flat-down: {name: white, color: { hex: "#ffd37fff" }}
2017-04-30 08:25:59 +07:00
},
2018-07-28 20:44:38 +07:00
ButtonStyle: {
2017-04-30 08:25:59 +07:00
default: {down: button-down, up: button },
toggle: {checked: button-down, down: button-down, up: button }
},
2018-07-28 20:44:38 +07:00
TextButtonStyle: {
2018-11-27 10:47:54 +07:00
default: {over: button-over, disabled: button, font: default-font, fontColor: white, disabledFontColor: gray, down: button-down, up: button},
2019-01-26 09:48:03 +07:00
node: {disabled: content-background-locked, font: default-font, fontColor: white, disabledFontColor: gray, up: content-background, over: content-background-over},
2018-11-29 01:14:54 +07:00
right: {over: button-right-over, font: default-font, fontColor: white, disabledFontColor: gray, down: button-right-down, up: button-right},
2018-11-28 00:31:45 +07:00
wave: {font: default-font, fontColor: white, disabledFontColor: gray, up: button-edge-4},
clear: {over: flat-over, font: default-font, fontColor: white, disabledFontColor: gray, down: flat-over, up: flat},
discord: {font: default-font, fontColor: white, up: discord-banner},
2018-07-03 02:49:01 +07:00
info: {font: default-font, fontColor: white, up: info-banner},
2018-11-27 10:47:54 +07:00
clear-partial: {down: white, up: button-select, over: flat-down, font: default-font, fontColor: white, disabledFontColor: gray },
clear-partial-2: {down: flat-over, up: none, over: flat-over, font: default-font, fontColor: white, disabledFontColor: gray },
empty: {font: default-font},
2018-12-03 00:03:18 +07:00
clear-toggle: {font: default-font, fontColor: white, checked: flat-down, down: flat-down, up: flat, over: flat-over, disabled: flat, disabledFontColor: gray }
2018-07-28 21:06:28 +07:00
toggle: {font: default-font, fontColor: white, checked: button-down, down: button-down, up: button, over: button-over, disabled: button, disabledFontColor: gray }
2017-04-30 08:25:59 +07:00
},
2018-07-28 20:44:38 +07:00
ImageButtonStyle: {
2018-07-28 21:06:28 +07:00
default: {down: button-down, up: button, over: button-over, imageDisabledColor: gray, imageUpColor: white },
2019-01-20 10:16:28 +07:00
node: {up: content-background, over: content-background-over},
2018-11-29 01:14:54 +07:00
right: {over: button-right-over, down: button-right-down, up: button-right},
empty: { imageDownColor: accent, imageUpColor: white},
2018-07-28 21:06:28 +07:00
emptytoggle: {imageCheckedColor: white, imageDownColor: white, imageUpColor: gray},
2017-05-06 02:19:19 +07:00
static: {up: button },
static-down: {up: button-down },
2018-07-28 21:06:28 +07:00
toggle: {checked: button-down, down: button-down, up: button, imageDisabledColor: gray, imageUpColor: white },
select: {checked: button-select, up: none },
2018-11-28 20:53:03 +07:00
clear: {down: flat-over, up: flat, over: flat-over},
2018-11-27 10:47:54 +07:00
clear-full: {down: white, up: button-select, over: flat-down},
clear-partial: {down: flat-down, up: none, over: flat-over},
clear-toggle: {down: flat-down, checked: flat-down, up: flat, over: flat-over},
clear-toggle-partial: {down: flat-down, checked: flat-down, up: none, over: flat-over},
2017-04-30 08:25:59 +07:00
},
2018-07-28 20:44:38 +07:00
ScrollPaneStyle: {
2018-11-27 10:47:54 +07:00
default: {vScroll: scroll, vScrollKnob: scroll-knob-vertical-black},
2018-11-28 08:12:49 +07:00
horizontal: {vScroll: scroll, vScrollKnob: scroll-knob-vertical-black, hScroll: scroll-horizontal, hScrollKnob: scroll-knob-horizontal-black},
2017-04-30 08:25:59 +07:00
},
2018-07-28 20:44:38 +07:00
WindowStyle: {
2018-11-05 07:42:18 +07:00
default: {titleFont: default-font, titleFontColor: accent },
dialog: {stageBackground: dialogDim, titleFont: default-font, background: window-empty, titleFontColor: accent }
2017-04-30 08:25:59 +07:00
},
2018-07-28 20:44:38 +07:00
KeybindDialogStyle: {
2018-11-27 10:47:54 +07:00
default: {keyColor: accent, keyNameColor: white, controllerColor: lightgray},
2017-04-30 08:25:59 +07:00
},
2018-07-28 20:44:38 +07:00
SliderStyle: {
default-horizontal: {background: slider, knob: slider-knob, knobOver: slider-knob-over, knobDown: slider-knob-down},
default-vertical: {background: slider-vertical, knob: slider-knob, knobOver: slider-knob-over, knobDown: slider-knob-down}
2017-04-30 08:25:59 +07:00
},
2018-07-28 20:44:38 +07:00
LabelStyle: {
2017-04-30 08:25:59 +07:00
default: {font: default-font, fontColor: white },
2018-07-28 21:06:28 +07:00
small: {font: default-font, fontColor: white }
2017-04-30 08:25:59 +07:00
},
2018-07-28 20:44:38 +07:00
TextFieldStyle: {
2018-11-27 10:47:54 +07:00
default: {font: default-font-chat, fontColor: white, disabledFontColor: gray, selection: selection, background: underline, cursor: cursor, messageFont: default-font, messageFontColor: gray }
textarea: {font: default-font-chat, fontColor: white, disabledFontColor: gray, selection: selection, background: underline, cursor: cursor, messageFont: default-font, messageFontColor: gray }
2018-08-16 22:25:27 +07:00
},
2018-07-28 20:44:38 +07:00
CheckBoxStyle: {
2018-07-28 21:06:28 +07:00
default: {checkboxOn: check-on, checkboxOff: check-off, checkboxOnOver: check-on-over, checkboxOver: check-over, font: default-font, fontColor: white, disabledFontColor: gray }
2017-04-30 08:25:59 +07:00
}
}