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

change CSS namespace to bp3 #2441

Merged
merged 3 commits into from
May 7, 2018
Merged

change CSS namespace to bp3 #2441

merged 3 commits into from
May 7, 2018

Conversation

giladgray
Copy link
Contributor

@giladgray giladgray commented May 1, 2018

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

@blueprint-bot
Copy link

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;
Copy link
Contributor

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?

Copy link
Contributor Author

@giladgray giladgray May 1, 2018

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!

Copy link
Contributor

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?

Copy link
Contributor Author

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

@blueprint-bot
Copy link

add _reset.scss for limited global styles

Preview: documentation | landing | table

}

strong {
font-weight: 600;
Copy link
Contributor

Choose a reason for hiding this comment

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

👌 thanks

Copy link
Contributor

@themadcreator themadcreator left a 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

@giladgray giladgray merged commit 62ef8a0 into develop May 7, 2018
@giladgray giladgray deleted the gg/bp3 branch May 7, 2018 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants