docs: def variant(self):
          '''Get the current theme variant'''
          variant = current_app.config['THEME_VARIANT']
          if variant not in self.variants:
              log.warning('Unkown theme variant: %s', variant)
              return 'default'
          else:
              return variant