[themes] Add themeing framework
Add - again a very simplistic - method for themeing the output. Essentially, the plan is to have JSON-formatted configuration files in bumblebee/themes/ and have a separate class for querying the config whenever the output needs to know about semantic formatting/coloring. Note that the theme object is stored on a per-module basis. Right now, that doesn't have any effect (except looking particularly wasteful), but the idea is to be able to have different themes for different modules in the future.
This commit is contained in:
parent
4133ae1907
commit
4ad41a8ee0
7 changed files with 46 additions and 4 deletions
15
bumblebee/output.py
Normal file
15
bumblebee/output.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
class Output(object):
|
||||
def start(self):
|
||||
pass
|
||||
|
||||
def add(self, obj):
|
||||
pass
|
||||
|
||||
def get(self):
|
||||
pass
|
||||
|
||||
def stop(self):
|
||||
pass
|
||||
|
||||
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
|
Loading…
Add table
Add a link
Reference in a new issue