Exemple #1
0
        public NM_asm_Keyword()
        {
            DisplayName = "NM asm Keyword";
            var currentTheme = ThemeCheck.GetCurrentTheme();

            if (currentTheme.ToString().ToLower() == "dark")
            {
                ForegroundColor = (Color)ColorConverter.ConvertFromString("#569cd6");
            }
            else
            {
                ForegroundColor = (Color)ColorConverter.ConvertFromString("#1616ff");
            }
        }
Exemple #2
0
        public NM_asm_Number()
        {
            DisplayName = "NM asm Number";
            var currentTheme = ThemeCheck.GetCurrentTheme();

            if (currentTheme.ToString().ToLower() == "dark")
            {
                //Dark coloring
                ForegroundColor = (Color)ColorConverter.ConvertFromString("#b5cea8");
            }
            else
            {
                ForegroundColor = (Color)ColorConverter.ConvertFromString("#2f4f4f");
            }
        }
Exemple #3
0
        public NM_asm_Custom_Label()
        {
            DisplayName = "NM asm custom label";
            var currentTheme = ThemeCheck.GetCurrentTheme();

            if (currentTheme.ToString().ToLower() == "dark")
            {
                //Dark coloring
                ForegroundColor = (Color)ColorConverter.ConvertFromString("#d37941");
            }
            else
            {
                ForegroundColor = (Color)ColorConverter.ConvertFromString("#d52828");
            }
        }
Exemple #4
0
        public NM_asm_Quote()
        {
            DisplayName = "NM asm Quote";
            var currentTheme = ThemeCheck.GetCurrentTheme();

            if (currentTheme.ToString().ToLower() == "dark")
            {
                //Dark coloring
                ForegroundColor = (Color)ColorConverter.ConvertFromString("#d39670");
            }
            else
            {
                ForegroundColor = (Color)ColorConverter.ConvertFromString("#a31515");
            }
        }
Exemple #5
0
        public NM_asm_Comment()
        {
            DisplayName = "NM asm Comment";
            var currentTheme = ThemeCheck.GetCurrentTheme();

            if (currentTheme.ToString().ToLower() == "dark")
            {
                //Dark coloring
                ForegroundColor = (Color)ColorConverter.ConvertFromString("#51a448");
            }
            else
            {
                ForegroundColor = (Color)ColorConverter.ConvertFromString("#006400");
            }
        }
Exemple #6
0
        public NM_asm_Data_registers()
        {
            DisplayName = "NM asm Data Registers";
            var currentTheme = ThemeCheck.GetCurrentTheme();

            if (currentTheme.ToString().ToLower() == "dark")
            {
                //Dark coloring
                ForegroundColor = Colors.DarkCyan;
            }
            else
            {
                ForegroundColor = Colors.DarkCyan;
            }
        }
Exemple #7
0
        public NM_asm_Label()
        {
            DisplayName = "NM asm Label";
            var currentTheme = ThemeCheck.GetCurrentTheme();

            if (currentTheme.ToString().ToLower() == "dark")
            {
                //Dark coloring
                ForegroundColor = (Color)ColorConverter.ConvertFromString("#b572e3");
            }
            else
            {
                ForegroundColor = (Color)ColorConverter.ConvertFromString("#b514e3");
            }
        }
Exemple #8
0
        public NM_asm_Directive()
        {
            DisplayName = "NM asm Directive";
            var currentTheme = ThemeCheck.GetCurrentTheme();

            if (currentTheme.ToString().ToLower() == "dark")
            {
                //Dark coloring
                ForegroundColor = (Color)ColorConverter.ConvertFromString("#49c6ad");
            }
            else
            {
                ForegroundColor = (Color)ColorConverter.ConvertFromString("#2b91af");
            }
        }