UI: Devfund-donation-box Web Assets v2 upgrade #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "ui/web-assets-v2-upgrade"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request upgrades Git submodule Web Assets to v2, resolves post-upgrade issues, and makes the necessary project-specific changes. It addresses some layout inconsistencies, refactors and simplifies project-level styling, and revises the component build pipeline as well .
Web Assets v2 brings UI fixes, improvements, and new development features to the platform as detailed on the Web Assets v2 guidelines and notes wiki page.
Screenshots:
WIP: Devfund-donation-box Web Assets v2 upgradeto UI: Devfund-donation-box Web Assets v2 upgrade@ -0,0 +2,4 @@
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org
Sure about this? Their LICENSE.txt file shows 2016 and the current link, no need to change it I guess? https://github.com/rsms/inter/blob/master/LICENSE.txt#L1
Thanks for spotting this. The current Inter open font license is what was bundled with the font package as downloaded from Google Fonts. If you think we should rather switch to using the variant (and license) from the repository, let me know. (I think the actual font releases might be the same, as Google hosted open fonts are usually kept up to date – so I think it should be ok as is.)
@ -272,0 +261,4 @@
cursor: pointer
// TODO: move to Web Assets
.fw-title
Isn't that in https://projects.blender.org/infrastructure/web-assets/src/branch/v2/src/styles/bootstrap-5/dist/css/bootstrap-utilities.css#L1274 ?
It is, but Web Assets also applies
font-variation-settings
rules on top, to make font-weight settings consistently work with variable fonts as well. (The+fw-title
mixin should be added – combiningfont-variation-settings
andfont-weight
rules – to Web Assets similarily to+fw-bold
, that already exists.)@ -167,2 +128,2 @@
.rounded-lg
border-radius: var(--border-radius-lg)
// TODO: add style utility to Web Assets
.rounded
This is also in deprecated
https://projects.blender.org/infrastructure/web-assets/src/branch/v2/src/styles/bootstrap-deprecated/utilities/_borders.scss#L33
This rule is currently present both in the deprecated Boostrap partials, and also in the new BS 5 utilities partials. It's because we want to keep this utility once deprecated styles were removed. The latter weren't modified, but renamed in the v2 upgrade: that's why the duplication. *The new rules cascade.
Thanks!