/usr/share/kde4/apps/tagua/themes/pieces/MayanTTF/theme_eboard.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 23 24 25 26 27 28 29 30 31 32 33 34 | import("piece_theme.lua")
shadow = 7
shadow_color = "#404040"
shadow_offset_x = 3
shadow_offset_y = 3
shadow_grow = 6
function fromGlyphGrad(fg, grad1, grad2)
return function(glyph)
return function(size)
local g = LinearGradient(Point(0.3*size,0), Point(0.7*size,0))
g[0] = grad1
g[1] = grad2
return fromFontGlyph("Mayan.ttf", glyph, fg, g)(size)
end
end
end
fromGlyphW = fromGlyphGrad("black", "#737152", "#DEDEAC")
fromGlyphB = fromGlyphGrad("black", "#5A3010", "#BD4820")
theme.black_bishop = fromGlyphB("0x0062")
theme.black_king = fromGlyphB("0x006B")
theme.black_knight = fromGlyphB("0x006E")
theme.black_pawn = fromGlyphB("0x0070")
theme.black_queen = fromGlyphB("0x0071")
theme.black_rook = fromGlyphB("0x0072")
theme.white_bishop = fromGlyphW("0x0062")
theme.white_king = fromGlyphW("0x006B")
theme.white_knight = fromGlyphW("0x006E")
theme.white_pawn = fromGlyphW("0x0070")
theme.white_queen = fromGlyphW("0x0071")
theme.white_rook = fromGlyphW("0x0072")
|