const calcWidth = require('./calc-text-width.js').Verdana11
const colorPresets = require('./color-presets.js')
module.exports = function ({subject, status, color, style}) {
color = colorPresets[color] || color || colorPresets['blue']
const sbRectWidth = calcWidth(subject) + 11
const stRectWidth = calcWidth(status) + 11
const width = sbRectWidth + stRectWidth
if (style === 'flat') {
return `
`
}
return `
`
}