Comments (6)
Itβs already in this v1.8.0 release
from winuiex.
WinUI designers have said that Background="{ThemeResource SolidBackgroundFillColorBaseBrush}" is the recommended fallback background for when Mica isn't available
There's no way for the Mica class to default to this, since it can't get the reference to the resource. You'll have to set this from app logic. Once/if microsoft/microsoft-ui-xaml#7305 is fixed, you can just set it the same way with a {ThemeResource}
value.
from winuiex.
We know the hex values for the colors. Can't we set those in the library so all developers don't need to discover them and set them themselves?
from winuiex.
We don't know the hex values - that is both system and app dependent, since that value could have been overwritten in application styles or system themes, or even on the fly in an app that offer theme customization.
from winuiex.
We'd like to ship a Template Studio update late July/early August. Do you think you'll have an updated release with this by then?
from winuiex.
Awesome!
from winuiex.
Related Issues (20)
- Default theme cannot be switched
- Refined Logo HOT 4
- Missing MIT license in NuGet package HOT 1
- The `Backdrop` is cleared when the window cancel close HOT 1
- "IsMinimizable = false" doesn't work when "ExtendsContentIntoTitleBar = true" HOT 1
- Switching from 1.5.0 to 1.6.0 (or later) causes exception on app startup HOT 4
- MaxWidth and MaxHeight and Resizable HOT 7
- Is there any chance to add Closing events for the window class in the future? HOT 2
- Add support for Mica Alt material
- Native SplashScreen HOT 2
- System Tray support HOT 1
- Backdrop Doesn't work HOT 2
- Bug: `DarkTintOpacity` breaks mica backdrop on dark mode HOT 4
- Unable to upgrade to WinUIEx 2.0 with .Net 7.0 in Maui project HOT 1
- WinUIEx Splash screen throws System.AccessViolationException at startup HOT 1
- In unpackaged apps window size and position does't persist HOT 1
- Unexpected app activation behaviour for WebAuthenticator when referencing NuGet package HOT 3
- MaxWidth inconsistent HOT 1
- does not restore window size and pos after OS restart. HOT 20
- Pass theme to the ShowMessageDialogAsync?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winuiex.