summaryrefslogtreecommitdiff
path: root/scss/functions/bootstrap.py
blob: 084eff590133b0423fa550e9ada99aeb0e9df6cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from scss.functions.library import FunctionLibrary
from scss.functions.compass.helpers import _font_url
from scss.functions.compass.images import _image_url


BOOTSTRAP_LIBRARY = FunctionLibrary()
register = BOOTSTRAP_LIBRARY.register


@register('twbs-font-path', 1)
def twbs_font_path(path):
    return _font_url(path, False, True, False)


@register('twbs-image-path', 1)
def twbs_image_path(path):
    return _image_url(path, False, True, None, None, False, None, None, None, None)