MCPcopy Create free account
hub / github.com/PageBot/PageBot / newStyle

Function newStyle

Lib/pagebot/style.py:33–34  ·  view source on GitHub ↗
(**kwargs)

Source from the content-addressed store, hash-verified

31DEFAULTS = ['leading', 'fontSize', 'font']
32
33def newStyle(**kwargs):
34 return dict(**kwargs)
35
36def makeStyle(style=None, raiseError=True, **kwargs):
37 """Make style from a copy of style dict (providing all necessary default

Callers 1

makeStyleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected