Replace Daira glyphs with normalized weather icons
This commit is contained in:
@@ -14,15 +14,13 @@ export type FaktiskaMarkerLayout = {
|
||||
|
||||
const rightMarker = (): FaktiskaMarkerLayout => ({
|
||||
iconSide: "right",
|
||||
iconGap: 22,
|
||||
// Daira's canvas advance box contains substantial empty space before the
|
||||
// visible artwork. Pull the optically measured glyph back toward its badge.
|
||||
iconOffsetX: -50,
|
||||
iconOffsetY: 90,
|
||||
iconGap: 12,
|
||||
iconOffsetX: 0,
|
||||
iconOffsetY: 0,
|
||||
});
|
||||
|
||||
// These placements are part of the fixed newsroom template. Operators select
|
||||
// the glyph; the renderer owns its position relative to the temperature badge.
|
||||
// the symbol; the renderer owns its position relative to the temperature badge.
|
||||
export const faktiskaMarkerLayout: Record<FaktiskaStation, FaktiskaMarkerLayout> = {
|
||||
"Liepāja": rightMarker(),
|
||||
"Ventspils": rightMarker(),
|
||||
|
||||
Reference in New Issue
Block a user