Refactor entry point.

This commit is contained in:
Sergey Vartanov 2021-08-24 23:01:41 +03:00
parent cbfdb4de78
commit 9555a5d74f
9 changed files with 400 additions and 266 deletions

View file

@ -100,7 +100,7 @@ class MapCSSWriter:
:param matcher: tag matcher of Röntgen scheme
:param prefix: tag prefix
:param opacity: icon opacity
:return:
:return: string representation of selector
"""
elements: dict[str, str] = {}
@ -190,7 +190,10 @@ def ui(options) -> None:
)
collection: IconCollection = IconCollection.from_scheme(scheme, extractor)
collection.draw_icons(
icons_with_outline_path, color=Color("black"), outline=True
icons_with_outline_path,
color=Color("black"),
outline=True,
outline_opacity=0.5,
)
mapcss_writer: MapCSSWriter = MapCSSWriter(
scheme,