# Color pallette of kynsight
black           = "#191717"
white           = "#f1f1f1"
light_blue      = "#9bd7d1"
dark_blue       = "#305d7a"
light_orange    = "#f9a36c"
orange          = "#f26628"
yellow          = "#f8cb66"

class maineTheme: 
    div_style           = "background-color:" + yellow

class form:
    div_style           = "background-color:" + black + "; " +" width:98%;"
    div_class           = "container rounded p-4 py-4"
    div_error_class     = "invalid-feedback"
    input_label_class   = "col-form-label"
    input_label_style   = "color:" + orange + "; font-size: 14pt; font-weight: bold;"
    check_label_class   = "form-check-label"
    check_label_style   = input_label_style
    check_class         = "form-check-input"
    submit_class        = "btn btn-outline-info mb-2 mt-2"
    submit_style        = ""
    input_error_class   = "form-control form-control-lg is-invalid"
    input_class         = "form-control form-control-lg"

class menu:
    navbar_items_navigation = [
            {"text": "Relations",
                "sublinks": [
                    {"text": "Companies", "url": "main.index"},
                    {"text": "Presons", "url": "main.index"},
                    {"decoration": "line"},
                    {"text": "Create Company", "url": "main.index"},
                    {"text": "Create Person", "url": "main.index"},
                    {"decoration": "line"},
                    {"text": "Edit Company", "url": "main.index"},
                    {"text": "Edit Person", "url": "main.index"},
                ],},
    ]
    
    navbar_items_user = [
            {"text": "Login", "url": "user.login", "show":"not_logged"},
            {"text": "Register", "url": "user.register", "show":"not_logged"},
            {"text": "Account", "url": "user.account", "show":"logged"},
            {"text": "Logout", "url": "user.logout", "show":"logged"}
    ]
    
    navbar_items_admin = [
            {"text": "Admin",
                "sublinks": [
                    {"text": "Create User", "url": "main.index"},
                    {"text": "Delete User", "url": "main.index"},
                    {"text": "Update User", "url": "main.index"},
                ],},
            {"text": "Database",
                "sublinks": [
                    {"text": "Tables", "url": "main.index"},
                    {"text": "Entires", "url": "main.index"},
                    {"text": "Databases", "url": "main.index"},
                ],},
    ]