<reponame>ainoneko/tks
# Copyright 2014, <NAME>, <EMAIL>

import sys
import os.path
p = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
sys.path.insert(0, p)

try:
    import tkinter as tk
except ImportError:
    import Tkinter as tk

from tks.colors import ColorVar
from tks.color_tints_and_shades import ColorTint, ColorShade

if __name__ == '__main__':
    root = tk.Tk()
    root.title('Tints and Shades')

    color = ColorVar(value=(0.35, 0.85, 0.75))

    tints = ColorTint(root, color)
    tints.grid(row=0, column=0)
    shades = ColorShade(root, color)
    shades.grid(row=1, column=0)
    root.mainloop()

# Copyright 2014, <NAME>, <EMAIL>

import sys
import os.path
p = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
sys.path.insert(0, p)

try:
    import tkinter as tk
except ImportError:
    import Tkinter as tk

from tks.colors import ColorVar
from tks.color_tints_and_shades import ColorTint, ColorShade

if __name__ == '__main__':
    root = tk.Tk()
    root.title('Tints and Shades')

    color = ColorVar(value=(0.35, 0.85, 0.75))

    tints = ColorTint(root, color)
    tints.grid(row=0, column=0)
    shades = ColorShade(root, color)
    shades.grid(row=1, column=0)
    root.mainloop()
# Copyright 2014, <NAME>, <EMAIL>