跳转至

tkintertools.theme.light

字数 63 个   代码 200 行   阅读时间 3 分钟   访问量

Light theme

🟣Button

variable public

Button: dict = {
    'Information': {'active': {'fill': '#1A1A1A'},
                    'hover': {'fill': '#1A1A1A'},
                    'normal': {'fill': '#1A1A1A'}},
    'Rectangle': {'active': {'fill': '#CCE4F7', 'outline': '#4884B4'},
                  'hover': {'fill': '#E5F1FB', 'outline': '#288CDB'},
                  'normal': {'fill': '#E1E1E1', 'outline': '#C0C0C0'}},
    'RoundedRectangle': {'active': {'fill': '#F3F3F3', 'outline': '#DCDCDC'},
                         'hover': {'fill': '#FAFAFA', 'outline': '#DCDCDC'},
                         'normal': {'fill': '#FEFEFE', 'outline': '#DCDCDC'}},
}

🟣Canvas

variable public

Canvas: dict = {
    'bg': '#F1F1F1', 'highlightthickness': 0, 'insertbackground': '#000000',
}

🟣CheckButton

variable public

CheckButton: dict = {
    'Information': {'active': {'fill': '#1A1A1A'},
                    'hover': {'fill': '#1A1A1A'},
                    'normal': {'fill': '#1A1A1A'}},
    'Rectangle': {'active': {'fill': '#CCE4F7', 'outline': '#4884B4'},
                  'hover': {'fill': '#E5F1FB', 'outline': '#288CDB'},
                  'normal': {'fill': '#E1E1E1', 'outline': '#C0C0C0'}},
    'RoundedRectangle': {'active': {'fill': '#F3F3F3', 'outline': '#DCDCDC'},
                         'hover': {'fill': '#FAFAFA', 'outline': '#DCDCDC'},
                         'normal': {'fill': '#FEFEFE', 'outline': '#DCDCDC'}},
}

🟣Frame

variable public

Frame: dict = {
    'bg': '#EAEAEA', 'highlightthickness': 0, 'insertbackground': '#000000',
}

🟣HighlightButton

variable public

HighlightButton: dict = {
    'Information': {'active': {'fill': '#000000'},
                    'hover': {'fill': '#1F1F1F'},
                    'normal': {'fill': 'grey'}},
}

🟣IconButton

variable public

IconButton: dict = {
    'Information': {'active': {'fill': '#1A1A1A'},
                    'hover': {'fill': '#1A1A1A'},
                    'normal': {'fill': '#1A1A1A'}},
    'Rectangle': {'active': {'fill': '#CCE4F7', 'outline': '#4884B4'},
                  'hover': {'fill': '#E5F1FB', 'outline': '#288CDB'},
                  'normal': {'fill': '#E1E1E1', 'outline': '#C0C0C0'}},
    'RoundedRectangle': {'active': {'fill': '#F3F3F3', 'outline': '#DCDCDC'},
                         'hover': {'fill': '#FAFAFA', 'outline': '#DCDCDC'},
                         'normal': {'fill': '#FEFEFE', 'outline': '#DCDCDC'}},
}

🟣InputBox

variable public

InputBox: dict = {
    'Rectangle': {'active': {'fill': '#FFFFFF', 'outline': '#288CDB'},
                  'hover': {'fill': '#F6F6F6', 'outline': '#414141'},
                  'normal': {'fill': '#FBFBFB', 'outline': '#C0C0C0'}},
    'RoundedRectangle.in': {'active': {'fill': '#FFFFFF', 'outline': '#E5E5E5'},
                            'hover': {'fill': '#F6F6F6', 'outline': '#E5E5E5'},
                            'normal': {'fill': '#FBFBFB', 'outline': '#E5E5E5'}},
    'RoundedRectangle.out': {'active': {'fill': '#0067C0', 'outline': '#0067C0'},
                             'hover': {'fill': '#868686', 'outline': '#868686'},
                             'normal': {'fill': '#868686', 'outline': '#868686'}},
    'SingleLineText': {'active': {'fill': '#1A1A1A'},
                       'hover': {'fill': '#1A1A1A'},
                       'normal': {'fill': '#1A1A1A'}},
}

