Exemplo n.º 1
0
            public static ColorTheme CreateLightTheme()
            {
                var grayBackground = new Color4(240, 240, 240);

                return(new ColorTheme {
                    BlackText = Color4.Black,
                    RedText = Color4.Red,
                    GrayText = Color4.Black.Lighten(0.35f),
                    WhiteBackground = Color4.White,
                    GrayBackground = grayBackground,
                    SelectedBackground = new Color4(205, 232, 255),
                    SelectedInactiveBackground = new Color4(220, 220, 220),
                    SelectedBorder = new Color4(153, 209, 255),
                    HoveredBackground = new Color4(229, 243, 255),
                    DisabledBackground = grayBackground.Lighten(.1f),
                    ControlBorder = new Color4(172, 172, 172).Lighten(0.3f),
                    ButtonDefault = new ColorGradient(new Color4(239, 239, 239), new Color4(229, 229, 229)),
                    ButtonHover = new ColorGradient(new Color4(235, 244, 252), new Color4(222, 238, 252)),
                    ButtonPress = new ColorGradient(new Color4(215, 234, 252), new Color4(199, 226, 252)),
                    ButtonDisable = new ColorGradient(new Color4(244, 244, 244), new Color4(244, 244, 244)),
                    ExpandButtonDefault = new ColorGradient(new Color4(107, 107, 107), new Color4(107, 107, 107)),
                    ExpandButtonHover = new ColorGradient(new Color4(133, 133, 133), new Color4(133, 133, 133)),
                    ExpandButtonPress = new ColorGradient(new Color4(141, 167, 204), new Color4(141, 167, 204)),
                    ExpandButtonDisable = new ColorGradient(new Color4(64, 64, 64), new Color4(64, 64, 64)),
                    PathBarButtonNormal = new ColorGradient(new Color4(255, 255, 255)),
                    PathBarButtonHover = new ColorGradient(new Color4(219, 236, 249)),
                    PathBarButtonPress = new ColorGradient(new Color4(159, 200, 233)),
                    PathBarButtonOutlineNormal = Color4.Transparent,
                    PathBarButtonOutlineHover = new Color4(115, 193, 255),
                    PathBarButtonOutlinePress = new Color4(0, 86, 155),
                    DirectoryPickerBackground = new Color4(240, 240, 240),
                    DirectoryPickerOutline = new Color4(133, 133, 133),
                    DirectoryPickerItemHoveredBackground = new Color4(158, 200, 233),
                    TabNormal = grayBackground.Darken(0.2f),
                    TabActive = grayBackground.Darken(0.05f),
                    SeparatorColor = grayBackground.Darken(0.4f),
                    SeparatorHighlightColor = grayBackground.Darken(0.6f),
                    SeparatorDragColor = grayBackground.Darken(0.7f),
                    KeyboardFocusBorder = new Color4(0, 120, 215),
                    TextSelection = new Color4(200, 230, 255),
                    CloseButtonNormal = grayBackground.Darken(0.6f),
                    CloseButtonHovered = grayBackground.Darken(0.8f),
                    CloseButtonPressed = grayBackground.Darken(1),
                    CloseButtonFocusBorderNormal = Color4.Transparent,
                    CloseButtonFocusBorderHovered = Color4.Red.Lighten(0.6f),
                    ScrollbarBackground = new Color4(210, 210, 210),
                    ScrollbarThumb = new Color4(120, 120, 120),
                    TextCaret = Color4.Black,
                    ZebraColor1 = Color4.White,
                    ZebraColor2 = Color4.White.Darken(0.1f),
                    WarningBackground = new Color4(255, 194, 26),
                });
            }
