Mindustry/core/assets/ui/uiskin.json

109 lines
5.2 KiB
JSON
Raw Normal View History

2017-04-30 08:25:59 +07:00
{
com.badlogic.gdx.graphics.g2d.BitmapFont: {
default-font: {
file: square.fnt,
2017-07-28 00:27:11 +07:00
markupEnabled: true,
scale: 0.5
},
2018-01-04 11:12:46 +07:00
default-font-chat: {
file: square.fnt,
markupEnabled: false,
scale: 0.5
},
2018-01-19 10:33:20 +07:00
korean: {
file: korean.fnt,
markupEnabled: true,
scale: 0.5
},
title: {
file: title.fnt,
markupEnabled: true,
scale: 2
2017-04-30 08:25:59 +07:00
}
},
com.badlogic.gdx.graphics.Color: {
black: {a: 1, b: 0, g: 0, r: 0 },
white: {a: 1, b: 1, g: 1, r: 1 },
green: {a: 1, b: 0, g: 1, r: 0 },
red: {a: 1, b: 0, g: 0, r: 1 },
blue: {a: 1, b: 1, g: 0, r: 0 },
grey: {a: 1, b: 0.32, g: 0.32, r: 0.32 },
lightgray: {a: 1, b: 0.3, g: 0.3, r: 0.3 },
2017-04-30 08:25:59 +07:00
orange: {hex: "#FFA500"},
accent: {hex: "f4ba6e"},
2017-04-30 08:25:59 +07:00
vis-blue: {a: 1, b: 0.886, g: 0.631, r: 0.105 },
vis-red: {a: 1, b: 0.047, g: 0, r: 0.862 },
menuitem: {a: 1, b: 0.65, g: 0.65, r: 0.65 },
link-label: {a: 1, b: 0.886, g: 0.631, r: 0.105 }
},
io.anuke.ucore.scene.Skin$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}},
2017-12-30 04:20:20 +07:00
clear: {name: white, color: {r: 0.1, g: 0.1, b: 0.1, a: 0.75}},
clear-over: {name: white, color: {r: 1, g: 1, b: 1, a: 0.2} },
clear-down: {name: white, color: {r: 1, g: 1, b: 1, a: 0.4} }
2017-04-30 08:25:59 +07:00
},
io.anuke.ucore.scene.ui.Button$ButtonStyle: {
default: {down: button-down, up: button },
2017-11-20 03:53:53 +07:00
menu: {up: text-sides, over: text-sides-over, down: text-sides-down},
2017-04-30 08:25:59 +07:00
toggle: {checked: button-down, down: button-down, up: button }
},
io.anuke.ucore.scene.ui.TextButton$TextButtonStyle: {
default: {over: button-over, disabled: button, font: default-font, fontColor: white, disabledFontColor: grey, down: button-down, up: button, transition: 0 },
clear: {down: clear-down, up: clear, over: clear-over, font: default-font, fontColor: white, disabledFontColor: grey },
empty: {font: default-font},
2017-04-30 08:25:59 +07:00
toggle: {font: default-font, fontColor: white, checked: button-down, down: button-down, up: button, over: button-over, disabled: button, disabledFontColor: grey }
},
io.anuke.ucore.scene.ui.ImageButton$ImageButtonStyle: {
default: {down: button-down, up: button, over: button-over, imageDisabledColor: lightgray, imageUpColor: white },
empty: { imageDownColor: accent, imageUpColor: white},
emptytoggle: {imageCheckedColor: white, imageDownColor: white, imageUpColor: lightgray},
2017-05-06 02:19:19 +07:00
static: {up: button },
static-down: {up: button-down },
2018-02-27 10:05:07 +07:00
toggle: {checked: button-down, down: button-down, up: button, imageDisabledColor: lightgray, imageUpColor: white },
2017-11-10 11:05:47 +07:00
togglemap: {down: button-map-down, up: button-map },
2017-05-01 00:01:29 +07:00
select: {checked: button-select, up: clear },
2017-04-30 08:25:59 +07:00
close-window: {up: button, imageUp: icon-close, imageOver: icon-close-over, imageDown: icon-close-down, disabled: button }
},
io.anuke.ucore.scene.ui.ImageTextButton$ImageTextButtonStyle: {
default: {down: button-down, up: button, over: button-over, disabled: button, font: default-font, fontColor: white, disabledFontColor: grey },
toggle: {checked: button-down, down: button-down, up: button, font: default-font, fontColor: white, over: button-over, disabled: button, disabledFontColor: grey }
},
io.anuke.ucore.scene.ui.ScrollPane$ScrollPaneStyle: {
default: {background: border, vScroll: scroll, vScrollKnob: scroll-knob-vertical},
2017-12-19 12:05:41 +07:00
horizontal: {background: border, vScroll: scroll, vScrollKnob: scroll-knob-vertical, hScroll: scroll-horizontal, hScrollKnob: scroll-knob-horizontal},
volume: {background: button-map, vScroll: scroll, vScrollKnob: scroll-knob-vertical},
clear: {vScroll: scroll, vScrollKnob: scroll-knob-vertical},
clear-black: {vScroll: scroll, vScrollKnob: scroll-knob-vertical-black}
2017-04-30 08:25:59 +07:00
},
io.anuke.ucore.scene.ui.Window$WindowStyle: {
default: {titleFont: default-font, background: window, titleFontColor: accent },
dialog: {stageBackground: dialogDim, titleFont: default-font, background: window-empty, titleFontColor: accent }
2017-04-30 08:25:59 +07:00
},
io.anuke.ucore.scene.ui.KeybindDialog$KeybindDialogStyle: {
default: {keyColor: accent, keyNameColor: white, controllerColor: menuitem, paneStyle: clear},
2017-04-30 08:25:59 +07:00
},
io.anuke.ucore.scene.ui.Slider$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
},
io.anuke.ucore.scene.ui.Label$LabelStyle: {
default: {font: default-font, fontColor: white },
title: {font: title, fontColor: white },
2017-04-30 08:25:59 +07:00
link-label: {fontColor: link-label, font: default-font },
small: {font: default-font, fontColor: white },
menuitem-shortcut: {font: default-font, fontColor: menuitem }
},
io.anuke.ucore.scene.ui.TextField$TextFieldStyle: {
default: {font: default-font-chat, fontColor: white, disabledFontColor: grey, selection: selection, background: button, cursor: cursor, messageFont: default-font, messageFontColor: grey }
}
2017-04-30 08:25:59 +07:00
io.anuke.ucore.scene.ui.CheckBox$CheckBoxStyle: {
default: {checkboxOn: check-on, checkboxOff: check-off, checkboxOnOver: check-on-over, checkboxOver: check-over, font: default-font, fontColor: white, disabledFontColor: grey }
2017-04-30 08:25:59 +07:00
},
io.anuke.ucore.scene.ui.List$ListStyle: {
default: {fontColorUnselected: white, fontColorSelected: white, font: default-font }
2017-04-30 08:25:59 +07:00
}
}