Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LMBQ-334: Adding font-awesome-icon-free mixin #116

Merged
merged 4 commits into from
Jun 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Lombiq.BaseTheme/Assets/Styles/abstracts/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,13 @@
}
}

/// Apply it to <button> or <input type="button"> elements to eliminate the browser default styles.
@mixin reset-button {
all: initial;
font: inherit;
color: inherit;
}

@mixin padding-gutter($vertical-multiplier: $default-vertical-multiplier) {
@include media-breakpoint-only(xs) {
padding: calc(var(--gutter-x-small) * #{$vertical-multiplier}) var(--gutter-x-small);
Expand Down Expand Up @@ -323,3 +330,9 @@
@mixin gap-gutter($multiplier: 1) {
@include apply-gutter("gap", $multiplier);
}

@mixin font-awesome-icon-free($unicode) {
font-family: "Font Awesome 6 Free", serif;
font-weight: 900;
content: $unicode;
}