-
Notifications
You must be signed in to change notification settings - Fork 57
Update toolbar, block and html view styling #40
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
Conversation
hypest
left a comment
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.
Had a first pass @maxme , left a comment.
block-management/fonts.android.scss
Outdated
| /** @format */ | ||
|
|
||
| .block_code { | ||
| %monospace-font { |
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 wonder, are there any plans to expand this class with more properties? If not, can we just introduce a constant (see variables.scss for example) instead?
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.
Updated in b402c73
| "config": { | ||
| "jsfiles": "index.js app/*.js app/**/*.js block-management/*.js block-management/**/*.js store/*.js store/**/*.js", | ||
| "scssfiles": "app/*.scss app/**/*.scss block-management/*.scss block-management/**/*.scss store/*.scss store/**/*.scss" | ||
| "jsfiles": "index.js src/*.js src/**/*.js", |
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.
Moving mobile-related code to src/ is worth it.
|
I think there's an issue on the iOS app with the toolbar when the block is selected: Does that happen on your side @maxme ? |
|
Ouch |
sass-transformer.js
Outdated
|
|
||
| // TODO: need to find a way to pass the include paths and the default asset files via some config | ||
| const autoImportIncludePaths = [ 'gutenberg/edit-post/assets/stylesheets' ]; | ||
| const autoImportIncludePaths = [ 'src', 'gutenberg/edit-post/assets/stylesheets' ]; |
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 need to add src seems weird and I feel it's an issue withe the sass-transformer. I assume you've added this to enable the @import '../variables.scss' statement, right?
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.
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.
Good job, thanks
Very disappointed about that... There are some simple solutions to have a generic button-feeling for both platform, like that: Updated in 69e6717 |
hypest
left a comment
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.
🛳️it!
Add placeholder properties for iOS AztecView.

This PR changes:
fonts.ios.scss,fonts.android.scssthat I think will be useful later to factorize some styles.