OGCMetOceanDWG / WorldWeatherSymbols

A complete set of WMO weather symbols in SVG with full metadata.
https://github.com/OGCMetOceanDWG/WorldWeatherSymbols
Other
84 stars 34 forks source link

add utility to change color of SVG #26

Open tomkralidis opened 9 years ago

tomkralidis commented 9 years ago

Looks like we have defaults of:

Add a utility which allows the user to specify a hex, rgb, or color to update an SVG.

wxtim commented 5 years ago

@tomkralidis - have you done anything with this?

tomkralidis commented 5 years ago

@wxtim nothing to date. We could prioritize if required.

chris-little commented 3 years ago

@tomkralidis @wxtim Apologies for not visiting here for many years! I think styles are important. The original intent was to support both the monochrome and the bi-colour version of the symbols, as specificed by WMO and ICAO. The context has changed slightly, in that SVG2.0 has clarified its relationship with surrounding web pages and CSS, etc., so there may be a requirement to inherit styles from the context. However, as the orginal design was to support viewing in low level light, or red light, and on low resolution devices, many acessibility have already been addressed.

Also, black and red are still the only readily available, non-poisonous, archival inks, thus addressing another requirement.

The only reason for not implementing the bi-colour and monochrome options was uncertainty on the best approach and what the market supported.

I am open to the way forward on this issue.

chris-little commented 4 months ago

PErhaps this is two issues:

  1. Support non-black symbols;

  2. support bicolour symbols as per WMO / OMM definitions