question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Set default values for Mica fallback colors

See original GitHub issue

WinUI designers have said that Background="{ThemeResource SolidBackgroundFillColorBaseBrush}" is the recommended fallback background for when Mica isn’t available. We should default the fallback colors in WinUIEx to the equivalent values so everyone gets the recommended fallback colors by default.

Looking at the definition for that resource in VS in Generic.xaml, the value for Dark is 0x202020 and Light is 0xF3F3F3.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dotMortencommented, Jul 12, 2022

It’s already in this v1.8.0 release 😎

0reactions
mikebattistacommented, Jul 12, 2022

Awesome!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mica material - Windows apps
Mica is an opaque, dynamic material that incorporates theme and desktop wallpaper to paint the background of long-lived windows such as apps ...
Read more >
Windows Terminal Appearance Profile Settings
Default value : "Campbell". Important. Specifying a pair of light and dark color schemes is only available in Windows Terminal Preview.
Read more >
CSS Basics: Using Fallback Colors
For one thing, the default background-color is transparent , so without setting any background the background of an element is probably ...
Read more >
Inherit a CSS variable, or fallback to default [duplicate]
Inherit a CSS variable, or fallback to default [duplicate]​​ In the code below, green is expected, but the line --background-color: var(-- ...
Read more >
Fluent UI for VSCode
Optiona: Go to settings and adjust the colors (this can be done at any time) ... If you don't, the theme will fallback...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found