Skip to content

feat: add filled base-icon properties #168

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

Merged
merged 2 commits into from
Nov 24, 2022
Merged

Conversation

nmerget
Copy link
Member

@nmerget nmerget commented Nov 24, 2022

No description provided.

@github-actions
Copy link
Contributor

🔭🐙🐈 Test this branch here: https://db-ui.github.io/base/review/feat-base-icon-filled

@nmerget nmerget merged commit 7e0cd44 into dbux-3 Nov 24, 2022
@nmerget nmerget deleted the feat-base-icon-filled branch November 24, 2022 10:09
Comment on lines +14 to +18
@if $defaultFontProperties {
--icon-font-family: "#{"icons-" + $size + "-" + $style}",
"missing-icons";
--icon-font-size: #{to-rem($pxValue: $size)};
}
Copy link
Member

@mfranzke mfranzke Nov 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the idea making this optional, but in that case we could as well define it as a fallback to the CSS Variables reference on the following code lines, which would be a little simpler and prevents unexpected results (like e.g. not necessarily documenting that new parameter):
https://github.com/db-ui/base/blob/cf16a3bd1e2078e5bf8209dbcc44884bc112c5b2/scss/icon/_icons.helpers.scss#L38L40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants