import tkinter 
import os 

from tkinter import *
from tkinter.messagebox import *
from tkinter.filedialog import *
from tkinter import font, filedialog
from tkhtmlview import HTMLLabel
from tkinter import messagebox as mbox
from markdown2 import Markdown

from abc import ABCMeta, abstractstaticmethod

class ThemeCreator():
    @abstractstaticmethod
    def change_theme(self):
        pass

class NightThemeFactory(ThemeCreator):
    # Turn on Night Mode
    def __init__(self, inputEditor:Text, outputbox: HTMLLabel):
        self.inputEditor = inputEditor
        self.outputbox = outputbox
        self.change_theme()

    def change_theme(self):
        main_color = "#292a31"
        text_color = "white"
        self.inputEditor.config(bg=main_color, fg=text_color)
        self.outputbox.config(bg=main_color, fg=text_color)

class DayThemeFactory(ThemeCreator):
    def __init__(self, inputEditor:Text, outputbox: HTMLLabel):
        self.inputEditor = inputEditor
        self.outputbox = outputbox
        self.change_theme()
        
    # Turn On Day Mode:
    def change_theme(self):
        main_color = "SystemButtonFace"
        text_color = "black"
        self.inputEditor.config(bg=main_color, fg=text_color)
        self.outputbox.config(bg=main_color, fg=text_color)

class ThemeFactory():
    def __init__(self, inputEditor:Text, outputbox: HTMLLabel)->None:
        self.inputEditor = inputEditor
        self.outputbox = outputbox

    def getDayTheme(self):
        return DayThemeFactory(self.inputEditor, self.outputbox)

    def getNightTheme(self):
        return NightThemeFactory(self.inputEditor, self.outputbox)
e8c9cd7185373009ac7d487706b0a5ec09ef1b98
<mask token>


class DayThemeFactory(ThemeCreator):

    def __init__(self, inputEditor: Text, outputbox: HTMLLabel):
        self.inputEditor = inputEditor
        self.outputbox = outputbox
        self.change_theme()

    def change_theme(self):
        main_color = 'SystemButtonFace'
        text_color = 'black'
        self.inputEditor.config(bg=main_color, fg=text_color)
        self.outputbox.config(bg=main_color, fg=text_color)


class ThemeFactory:

    def __init__(self, inputEditor: Text, outputbox: HTMLLabel) ->None:
        self.inputEditor = inputEditor
        self.outputbox = outputbox

    def getDayTheme(self):
        return DayThemeFactory(self.inputEditor, self.outputbox)

    def getNightTheme(self):
        return NightThemeFactory(self.inputEditor, self.outputbox)

<mask token>


class NightThemeFactory(ThemeCreator):
    <mask token>
    <mask token>


class DayThemeFactory(ThemeCreator):

    def __init__(self, inputEditor: Text, outputbox: HTMLLabel):
        self.inputEditor = inputEditor
        self.outputbox = outputbox
        self.change_theme()

    def change_theme(self):
        main_color = 'SystemButtonFace'
        text_color = 'black'
        self.inputEditor.config(bg=main_color, fg=text_color)
        self.outputbox.config(bg=main_color, fg=text_color)


class ThemeFactory:

    def __init__(self, inputEditor: Text, outputbox: HTMLLabel) ->None:
        self.inputEditor = inputEditor
        self.outputbox = outputbox

    def getDayTheme(self):
        return DayThemeFactory(self.inputEditor, self.outputbox)

    def getNightTheme(self):
        return NightThemeFactory(self.inputEditor, self.outputbox)

<mask token>


class ThemeCreator:
    <mask token>


class NightThemeFactory(ThemeCreator):

    def __init__(self, inputEditor: Text, outputbox: HTMLLabel):
        self.inputEditor = inputEditor
        self.outputbox = outputbox
        self.change_theme()

    def change_theme(self):
        main_color = '#292a31'
        text_color = 'white'
        self.inputEditor.config(bg=main_color, fg=text_color)
        self.outputbox.config(bg=main_color, fg=text_color)


