tkintertools.theme.dark¶
字数 63 个 代码 200 行 阅读时间 3 分钟 访问量
Dark theme
🟣Button
¶
variable
public
Button: dict = {
'Information': {'active': {'fill': '#F1F1F1'},
'hover': {'fill': '#F1F1F1'},
'normal': {'fill': '#F1F1F1'}},
'Rectangle': {'active': {'fill': '#666666', 'outline': '#666666'},
'hover': {'fill': '#333333', 'outline': '#858585'},
'normal': {'fill': '#333333', 'outline': '#333333'}},
'RoundedRectangle': {'active': {'fill': '#323232', 'outline': '#3D3D3D'},
'hover': {'fill': '#3C3C3C', 'outline': '#3D3D3D'},
'normal': {'fill': '#373737', 'outline': '#3D3D3D'}},
}
🟣Canvas
¶
variable
public
🟣CheckButton
¶
variable
public
CheckButton: dict = {
'Information': {'active': {'fill': '#F1F1F1'},
'hover': {'fill': '#F1F1F1'},
'normal': {'fill': '#F1F1F1'}},
'Rectangle': {'active': {'fill': '#666666', 'outline': '#666666'},
'hover': {'fill': '#333333', 'outline': '#858585'},
'normal': {'fill': '#333333', 'outline': '#333333'}},
'RoundedRectangle': {'active': {'fill': '#323232', 'outline': '#3D3D3D'},
'hover': {'fill': '#3C3C3C', 'outline': '#3D3D3D'},
'normal': {'fill': '#373737', 'outline': '#3D3D3D'}},
}
🟣Frame
¶
variable
public
🟣HighlightButton
¶
variable
public
HighlightButton: dict = {
'Information': {'active': {'fill': '#FFFFFF'},
'hover': {'fill': '#F1F1F1'},
'normal': {'fill': 'grey'}},
}
🟣IconButton
¶
variable
public
IconButton: dict = {
'Information': {'active': {'fill': '#F1F1F1'},
'hover': {'fill': '#F1F1F1'},
'normal': {'fill': '#F1F1F1'}},
'Rectangle': {'active': {'fill': '#666666', 'outline': '#666666'},
'hover': {'fill': '#333333', 'outline': '#858585'},
'normal': {'fill': '#333333', 'outline': '#333333'}},
'RoundedRectangle': {'active': {'fill': '#323232', 'outline': '#3D3D3D'},
'hover': {'fill': '#3C3C3C', 'outline': '#3D3D3D'},
'normal': {'fill': '#373737', 'outline': '#3D3D3D'}},
}
🟣InputBox
¶
variable
public
InputBox: dict = {
'Rectangle': {'active': {'fill': '#090909', 'outline': '#0078D7'},
'hover': {'fill': '#0C0C0C', 'outline': '#A5A5A5'},
'normal': {'fill': '#131313', 'outline': '#797979'}},
'RoundedRectangle.in': {'active': {'fill': '#1F1F1F', 'outline': '#303030'},
'hover': {'fill': '#323232', 'outline': '#303030'},
'normal': {'fill': '#2D2D2D', 'outline': '#303030'}},
'RoundedRectangle.out': {'active': {'fill': '#4CC2FF', 'outline': '#4CC2FF'},
'hover': {'fill': '#8F8F8F', 'outline': '#8F8F8F'},
'normal': {'fill': '#8F8F8F', 'outline': '#8F8F8F'}},
'SingleLineText': {'active': {'fill': '#F1F1F1'},
'hover': {'fill': '#F1F1F1'},
'normal': {'fill': '#F1F1F1'}},
}
🟣Label
¶
variable
public
Label: dict = {
'Information': {'hover': {'fill': '#F1F1F1'}, 'normal': {'fill': '#F1F1F1'}},
'Rectangle': {'hover': {'fill': '#323232', 'outline': '#3D3D3D'},
'normal': {'fill': '#2B2B2B', 'outline': '#3D3D3D'}},
'RoundedRectangle': {'hover': {'fill': '#323232', 'outline': '#3D3D3D'},
'normal': {'fill': '#2B2B2B', 'outline': '#3D3D3D'}},
}
🟣OptionButton
¶
variable
public
OptionButton: dict = {
'HalfRoundedRectangle': {'active': {'fill': '#323232', 'outline': '#3D3D3D'},
'hover': {'fill': '#3C3C3C', 'outline': '#3D3D3D'},
'normal': {'fill': '#373737', 'outline': '#3D3D3D'}},
'Rectangle': {'active': {'fill': '#666666', 'outline': '#666666'},
'hover': {'fill': '#333333', 'outline': '#858585'},
'normal': {'fill': '#333333', 'outline': '#333333'}},
}
🟣ProgressBar
¶
variable
public
ProgressBar: dict = {
'Rectangle.in': {'hover': {'fill': '#49B3EB', 'outline': '#49B3EB'},
'normal': {'fill': '#4CC2FF', 'outline': '#4CC2FF'}},
'Rectangle.out': {'hover': {'fill': '#333333', 'outline': '#858585'},
'normal': {'fill': '#333333', 'outline': '#333333'}},
'SemicircularRectangle.in': {'hover': {'fill': '#49B3EB', 'outline': '#49B3EB'},
'normal': {'fill': '#4CC2FF', 'outline': '#4CC2FF'}},
'SemicircularRectangle.out': {'hover': {'fill': '#323232', 'outline': '#3D3D3D'},
'normal': {'fill': '#2B2B2B', 'outline': '#3D3D3D'}},
}
🟣RadioButton
¶
variable
public
RadioButton: dict = {
'Oval.in': {'active': {'fill': '#49B3EB', 'outline': '#49B3EB'},
'hover': {'fill': '#49B3EB', 'outline': '#49B3EB'},
'normal': {'fill': '#4CC2FF', 'outline': '#4CC2FF'}},
'Oval.out': {'active': {'fill': '#323232', 'outline': '#3D3D3D'},
'hover': {'fill': '#3C3C3C', 'outline': '#3D3D3D'},
'normal': {'fill': '#373737', 'outline': '#3D3D3D'}},
'Rectangle.in': {'active': {'fill': '#49B3EB', 'outline': '#49B3EB'},
'hover': {'fill': '#49B3EB', 'outline': '#49B3EB'},
'normal': {'fill': '#4CC2FF', 'outline': '#4CC2FF'}},
'Rectangle.out': {'active': {'fill': '#323232', 'outline': '#666666'},
'hover': {'fill': '#3C3C3C', 'outline': '#858585'},
'normal': {'fill': '#373737', 'outline': '#3D3D3D'}},
}
🟣SegmentedButton
¶
variable
public
SegmentedButton: dict = {
'Rectangle': {'hover': {'fill': '#323232', 'outline': '#3D3D3D'},
'normal': {'fill': '#2B2B2B', 'outline': '#3D3D3D'}},
'RoundedRectangle': {'hover': {'fill': '#323232', 'outline': '#3D3D3D'},
'normal': {'fill': '#2B2B2B', 'outline': '#3D3D3D'}},
}
🟣Slider
¶
variable
public
Slider: dict = {
'Oval.in': {'normal': {'fill': '#4CC2FF', 'outline': '#4CC2FF'}},
'Oval.out': {'normal': {'fill': '#454545', 'outline': '#454545'}},
'Rectangle': {'active': {'fill': '#767676', 'outline': '#767676'},
'hover': {'fill': '#FFFFFF', 'outline': '#FFFFFF'},
'normal': {'fill': '#0078D7', 'outline': '#0078D7'}},
'Rectangle.in': {'normal': {'fill': '#429CE3', 'outline': '#429CE3'}},
'Rectangle.out': {'normal': {'fill': '#7C7C7C', 'outline': '#7C7C7C'}},
'SemicircularRectangle.in': {'normal': {'fill': '#4CC2FF', 'outline': '#4CC2FF'}},
'SemicircularRectangle.out': {'normal': {'fill': '#9E9E9E', 'outline': '#9E9E9E'}},
}
🟣Switch
¶
variable
public
Switch: dict = {
'Oval': {'active-off': {'fill': '#D4D4D4', 'outline': '#D4D4D4'},
'active-on': {'fill': '#000000', 'outline': '#000000'},
'hover-off': {'fill': '#D2D2D2', 'outline': '#D2D2D2'},
'hover-on': {'fill': '#000000', 'outline': '#000000'},
'normal-off': {'fill': '#CECECE', 'outline': '#CECECE'},
'normal-on': {'fill': '#000000', 'outline': '#000000'}},
'Rectangle.in': {'active-off': {'fill': '#D4D4D4', 'outline': '#D4D4D4'},
'active-on': {'fill': '#000000', 'outline': '#000000'},
'hover-off': {'fill': '#D2D2D2', 'outline': '#D2D2D2'},
'hover-on': {'fill': '#000000', 'outline': '#000000'},
'normal-off': {'fill': '#CECECE', 'outline': '#CECECE'},
'normal-on': {'fill': '#000000', 'outline': '#000000'}},
'Rectangle.out': {'active-off': {'fill': '#404040', 'outline': '#A3A3A3'},
'active-on': {'fill': '#49A8DA', 'outline': '#5DBCED'},
'hover-off': {'fill': '#3B3B3B', 'outline': '#A3A3A3'},
'hover-on': {'fill': '#49B3EB', 'outline': '#49B3EB'},
'normal-off': {'fill': '#272727', 'outline': '#9E9E9E'},
'normal-on': {'fill': '#4CC2FF', 'outline': '#4CC2FF'}},
'SemicircularRectangle': {'active-off': {'fill': '#404040', 'outline': '#A3A3A3'},
'active-on': {'fill': '#49A8DA', 'outline': '#5DBCED'},
'hover-off': {'fill': '#3B3B3B', 'outline': '#A3A3A3'},
'hover-on': {'fill': '#49B3EB', 'outline': '#49B3EB'},
'normal-off': {'fill': '#272727', 'outline': '#9E9E9E'},
'normal-on': {'fill': '#4CC2FF', 'outline': '#4CC2FF'}},
}
🟣Text
¶
variable
public
🟣ToggleButton
¶
variable
public
ToggleButton: dict = {
'Information': {'active-off': {'fill': '#F1F1F1'},
'active-on': {'fill': '#F1F1F1'},
'hover-off': {'fill': '#F1F1F1'},
'hover-on': {'fill': '#F1F1F1'},
'normal-off': {'fill': '#F1F1F1'},
'normal-on': {'fill': '#F1F1F1'}},
'Rectangle': {'active-off': {'fill': '#666666', 'outline': '#666666'},
'active-on': {'fill': '#2D7FC6', 'outline': '#2072B9'},
'hover-off': {'fill': '#333333', 'outline': '#858585'},
'hover-on': {'fill': '#1975C5', 'outline': '#1975C5'},
'normal-off': {'fill': '#333333', 'outline': '#333333'},
'normal-on': {'fill': '#0067C0', 'outline': '#0078D7'}},
'RoundedRectangle': {'active-off': {'fill': '#323232', 'outline': '#3D3D3D'},
'active-on': {'fill': '#2D7FC6', 'outline': '#2072B9'},
'hover-off': {'fill': '#3C3C3C', 'outline': '#3D3D3D'},
'hover-on': {'fill': '#1975C5', 'outline': '#1975C5'},
'normal-off': {'fill': '#373737', 'outline': '#3D3D3D'},
'normal-on': {'fill': '#0067C0', 'outline': '#0078D7'}},
}
🟣UnderlineButton
¶
variable
public
UnderlineButton: dict = {
'Information': {'active': {'fill': 'purple'},
'hover': {'fill': 'royalblue'},
'normal': {'fill': '#F1F1F1'}},
}
🟣_AuxiliaryButton
¶
variable
protected
_AuxiliaryButton: dict = {
'HalfRoundedRectangle': {'active': {'fill': '#323232', 'outline': '#3D3D3D'},
'hover': {'fill': '#3C3C3C', 'outline': '#3D3D3D'},
'normal': {'fill': '#373737', 'outline': '#3D3D3D'}},
'Information': {'active': {'fill': '#F1F1F1'},
'hover': {'fill': '#F1F1F1'},
'normal': {'fill': '#F1F1F1'}},
'Rectangle': {'active': {'fill': '#666666', 'outline': '#666666'},
'hover': {'fill': '#333333', 'outline': '#858585'},
'normal': {'fill': '#333333', 'outline': '#333333'}},
}
🟣_AuxiliaryInputBox
¶
variable
protected
_AuxiliaryInputBox: dict = {
'HalfRoundedRectangle.in': {'active': {'fill': '#1F1F1F', 'outline': '#303030'},
'hover': {'fill': '#323232', 'outline': '#303030'},
'normal': {'fill': '#2D2D2D', 'outline': '#303030'}},
'HalfRoundedRectangle.out': {'active': {'fill': '#4CC2FF', 'outline': '#4CC2FF'},
'hover': {'fill': '#8F8F8F', 'outline': '#8F8F8F'},
'normal': {'fill': '#8F8F8F', 'outline': '#8F8F8F'}},
'Rectangle': {'active': {'fill': '#090909', 'outline': '#0078D7'},
'hover': {'fill': '#0C0C0C', 'outline': '#A5A5A5'},
'normal': {'fill': '#131313', 'outline': '#797979'}},
'SingleLineText': {'active': {'fill': '#F1F1F1'},
'hover': {'fill': '#F1F1F1'},
'normal': {'fill': '#F1F1F1'}},
}
🟣_AuxiliaryLabel
¶
variable
protected
_AuxiliaryLabel: dict = {
'HalfRoundedRectangle': {'hover': {'fill': '#323232', 'outline': '#3D3D3D'},
'normal': {'fill': '#2B2B2B', 'outline': '#3D3D3D'}},
'Information': {'hover': {'fill': '#F1F1F1'}, 'normal': {'fill': '#F1F1F1'}},
'Rectangle': {'hover': {'fill': '#323232', 'outline': '#3D3D3D'},
'normal': {'fill': '#2B2B2B', 'outline': '#3D3D3D'}},
}