1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-03-05 15:05:57 +02:00
RedMew/resources/styles.lua
RedRafe 26e1c28dc0
Factorio 2.0 update (#1436)
* Init Factorio 2.0 update

* add credits

* fix test module

* I know luackeck, I know

* Fixes

* Fix bad event.player_index handling

* Hotfixes

* Remove all filter inserters

* Migrate removed items

* Deprecating spidertron control and landfill features
2024-10-22 20:22:35 +01:00

40 lines
752 B
Lua

local Public = {}
function Public.default_close(style)
style.height = 28
style.font = 'default-semibold'
style.font_color = {0, 0, 0}
end
Public.default_top_element = {
name = 'frame_button',
style = {
font_color = { 165, 165, 165 },
font = 'heading-2',
minimal_height = 40,
maximal_height = 40,
minimal_width = 40,
padding = -2,
}
}
Public.default_left_element = {
style = {
padding = 2,
font_color = { 165, 165, 165 },
font = 'heading-2',
use_header_filler = false
}
}
Public.default_pusher = {
style = {
top_margin = 0,
bottom_margin = 0,
left_margin = 0,
right_margin = 0,
}
}
return Public