Skip to content

Commit cd231b2

Browse files
committed
Adds a middle section to the templates and creates a template list variable.
1 parent ae80d8f commit cd231b2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tkintermd/constants.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,8 @@ def foo():
257257
background-size: cover;
258258
font-family: sans-serif;
259259
align-items: center;
260-
}
260+
}"""
261+
default_template_middle = """
261262
</style>
262263
</head>
263264
<Body>"""
@@ -279,9 +280,11 @@ def foo():
279280
}
280281
h1, h2, h3, h4, h5, h6 {
281282
text-align: center;
282-
}
283+
}"""
284+
centered_template_middle="""
283285
</style>
284286
</head>
285287
<Body>"""
286288
centered_template_bottom = """</Body>
287-
</Html>"""
289+
</Html>"""
290+
template_list = ["default", "centered"]

0 commit comments

Comments
 (0)