🟣Label

variable public

Label: dict = {
    'Information': {'hover': {'fill': '#1A1A1A'}, 'normal': {'fill': '#1A1A1A'}},
    'Rectangle': {'hover': {'fill': '#F6F6F6', 'outline': '#DCDCDC'},
                  'normal': {'fill': '#FBFBFB', 'outline': '#DCDCDC'}},
    'RoundedRectangle': {'hover': {'fill': '#F6F6F6', 'outline': '#DCDCDC'},
                         'normal': {'fill': '#FBFBFB', 'outline': '#DCDCDC'}},
}

🟣OptionButton

variable public

OptionButton: dict = {
    'HalfRoundedRectangle': {'active': {'fill': '#F3F3F3', 'outline': '#DCDCDC'},
                             'hover': {'fill': '#FAFAFA', 'outline': '#DCDCDC'},
                             'normal': {'fill': '#FEFEFE', 'outline': '#DCDCDC'}},
    'Rectangle': {'active': {'fill': '#CCE4F7', 'outline': '#4884B4'},
                  'hover': {'fill': '#E5F1FB', 'outline': '#288CDB'},
                  'normal': {'fill': '#E1E1E1', 'outline': '#C0C0C0'}},
}

🟣ProgressBar

variable public

ProgressBar: dict = {
    'Rectangle.in': {'hover': {'fill': '#06B025', 'outline': '#06B025'},
                     'normal': {'fill': '#32BF42', 'outline': '#32BF42'}},
    'Rectangle.out': {'hover': {'fill': '#E5F1FB', 'outline': '#288CDB'},
                      'normal': {'fill': '#E1E1E1', 'outline': '#C0C0C0'}},
    'SemicircularRectangle.in': {'hover': {'fill': '#06B025', 'outline': '#06B025'},
                                 'normal': {'fill': '#32BF42', 'outline': '#32BF42'}},
    'SemicircularRectangle.out': {'hover': {'fill': '#F6F6F6', 'outline': '#DCDCDC'},
                                  'normal': {'fill': '#FBFBFB', 'outline': '#DCDCDC'}},
}

🟣RadioButton

variable public

RadioButton: dict = {
    'Oval.in': {'active': {'fill': '#06B025', 'outline': '#06B025'},
                'hover': {'fill': '#06B025', 'outline': '#06B025'},
                'normal': {'fill': '#32BF42', 'outline': '#32BF42'}},
    'Oval.out': {'active': {'fill': '#F3F3F3', 'outline': '#DCDCDC'},
                 'hover': {'fill': '#FAFAFA', 'outline': '#DCDCDC'},
                 'normal': {'fill': '#FEFEFE', 'outline': '#DCDCDC'}},
    'Rectangle.in': {'active': {'fill': '#06B025', 'outline': '#06B025'},
                     'hover': {'fill': '#06B025', 'outline': '#06B025'},
                     'normal': {'fill': '#32BF42', 'outline': '#32BF42'}},
    'Rectangle.out': {'active': {'fill': '#F3F3F3', 'outline': '#4884B4'},
                      'hover': {'fill': '#FAFAFA', 'outline': '#288CDB'},
                      'normal': {'fill': '#FEFEFE', 'outline': '#DCDCDC'}},
}

🟣SegmentedButton

variable public

SegmentedButton: dict = {
    'Rectangle': {'hover': {'fill': '#F6F6F6', 'outline': '#DCDCDC'},
                  'normal': {'fill': '#FBFBFB', 'outline': '#DCDCDC'}},
    'RoundedRectangle': {'hover': {'fill': '#F6F6F6', 'outline': '#DCDCDC'},
                         'normal': {'fill': '#FBFBFB', 'outline': '#DCDCDC'}},
}