Exemplo n.º 2
0
            public static ColorTheme CreateDarkTheme()
            {
                var grayBackground = new Color4(45, 45, 48);
                var blackText      = new Color4(204, 204, 204);

                return(new ColorTheme {
                    BlackText = blackText,
                    RedText = new Color4(255, 100, 100),
                    GrayText = blackText.Darken(0.35f),
                    WhiteBackground = Color4.Black.Lighten(0.25f),
                    GrayBackground = new Color4(45, 45, 48),
                    SelectedBackground = new Color4(86, 86, 86),
                    SelectedInactiveBackground = new Color4(107, 107, 107),
                    SelectedBorder = new Color4(153, 209, 255),
                    HoveredBackground = new Color4(86, 86, 86).Lighten(0.25f),
                    DisabledBackground = grayBackground.Darken(.1f),
                    ControlBorder = new Color4(39, 39, 39),
                    ButtonDefault = new ColorGradient(new Color4(107, 107, 107), new Color4(107, 107, 107)),
                    ButtonHover = new ColorGradient(new Color4(133, 133, 133), new Color4(133, 133, 133)),
                    ButtonPress = new ColorGradient(new Color4(141, 167, 204), new Color4(141, 167, 204)),
                    ButtonDisable = new ColorGradient(new Color4(64, 64, 64), new Color4(64, 64, 64)),
                    ExpandButtonDefault = new ColorGradient(new Color4(107, 107, 107), new Color4(107, 107, 107)),
                    ExpandButtonHover = new ColorGradient(new Color4(133, 133, 133), new Color4(133, 133, 133)),
                    ExpandButtonPress = new ColorGradient(new Color4(141, 167, 204), new Color4(141, 167, 204)),
                    ExpandButtonDisable = new ColorGradient(new Color4(64, 64, 64), new Color4(64, 64, 64)),
                    PathBarButtonNormal = new ColorGradient(new Color4(63, 63, 63)),
                    PathBarButtonHover = new ColorGradient(new Color4(89, 89, 89)),
                    PathBarButtonPress = new ColorGradient(new Color4(107, 107, 107)),
                    PathBarButtonOutlineNormal = Color4.Transparent,
                    PathBarButtonOutlineHover = new Color4(107, 107, 109),
                    PathBarButtonOutlinePress = new Color4(143, 179, 215),
                    DirectoryPickerBackground = new Color4(82, 82, 82),
                    DirectoryPickerOutline = new Color4(39, 39, 39),
                    DirectoryPickerItemHoveredBackground = new Color4(127, 127, 127),
                    TabNormal = grayBackground.Lighten(0.2f),
                    TabActive = grayBackground.Lighten(0.05f),
                    SeparatorColor = grayBackground.Lighten(0.3f),
                    SeparatorHighlightColor = grayBackground.Lighten(0.5f),
                    SeparatorDragColor = grayBackground.Lighten(0.7f),
                    KeyboardFocusBorder = new Color4(100, 150, 200),
                    TextSelection = new Color4(133, 133, 133),
                    CloseButtonNormal = grayBackground.Lighten(0.6f),
                    CloseButtonHovered = grayBackground.Lighten(0.8f),
                    CloseButtonPressed = grayBackground.Lighten(1),
                    CloseButtonFocusBorderNormal = Color4.Transparent,
                    CloseButtonFocusBorderHovered = Color4.Red.Lighten(0.6f),
                    ScrollbarBackground = new Color4(51, 51, 51),
                    ScrollbarThumb = new Color4(107, 107, 107),
                    TextCaret = new Color4(204, 204, 204),
                    ZebraColor1 = grayBackground.Lighten(0.2f),
                    ZebraColor2 = grayBackground.Lighten(0.3f),
                    WarningBackground = new Color4(255, 194, 26),
                });
            }
