MudBlazor/MudBlazor

Utility classes - Provide stylesheet without utility css classes

オープン

#4,852 opened on 2022/07/08

 (7 件のコメント) (6 件のリアクション) (0 人の担当者)C# (1,631 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (10,394 個のスター)
PR merge metrics
 (平均マージ 6d 6h) (30d で 108 merged PRs)

説明

Feature request type

Other

Component name

No response

Is your feature request related to a problem?

MudBlazor's utility CSS classes interfere with other utility frameworks, specifically tailwind.

Describe the solution you'd like

In addition to <link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet" /> provide another one such as <link href="_content/MudBlazor/MudBlazor.core.min.css" rel="stylesheet" /> where @import 'utilities'; is omitted.

Have you seen this feature anywhere else?

No response

Describe alternatives you've considered

For tailwind, prefixing can be used but is more verbose and unnecessary if the overriding css from mudblazor can be excluded. Likewise, tailwind's important selector setting cannot be used since mudblazor marks utility classes with !important.

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

コントリビューターガイド