/usr/share/kde4/apps/tagua/themes/squares/Jose/theme_jose.lua is in tagua-data 1.0~alpha2-15.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | import("piece_theme.lua")
theme.background = function(size)
local light = Brush(Image("marble04.jpg"))
local dark = Brush(Image("marble13.jpg"))
local img = Image(size*8,size*8)
for x = 0,7 do
for y = 0,7 do
if ((x+y) % 2) > 0.5 then
img:fill_rect(Rect(x*size,y*size,size,size), dark)
else
img:fill_rect(Rect(x*size,y*size,size,size), light)
end
end
end
return img
end
theme.validmove = fromColor("#bdaede")
theme.highlighting = fromPixmap("square_last.png")
theme.premove = fromPixmap("square_premove.png")
theme.selection = fromPixmap("square_select.png")
|