self.linenumberingarea = tk.Text(root, font=(State.font_family, State.font_size), borderwidth=0, background=State.linenumbering_color, foreground=State.foreground_color, width=1, padx=5)
вот тут в параметрах background и foreground был не State..., а CONFIG[...]