------------------------------------------------------------------------------- -- SHPlates: Default Artwork / Style -- Every theme style is merged on top of this table, so a theme only needs to -- list what it changes. ------------------------------------------------------------------------------- local theme = {} local defaultArtPath = "Interface\\AddOns\\SHPlates\\Media" local font = defaultArtPath .. "\\LiberationSans-Regular.ttf" local nameplate_verticalOffset = -5 local castBar_verticalOffset = -6 theme.hitbox = { width = 149, height = 37, } theme.healthborder = { texture = defaultArtPath .. "\\RegularBorder", glowtexture = defaultArtPath .. "\\Highlight", elitetexture = defaultArtPath .. "\\EliteBorder", width = 128, height = 64, x = 0, y = nameplate_verticalOffset, anchor = "CENTER", } theme.threatborder = { texture = defaultArtPath .. "\\RegularThreat", elitetexture = defaultArtPath .. "\\EliteThreat", width = 128, height = 64, x = 0, y = nameplate_verticalOffset, anchor = "CENTER", } theme.castborder = { texture = defaultArtPath .. "\\CastStoppable", width = 128, height = 64, x = 0, y = castBar_verticalOffset + nameplate_verticalOffset, anchor = "CENTER", } theme.castnostop = { texture = defaultArtPath .. "\\CastNotStoppable", width = 128, height = 64, x = 0, y = castBar_verticalOffset + nameplate_verticalOffset, anchor = "CENTER", } theme.name = { typeface = font, size = 9, width = 88, height = 10, x = 0, y = 6 + nameplate_verticalOffset, align = "LEFT", anchor = "LEFT", vertical = "BOTTOM", shadow = true, flags = "NONE", } theme.level = { typeface = font, size = 9, width = 25, height = 10, x = 36, y = 6 + nameplate_verticalOffset, align = "RIGHT", anchor = "CENTER", vertical = "BOTTOM", shadow = true, flags = "NONE", } theme.healthbar = { texture = defaultArtPath .. "\\Statusbar", height = 12, width = 101, x = 0, y = 15 + nameplate_verticalOffset, anchor = "CENTER", orientation = "HORIZONTAL", } theme.castbar = { texture = defaultArtPath .. "\\Statusbar", height = 12, width = 99, x = 0, y = -8 + castBar_verticalOffset + nameplate_verticalOffset, anchor = "CENTER", orientation = "HORIZONTAL", } theme.specialText = { typeface = font, size = 9, width = 93, height = 10, x = 0, y = 16 + nameplate_verticalOffset, align = "RIGHT", anchor = "CENTER", vertical = "BOTTOM", shadow = true, flags = "NONE", } theme.specialText2 = { typeface = font, size = 8, width = 100, height = 10, x = 1, y = castBar_verticalOffset - 8 + nameplate_verticalOffset, align = "LEFT", anchor = "CENTER", vertical = "BOTTOM", shadow = true, flags = "NONE", } theme.specialArt = { width = 24, height = 24, x = -5, y = 15 + nameplate_verticalOffset, anchor = "TOP", } theme.spellicon = { width = 18, height = 18, x = 62, y = -8 + castBar_verticalOffset + nameplate_verticalOffset, anchor = "CENTER", } theme.raidicon = { width = 20, height = 20, x = -35, y = 12 + nameplate_verticalOffset, anchor = "TOP", } theme.dangerskull = { width = 14, height = 14, x = 44, y = 8 + nameplate_verticalOffset, anchor = "CENTER", } -- Backing behind the spell icon (themes whose cast bar art had a frame for -- the icon set a texture, so the frame moves and hides with the icon) theme.spellbacking = { width = 32, height = 32, x = 0, y = 0, anchor = "CENTER", } -- Separate elite star (themes that cut it out of their border art set a -- texture; without one the star stays part of the elite border) theme.eliteicon = { width = 16, height = 16, x = -51, y = 16, anchor = "CENTER", } theme.frame = { width = 101, height = 45, x = 0, y = 0 + nameplate_verticalOffset, anchor = "CENTER", } theme.threatcolor = { LOW = { r = .75, g = 1, b = 0, a = 1, }, MEDIUM = { r = 1, g = 1, b = 0, a = 1, }, HIGH = { r = 1, g = 0, b = 0, a = 1, }, } theme.options = { showLevel = true, showName = true, showSpecialText = false, showSpecialText2 = false, showSpecialArt = false, showDangerSkull = true, showSpellIcon = true, showNostopSpell = true, showAggroGlow = true, } SHPlates.defaultTheme = theme