Quantcast
--[[-----------------------------------------------------------------------
	oUF: Stardust - a layout for the oUF framework
	Copyright (c) 2016 Andrew Mordecai <armordecai@protonmail.ch>
	This code is released under the zlib license; see LICENSE for details.
-------------------------------------------------------------------------]]

local _, Stardust = ...

Stardust.config = {
	-- Style
	barTexture = "Qulight",
	bgMultiplier = 0.35,
	numberFont = "Blizzard Bold",
	textFont = "Blizzard",

	-- Layout
	width = 220,
	height = 32,
	power = true,
	powerHeight = 5,

	-- Unit Specific
	units = {
		pet = {
			width = 0.5
		},
		targettarget = {
			width = 0.5,
			power = false
		},
		focustarget = {
			width = 0.5,
			power = false
		},
		party = {
			width = 0.5
		},
		partypet = {
			width = 0.25,
			power = false
		}
	}
}

Stardust.colors = {
	power = {
		MANA = { 0, 0.8, 1 }
	},
	totems = {
		[1] = { 0.6, 1,   0.2 }, -- Earth
		[2] = { 1,   0.6, 0.2 }, -- Fire
		[3] = { 0.2, 0.8, 1   }, -- Water
		[4] = { 0.8, 0.4, 1   }, -- Air
	}
}

setmetatable(Stardust.colors, oUF.colors)
setmetatable(Stardust.colors.power, oUF.colors.power)