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

add scaffolding to compound styles #10

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

add scaffolding to compound styles #10

wants to merge 4 commits into from

Conversation

alysiawu
Copy link
Contributor

Copy link

@alexandfox alexandfox left a 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?

@alysiawu
Copy link
Contributor Author

Yes, here is the PR in labs repo, still a draft, but can open up in a bit
https://github.com/compound-finance/compound-labs/pull/42

Copy link

@torreyatcitty torreyatcitty left a 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;
}

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 {

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 {

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'] {

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;
}

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;
}

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;
}

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.

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.

3 participants