Skip to content

Cant set the theme #41

@tolgayilmaz86

Description

@tolgayilmaz86

I was trying to make Dark mode by default (no switch enabled, only one theme)
but

set this in App.axaml

...RequestedThemeVariant="Dark">

  <Application.Styles>
    <themes:NeumorphismTheme BaseTheme="Dark" PrimaryColor="Purple" SecondaryColor="Lime" />
  </Application.Styles>

also tried different thigs like setting

Application.Current.SetValue(ThemeVariantScope.ActualThemeVariantProperty, ThemeVariant.Dark);

in different places.
None worked out.
In the design view I can see dark theme for my top menu bar for example but not for my mainwindow in any way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions