-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
change CSS namespace to bp3
#2441
Conversation
change CSS namespace to `bp3`Preview: documentation | landing | table |
@@ -4,8 +4,7 @@ | |||
@import "generated/icon-variables"; | |||
@import "generated/icon-map"; | |||
|
|||
$pt-namespace: "pt" !default; | |||
$ns: $pt-namespace; | |||
$ns: "bp3" !default; |
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.
can we not import that from core? how does it work for other packages that contain CSS?
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.
❌ other way around... core
depends on icons
!
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.
oh right, I forget. is that tentatively changing to icons
depends on core
with tree-shaked SVG icons?
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.
nope no such plans. still core > icons
add _reset.scss for limited global stylesPreview: documentation | landing | table |
} | ||
|
||
strong { | ||
font-weight: 600; |
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.
👌 thanks
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.
What a time to be alive
changing the CSS namespace prevents conflicts between Blueprint 1.x and 3.x elements.
add
_reset.scss
file for limited global resets:body
,p
,strong
,small
TODO
<p>
tags<h4>
tags inCallout
,Dialog
,NIS
Classes.HEADING instead of custom classes #2443, refactor NonIdealState: fewer classes, simple styles #2445<strong>
font weight to 600 (medium)