🚧 General components review

This commit is contained in:
Manuel Cillero 2023-11-13 17:23:58 +01:00
parent 905b4b1cba
commit 3d2e750577
25 changed files with 1557 additions and 304 deletions

View file

@ -124,16 +124,16 @@ impl ThemeTrait for Bootsier {
}
_ => {}
};
match a.anchor_type() {
match a.button_type() {
ButtonType::Link => {
a.alter_classes(
ClassesOp::Replace(a.anchor_type().to_string()),
ClassesOp::Replace(a.button_type().to_string()),
"btn btn-link",
);
}
ButtonType::Primary => {
a.alter_classes(
ClassesOp::Replace(a.anchor_type().to_string()),
ClassesOp::Replace(a.button_type().to_string()),
"btn btn-primary",
);
}

View file

@ -3,5 +3,11 @@
/* Heading component */
.pt-heading__subtitle {
margin-top: calc(-1 * var(--pt-gap-0-5));
margin-top: calc(-1 * var(--pt-gap-0-35));
}
/* Button component */
.btn-link {
text-decoration: none;
}