class DayThemeFactory(ThemeCreator):

    def __init__(self, inputEditor: Text, outputbox: HTMLLabel):
        self.inputEditor = inputEditor
        self.outputbox = outputbox
        self.change_theme()

    def change_theme(self):
        main_color = 'SystemButtonFace'
        text_color = 'black'
        self.inputEditor.config(bg=main_color, fg=text_color)
        self.outputbox.config(bg=main_color, fg=text_color)


class ThemeFactory:

    def __init__(self, inputEditor: Text, outputbox: HTMLLabel) ->None:
        self.inputEditor = inputEditor
        self.outputbox = outputbox

    def getDayTheme(self):
        return DayThemeFactory(self.inputEditor, self.outputbox)

    def getNightTheme(self):
        return NightThemeFactory(self.inputEditor, self.outputbox)

import tkinter
import os
from tkinter import *
from tkinter.messagebox import *
from tkinter.filedialog import *
from tkinter import font, filedialog
from tkhtmlview import HTMLLabel
from tkinter import messagebox as mbox
from markdown2 import Markdown
from abc import ABCMeta, abstractstaticmethod


class ThemeCreator:

    @abstractstaticmethod
    def change_theme(self):
        pass


class NightThemeFactory(ThemeCreator):

    def __init__(self, inputEditor: Text, outputbox: HTMLLabel):
        self.inputEditor = inputEditor
        self.outputbox = outputbox
        self.change_theme()

    def change_theme(self):
        main_color = '#292a31'
        text_color = 'white'
        self.inputEditor.config(bg=main_color, fg=text_color)
        self.outputbox.config(bg=main_color, fg=text_color)


class DayThemeFactory(ThemeCreator):

    def __init__(self, inputEditor: Text, outputbox: HTMLLabel):
        self.inputEditor = inputEditor
        self.outputbox = outputbox
        self.change_theme()

    def change_theme(self):
        main_color = 'SystemButtonFace'
        text_color = 'black'
        self.inputEditor.config(bg=main_color, fg=text_color)
        self.outputbox.config(bg=main_color, fg=text_color)


class ThemeFactory:

    def __init__(self, inputEditor: Text, outputbox: HTMLLabel) ->None:
        self.inputEditor = inputEditor
        self.outputbox = outputbox

    def getDayTheme(self):
        return DayThemeFactory(self.inputEditor, self.outputbox)

    def getNightTheme(self):
        return NightThemeFactory(self.inputEditor, self.outputbox)

import tkinter 
import os 

from tkinter import *
from tkinter.messagebox import *
from tkinter.filedialog import *
from tkinter import font, filedialog
from tkhtmlview import HTMLLabel
from tkinter import messagebox as mbox
from markdown2 import Markdown

from abc import ABCMeta, abstractstaticmethod

class ThemeCreator():
    @abstractstaticmethod
    def change_theme(self):
        pass

class NightThemeFactory(ThemeCreator):
    # Turn on Night Mode
    def __init__(self, inputEditor:Text, outputbox: HTMLLabel):
        self.inputEditor = inputEditor
        self.outputbox = outputbox
        self.change_theme()

    def change_theme(self):
        main_color = "#292a31"
        text_color = "white"
        self.inputEditor.config(bg=main_color, fg=text_color)
        self.outputbox.config(bg=main_color, fg=text_color)

class DayThemeFactory(ThemeCreator):
    def __init__(self, inputEditor:Text, outputbox: HTMLLabel):
        self.inputEditor = inputEditor
        self.outputbox = outputbox
        self.change_theme()
        
    # Turn On Day Mode:
    def change_theme(self):
        main_color = "SystemButtonFace"
        text_color = "black"
        self.inputEditor.config(bg=main_color, fg=text_color)
        self.outputbox.config(bg=main_color, fg=text_color)

class ThemeFactory():
    def __init__(self, inputEditor:Text, outputbox: HTMLLabel)->None:
        self.inputEditor = inputEditor
        self.outputbox = outputbox

    def getDayTheme(self):
        return DayThemeFactory(self.inputEditor, self.outputbox)

    def getNightTheme(self):
        return NightThemeFactory(self.inputEditor, self.outputbox)