mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-11-29 18:49:08 +08:00
!2854 feat(#I5AO8I): add link-color css on LinkButton
* refactor: 使用 link-color 代替 text-color
This commit is contained in:
parent
45e3b2f200
commit
3abf0ed5f2
@ -50,7 +50,7 @@ public partial class LinkButton
|
||||
private string? ClassString => CssBuilder.Default("link-button")
|
||||
.AddClass("is-vertical", IsVertical)
|
||||
.AddClass($"btn-outline-{Color.ToDescriptionString()}", IsOutline)
|
||||
.AddClass($"text-{Color.ToDescriptionString()}", Color != Color.None && !IsOutline && !IsDisabled)
|
||||
.AddClass($"link-{Color.ToDescriptionString()}", Color != Color.None && !IsOutline && !IsDisabled)
|
||||
.AddClass($"btn-{Size.ToDescriptionString()}", Size != Size.None)
|
||||
.AddClass("btn-block", IsBlock)
|
||||
.AddClass("is-round", ButtonStyle == ButtonStyle.Round)
|
||||
|
Loading…
Reference in New Issue
Block a user