- Add the mark (an envelope in a rounded square) and the wordmark, drawn with monoline strokes so no font is needed - Add light and dark versions, and the generator script - Embed them in a Go package and ship the same files with the admin UI - Test that the SVGs are well formed, need nothing from outside, stay in sync with the admin copies and have enough contrast
11 lines
208 B
Go
11 lines
208 B
Go
package assets
|
|
|
|
import (
|
|
"fmt"
|
|
"math"
|
|
)
|
|
|
|
func fmtSscanf(hex string, r, g, b *int) (int, error) {
|
|
return fmt.Sscanf(hex, "#%02x%02x%02x", r, g, b)
|
|
}
|
|
func pow(x, y float64) float64 { return math.Pow(x, y) }
|