Exemplo n.º 3
0
            public static ColorTheme CreateDarkTheme()
            {
                var grayBackground = new Color4(45, 45, 48);
                var blackText      = new Color4(204, 204, 204);

                return(new ColorTheme {
                    BlackText = blackText,
                    GrayText = blackText.Darken(0.35f),
                    WhiteBackground = Color4.Black.Lighten(0.25f),
                    GrayBackground = new Color4(45, 45, 48),
                    SelectedBackground = new Color4(86, 86, 86),
                    SelectedBorder = new Color4(153, 209, 255),
                    HoveredBackground = new Color4(86, 86, 86).Lighten(0.25f),
                    ControlBorder = new Color4(39, 39, 39),
                    ButtonDefault = new ColorGradient(new Color4(107, 107, 107), new Color4(107, 107, 107)),
                    ButtonHover = new ColorGradient(new Color4(133, 133, 133), new Color4(133, 133, 133)),
                    ButtonPress = new ColorGradient(new Color4(141, 167, 204), new Color4(141, 167, 204)),
                    ButtonDisable = new ColorGradient(new Color4(64, 64, 64), new Color4(64, 64, 64)),
                    ExpandButtonDefault = new ColorGradient(new Color4(107, 107, 107), new Color4(107, 107, 107)),
                    ExpandButtonHover = new ColorGradient(new Color4(133, 133, 133), new Color4(133, 133, 133)),
                    ExpandButtonPress = new ColorGradient(new Color4(141, 167, 204), new Color4(141, 167, 204)),
                    ExpandButtonDisable = new ColorGradient(new Color4(64, 64, 64), new Color4(64, 64, 64)),
                    TabNormal = grayBackground.Lighten(0.1f),
                    TabActive = grayBackground.Lighten(0.05f),
                    SeparatorColor = grayBackground.Lighten(0.3f),
                    KeyboardFocusBorder = new Color4(100, 150, 200),
                    TextSelection = new Color4(133, 133, 133),
                    CloseButtonNormal = grayBackground.Lighten(0.6f),
                    CloseButtonHovered = grayBackground.Lighten(0.8f),
                    CloseButtonPressed = grayBackground.Lighten(1),
                    ScrollbarBackground = new Color4(51, 51, 51),
                    ScrollbarThumb = new Color4(107, 107, 107),
                    TextCaret = new Color4(204, 204, 204),
                    ZebraColor1 = grayBackground.Lighten(0.2f),
                    ZebraColor2 = grayBackground.Lighten(0.3f),
                });
            }
Exemplo n.º 4
0
            public static ColorTheme CreateLightTheme()
            {
                var grayBackground = new Color4(240, 240, 240);

                return(new ColorTheme {
                    BlackText = Color4.Black,
                    GrayText = Color4.Black.Lighten(0.35f),
                    WhiteBackground = Color4.White,
                    GrayBackground = grayBackground,
                    SelectedBackground = new Color4(205, 232, 255),
                    SelectedBorder = new Color4(153, 209, 255),
                    HoveredBackground = new Color4(229, 243, 255),
                    ControlBorder = new Color4(172, 172, 172).Lighten(0.3f),
                    ButtonDefault = new ColorGradient(new Color4(239, 239, 239), new Color4(229, 229, 229)),
                    ButtonHover = new ColorGradient(new Color4(235, 244, 252), new Color4(222, 238, 252)),
                    ButtonPress = new ColorGradient(new Color4(215, 234, 252), new Color4(199, 226, 252)),
                    ButtonDisable = new ColorGradient(new Color4(244, 244, 244), new Color4(244, 244, 244)),
                    ExpandButtonDefault = new ColorGradient(new Color4(107, 107, 107), new Color4(107, 107, 107)),
                    ExpandButtonHover = new ColorGradient(new Color4(133, 133, 133), new Color4(133, 133, 133)),
                    ExpandButtonPress = new ColorGradient(new Color4(141, 167, 204), new Color4(141, 167, 204)),
                    ExpandButtonDisable = new ColorGradient(new Color4(64, 64, 64), new Color4(64, 64, 64)),
                    TabNormal = grayBackground.Darken(0.1f),
                    TabActive = grayBackground.Darken(0.05f),
                    SeparatorColor = grayBackground.Darken(0.3f),
                    KeyboardFocusBorder = new Color4(0, 120, 215),
                    TextSelection = new Color4(200, 230, 255),
                    CloseButtonNormal = grayBackground.Darken(0.6f),
                    CloseButtonHovered = grayBackground.Darken(0.8f),
                    CloseButtonPressed = grayBackground.Darken(1),
                    ScrollbarBackground = new Color4(210, 210, 210),
                    ScrollbarThumb = new Color4(120, 120, 120),
                    TextCaret = Color4.Black,
                    ZebraColor1 = Color4.White,
                    ZebraColor2 = Color4.White.Darken(0.1f),
                });
            }