🟣Slider

variable public

Slider: dict = {
    'Oval.in': {'normal': {'fill': '#0067C0', 'outline': '#0067C0'}},
    'Oval.out': {'normal': {'fill': '#FFFFFF', 'outline': '#E8E8E8'}},
    'Rectangle': {'active': {'fill': '#CCCCCC', 'outline': '#CCCCCC'},
                  'hover': {'fill': '#000000', 'outline': '#000000'},
                  'normal': {'fill': '#0078D7', 'outline': '#0078D7'}},
    'Rectangle.in': {'normal': {'fill': '#0078D7', 'outline': '#0078D7'}},
    'Rectangle.out': {'normal': {'fill': '#878787', 'outline': '#878787'}},
    'SemicircularRectangle.in': {'normal': {'fill': '#0067C0', 'outline': '#0067C0'}},
    'SemicircularRectangle.out': {'normal': {'fill': '#878787', 'outline': '#878787'}},
}

🟣Switch

variable public

Switch: dict = {
    'Oval': {'active-off': {'fill': '#545556', 'outline': '#545556'},
             'active-on': {'fill': '#FFFFFF', 'outline': '#FFFFFF'},
             'hover-off': {'fill': '#585859', 'outline': '#585859'},
             'hover-on': {'fill': '#FFFFFF', 'outline': '#FFFFFF'},
             'normal-off': {'fill': '#5D5D5E', 'outline': '#5D5D5E'},
             'normal-on': {'fill': '#FFFFFF', 'outline': '#FFFFFF'}},
    'Rectangle.in': {'active-off': {'fill': '#545556', 'outline': '#545556'},
                     'active-on': {'fill': '#FFFFFF', 'outline': '#FFFFFF'},
                     'hover-off': {'fill': '#585859', 'outline': '#585859'},
                     'hover-on': {'fill': '#FFFFFF', 'outline': '#FFFFFF'},
                     'normal-off': {'fill': '#5D5D5E', 'outline': '#5D5D5E'},
                     'normal-on': {'fill': '#FFFFFF', 'outline': '#FFFFFF'}},
    'Rectangle.out': {'active-off': {'fill': '#DEDFE2', 'outline': '#848586'},
                      'active-on': {'fill': '#2D7FC6', 'outline': '#2072B9'},
                      'hover-off': {'fill': '#E7E8EA', 'outline': '#858687'},
                      'hover-on': {'fill': '#1975C5', 'outline': '#1975C5'},
                      'normal-off': {'fill': '#F5F5F7', 'outline': '#B8B8B9'},
                      'normal-on': {'fill': '#0067C0', 'outline': '#0067C0'}},
    'SemicircularRectangle': {'active-off': {'fill': '#DEDFE2', 'outline': '#848586'},
                              'active-on': {'fill': '#2D7FC6', 'outline': '#2072B9'},
                              'hover-off': {'fill': '#E7E8EA', 'outline': '#858687'},
                              'hover-on': {'fill': '#1975C5', 'outline': '#1975C5'},
                              'normal-off': {'fill': '#F5F5F7', 'outline': '#B8B8B9'},
                              'normal-on': {'fill': '#0067C0', 'outline': '#0067C0'}},
}

🟣Text

variable public

Text: dict = {
    'Information': {'normal': {'fill': '#1A1A1A'}},
}

🟣ToggleButton

variable public

