10 lines
149 B
Python
10 lines
149 B
Python
|
from django import template
|
||
|
from ..theme import color
|
||
|
|
||
|
register = template.Library()
|
||
|
|
||
|
|
||
|
@register.simple_tag
|
||
|
def theme_colour(i):
|
||
|
return color(i)
|