import "../../../assets/game/fonts/TitilliumWeb-Regular.ttf";
import "../../../assets/game/fonts/TitilliumWeb-SemiBold.ttf";
import "../../../assets/game/fonts/TitilliumWeb-Bold.ttf";
// Colours the game's style.lua names (docs/game-assets.md).
export global Theme {
out property <color> text: #ffffff;
out property <color> caption: #ffe6c0;
out property <color> black: #000000;
out property <color> dialog-black: #1c1c1c;
out property <color> link: #80cef0;
// Factorio 2.0.77 style.lua: gui_color.blue and blue_slot_glow_color.
out property <color> pending: #80cef0;
out property <color> pending-accent: #22b5ff80;
// Preserve the measured Manage disabled ink (#919191) / white intensity.
out property <float> disabled-row-opacity: 145 / 255;
out property <color> orange: #f9a838;
out property <color> disabled-text: #b3b3b3;
out property <color> list-bg: #242324;
out property <color> pane-bg: #403f40;
out property <color> frame-bg: #313031;
out property <string> font: "Titillium Web";
}
// A game graphical set drawn as a nine-slice; the borders come from the source (pieces.slint).
// Pixelated so the 1-px edge and centre rows stay crisp when stretched (dialog bench).
export component Nine inherits Image {
image-fit: fill;
image-rendering: pixelated;
}
// Game text: Titillium at the game's sizes (default 14 regular; semibold, bold 14; heading 18).
export component Label inherits Text {
color: Theme.text;
font-family: Theme.font;
font-size: 14px;
font-weight: 400;
vertical-alignment: top;
wrap: no-wrap;
}