ToggleButton: dict = {
    'Information': {'active-off': {'fill': '#1A1A1A'},
                    'active-on': {'fill': '#1A1A1A'},
                    'hover-off': {'fill': '#1A1A1A'},
                    'hover-on': {'fill': '#1A1A1A'},
                    'normal-off': {'fill': '#1A1A1A'},
                    'normal-on': {'fill': '#1A1A1A'}},
    'Rectangle': {'active-off': {'fill': '#F3F3F3', 'outline': '#DCDCDC'},
                  'active-on': {'fill': '#0078D7', 'outline': '#49B3EB'},
                  'hover-off': {'fill': '#FAFAFA', 'outline': '#DCDCDC'},
                  'hover-on': {'fill': '#49B3EB', 'outline': '#49B3EB'},
                  'normal-off': {'fill': '#FEFEFE', 'outline': '#DCDCDC'},
                  'normal-on': {'fill': '#49A8DA', 'outline': '#49B3EB'}},
    'RoundedRectangle': {'active-off': {'fill': '#F3F3F3', 'outline': '#DCDCDC'},
                         'active-on': {'fill': '#0078D7', 'outline': '#49B3EB'},
                         'hover-off': {'fill': '#FAFAFA', 'outline': '#DCDCDC'},
                         'hover-on': {'fill': '#49B3EB', 'outline': '#49B3EB'},
                         'normal-off': {'fill': '#FEFEFE', 'outline': '#DCDCDC'},
                         'normal-on': {'fill': '#49A8DA', 'outline': '#49B3EB'}},
}

🟣UnderlineButton

variable public

UnderlineButton: dict = {
    'Information': {'active': {'fill': 'purple'},
                    'hover': {'fill': 'blue'},
                    'normal': {'fill': '#1A1A1A'}},
}

🟣_AuxiliaryButton

variable protected

_AuxiliaryButton: dict = {
    'HalfRoundedRectangle': {'active': {'fill': '#F3F3F3', 'outline': '#DCDCDC'},
                             'hover': {'fill': '#FAFAFA', 'outline': '#DCDCDC'},
                             'normal': {'fill': '#FEFEFE', 'outline': '#DCDCDC'}},
    'Information': {'active': {'fill': '#1A1A1A'},
                    'hover': {'fill': '#1A1A1A'},
                    'normal': {'fill': '#1A1A1A'}},
    'Rectangle': {'active': {'fill': '#CCE4F7', 'outline': '#4884B4'},
                  'hover': {'fill': '#E5F1FB', 'outline': '#288CDB'},
                  'normal': {'fill': '#E1E1E1', 'outline': '#C0C0C0'}},
}

🟣_AuxiliaryInputBox

variable protected

_AuxiliaryInputBox: dict = {
    'HalfRoundedRectangle.in': {'active': {'fill': '#FFFFFF', 'outline': '#E5E5E5'},
                                'hover': {'fill': '#F6F6F6', 'outline': '#E5E5E5'},
                                'normal': {'fill': '#FBFBFB', 'outline': '#E5E5E5'}},
    'HalfRoundedRectangle.out': {'active': {'fill': '#0067C0', 'outline': '#0067C0'},
                                 'hover': {'fill': '#868686', 'outline': '#868686'},
                                 'normal': {'fill': '#868686', 'outline': '#868686'}},
    'Rectangle': {'active': {'fill': '#FFFFFF', 'outline': '#288CDB'},
                  'hover': {'fill': '#F6F6F6', 'outline': '#414141'},
                  'normal': {'fill': '#FBFBFB', 'outline': '#C0C0C0'}},
    'SingleLineText': {'active': {'fill': '#1A1A1A'},
                       'hover': {'fill': '#1A1A1A'},
                       'normal': {'fill': '#1A1A1A'}},
}

🟣_AuxiliaryLabel

variable protected

_AuxiliaryLabel: dict = {
    'HalfRoundedRectangle': {'hover': {'fill': '#F6F6F6', 'outline': '#DCDCDC'},
                             'normal': {'fill': '#FBFBFB', 'outline': '#DCDCDC'}},
    'Information': {'hover': {'fill': '#1A1A1A'}, 'normal': {'fill': '#1A1A1A'}},
    'Rectangle': {'hover': {'fill': '#F6F6F6', 'outline': '#DCDCDC'},
                  'normal': {'fill': '#FBFBFB', 'outline': '#DCDCDC'}},
}