-
Notifications
You must be signed in to change notification settings - Fork 3.4k
CSS Refactor: Minimize global styles, support high contrast mode, new typography feature #1985
Conversation
@return $map-str + '}'; | ||
} | ||
|
||
@function map-to-string($map) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this exactly the same as the above function ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Git rebase mixup, good catch!
After a superficial look, this looks nice. |
Plus CSS cleanup and comments Closes #1989
font-size: 100%; | ||
} | ||
|
||
ul { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this in the typography SASS ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The goal is to provide basic typographic defaults for the framework. Do you mean the list styles? They could be moved back to structure.scss
I suppose, but I thought they were related to typography. Or do you think we shouldn't include global styles for lists?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should keep the typography.scss consistent. Let's move the ul styling to structure.scss.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already done actually. I think I'll have the Typography page done today, and that change is in there. I can even commit it as part of this PR.
Includes:
layout.scss
in Safaritext-rendering
to specific elements concerned with typographyCloses #1442, #1561, #1128, #1989, Refs #1718