mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Solved OpenProject build bug
This commit is contained in:
9
lookup_plugins/colorscheme.py
Normal file
9
lookup_plugins/colorscheme.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from colorscheme_generator import generate_full_palette
|
||||
|
||||
class LookupModule(object):
|
||||
def run(self, terms, variables=None, **kwargs):
|
||||
base_color = terms[0]
|
||||
count = kwargs.get('count', 100)
|
||||
shades = kwargs.get('shades', True)
|
||||
|
||||
return [generate_full_palette(base_color, count=count, shades=shades)]
|
Reference in New Issue
Block a user