-
Notifications
You must be signed in to change notification settings - Fork 404
UIKit Refactor Part 3: Bug Fixes + ITCSS Folder Reorganization #934
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
UIKit Refactor Part 3: Bug Fixes + ITCSS Folder Reorganization #934
Conversation
…ized based off of specificity
…et imported in the correct ITCSS order
…uch more performantly using CSS transforms; update existing JS logic to clean up inlined CSS styles when closing PL modal / code viewer panel
…uikit-refactor--reorganize-sass-imports-plus-bug-fixes
I have yet to look formally at this but wanted to make mention that the CSS organization has always been the responsibility of @bradfrost and I want to ensure he is comfortable with what is changing. |
Also I think it's high time we ignore sass scss within https://github.com/pattern-lab/patternlab-node/blob/dev/.prettierignore My interest in prettier within the monorepo begins and ends with js |
Yeah, we just have Prettier and Eslint targeting our JS files in Bolt’s monorepo (and enforce linting / formatting for .scss files via our Stylelint config). That’d probably be a better solution here. |
👋Heya @sghoweri @bmuenzenmeyer, just ducking in here to say this is on my radar to take a look at; I just need to find a little time to do it. Looks exciting! |
#910 already exists for this. A good idea then, forgotten, a good idea now 🤷♂️ |
Looks good overall @sghoweri thank you so much! Any idea why there are files with what looks to be cache-busting names in the output? https://github.com/pattern-lab/patternlab-node/pull/934/files#diff-78b520855132cfcf67e87053bd35070e |
@bmuenzenmeyer I’m pretty sure that’s related to the Basically when that option is enabled, the No changes to CSS = same hashed filename. Not all that different than cache busting in Webpack with dynamically generates bundles that get asynchronously / conditionally imported (aka dynamic imports) Thoughts? |
…or--reorganize-sass-imports-plus-bug-fixes UIKit Refactor Part 3: Bug Fixes + ITCSS Folder Reorganization
Fixes the ordering of the utilities, vendor and theme layers to utilities have the highest specificity, 3rd party vendor styles can get overwritten by components if needed, and theming-level styles build off of the component base styles established.
Fixes the typeahead dropdown styles (broken on
dev
currently)Updates the
ish
controls to vertically center in the header (which, if the text in the top-level nav items wraps to more than one line, looks broken otherwise)Fixes a bunch of bugs with PL's modal / code panel on
dev
-- besides now opening and closing properly, it now animates primarily based off of CSS transforms so the panel itself animates with a lot less Jank! #jankFree^ should address the code panel bugs @bmuenzenmeyer mentioned here