# Copyright (c) 2018-2020, NVIDIA CORPORATION.  All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto.  Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA CORPORATION is strictly prohibited.
#
import omni.ui as ui
from pathlib import Path

UI_STYLES = {}

UI_STYLES["NvidiaLight"] = {
    "Label::generated": {"color": 0xFF777777, "font_size": 14},
    "Label::hidden": {"color": 0xFF777777, "font_size": 14},
    "check": {
        "width": 15,
        "height": 15,
        "Button.Image": {"color": 0xFF75A270},
        "Button": {"background_color": 0xFFD6D6D6},
    },
    "remove": {
        "width": 15,
        "height": 15,
        "Button.Image": {"color": 0xFF3333AA},
        "Button": {"background_color": 0xFFD6D6D6},
    },
    "plus": {
        "Button.Label": {"color": 0xFF333333},
        "Button.Label:disabled": {"color": 0xFF666666},
        "width": 15,
        "height": 15,
        "Button.Image": {"color": 0xFF75A270},
        "Button.Image:disabled": {"color": 0xFF666666},
        "stack_direction": ui.Direction.LEFT_TO_RIGHT,
    },
}

UI_STYLES["NvidiaDark"] = {
    "Label::generated": {"color": 0xFF777777, "font_size": 14},
    "Label::hidden": {"color": 0xFF777777, "font_size": 14},
    "check": {"width": 15, "height": 15, "Button.Image": {"color": 0xFF75A270}, "Button": {"background_color": 0x0}},
    "remove": {"width": 15, "height": 15, "Button.Image": {"color": 0xFF3333AA}, "Button": {"background_color": 0x0}},
    "plus": {
        "Button.Label": {"color": 0xFFCCCCCC},
        "Button.Label:disabled": {"color": 0xFF666666},
        "width": 15,
        "height": 15,
        "Button.Image": {"color": 0xFF75A270},
        "Button.Image:disabled": {"color": 0xFF666666},
        "stack_direction": ui.Direction.LEFT_TO_RIGHT,
    },
}
