Initial flame_lua_runtime package
This commit is contained in:
18
example/assets/games/ludo/scripts/theme.lua
Normal file
18
example/assets/games/ludo/scripts/theme.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
local i18n = runtime.import("i18n")
|
||||
|
||||
return {
|
||||
title = function()
|
||||
return i18n.t("title")
|
||||
end,
|
||||
colors = {
|
||||
red = "#ef4444",
|
||||
blue = "#3b82f6",
|
||||
top_bar = "#020617",
|
||||
dice_button = "#2563eb",
|
||||
board = "#1e293b",
|
||||
red_home = "#7f1d1d",
|
||||
blue_home = "#1e3a8a",
|
||||
path_cell = "#f8fafc",
|
||||
text = "#ffffff"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user