-
Notifications
You must be signed in to change notification settings - Fork 0
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
add scaffolding to compound styles #10
base: main
Are you sure you want to change the base?
Conversation
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.
glad to see this effort underway!
is it possible to share this alongside prs in the frontend repos that use compound components, so we can see / confirm that there are no visual / UI changes when using this new commit hash?
Yes, here is the PR in labs repo, still a draft, but can open up in a bit |
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.
Made some comments
margin: 0 auto; | ||
padding-right: $column-gutter; | ||
padding-left: $column-gutter; | ||
} |
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.
We definitely should not take this class, it's been super annoying to use so let's not migrate this over.
position: relative; | ||
max-width: 66rem; | ||
} | ||
.container-large { |
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.
Do we currently have references to these container names already in webb3
? I would be scared this might break something if we already use these class names.
max-width: $device-lg; | ||
} | ||
|
||
.row { |
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.
Again would want to check this class name for usage in webb3 to make sure we don't screw up any existing alignments.
} | ||
} | ||
|
||
[class*='col'] { |
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.
let's do a small adjustment to match only on col-
html, | ||
body { | ||
font-size: 14px; | ||
} |
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.
we probably don't want this font size to propagate lest we break webb3? Also font changes like this should probably stay in typography.
html, | ||
body { | ||
font-size: 15px; | ||
} |
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.
dittO: we probably don't want this font size to propagate lest we break webb3? Also font changes like this should probably stay in typography.
html, | ||
body { | ||
font-size: 16px; | ||
} |
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.
ditt: we probably don't want this font size to propagate lest we break webb3? Also font changes like this should probably stay in typography.
Plan to decouple compound component from labs repo
https://docs.google.com/document/d/1ojRVLUZxHk_EZXSDfAdyYVymkNntk3JXmcevIn4GL6c/edit