mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
UWP: Dark theme support
This commit is contained in:
parent
345238a352
commit
7f6f58fac3
12 changed files with 31 additions and 59 deletions
|
@ -64,20 +64,18 @@ private:
|
|||
|
||||
struct ConsoleLog : ConsoleLogT<ConsoleLog> {
|
||||
public:
|
||||
ConsoleLog(Windows::UI::Color dot, Windows::UI::Color bg, hstring b,
|
||||
hstring s)
|
||||
: mSource(s), mBody(b) {
|
||||
mDotColor = UI::Xaml::Media::SolidColorBrush(dot);
|
||||
mBgColor = UI::Xaml::Media::SolidColorBrush(bg);
|
||||
ConsoleLog(Windows::UI::Color glyph, hstring g, hstring b, hstring s)
|
||||
: mGlyph(g), mSource(s), mBody(b) {
|
||||
mGlyphColor = UI::Xaml::Media::SolidColorBrush(glyph);
|
||||
};
|
||||
SolidColorBrush DotColor() { return mDotColor; };
|
||||
SolidColorBrush BgColor() { return mBgColor; };
|
||||
SolidColorBrush GlyphColor() { return mGlyphColor; };
|
||||
hstring Glyph() { return mGlyph; };
|
||||
hstring Source() { return mSource; };
|
||||
hstring Body() { return mBody; };
|
||||
|
||||
private:
|
||||
SolidColorBrush mDotColor;
|
||||
SolidColorBrush mBgColor;
|
||||
SolidColorBrush mGlyphColor;
|
||||
hstring mGlyph;
|
||||
hstring mSource;
|
||||
hstring mBody;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue