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

Set Value from Theme #13

Merged
merged 4 commits into from Mar 14, 2021
Merged

Conversation

katgirl
Copy link
Contributor

@katgirl katgirl commented Jan 8, 2021

Set font-weight and font-family standalone from theme

katgirl and others added 3 commits January 8, 2021 12:16
Set font-weight and font-family standalone from theme
Copy link
Contributor

@denniserdmann denniserdmann left a comment

Choose a reason for hiding this comment

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

Added color option, think about getting rid of fallbacks, see below

@if $font-weight {
font-weight: $font-weight;
} @else {
font-weight: var(--headings__font-weight);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think about removing the fallback, as we already have a fallback in line 116ff. What do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, I hadn't seen it at all, that's OK if that one falls on there.

@if $font-family {
font-family: $font-family;
} @else {
font-family: var(--headings__font-family);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think about removing the fallback, as we already have a fallback in line 116ff. What do you think?

@denniserdmann denniserdmann merged commit 0961568 into erdmannfreunde:develop Mar 14, 2021
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.

None yet

2 participants