Problem/Motivation

UIkit loads from jsDelivr by default, so the back office depends on a third-party CDN and the UIkit colors are overridden after the fact.

Steps to reproduce

  • Install a site with UIkit Admin as the administration theme.
  • Load an admin page and check the network requests.
  • UIkit CSS and JS load from a jsDelivr CDN.

Proposed resolution

Compile the UIkit Less sources with the theme's colors into a local CSS file shipped in the theme, ship the UIkit JavaScript and icons next to it, and remove the CDN library and the UIkit source setting. A yarn build script rebuilds the CSS.

Remaining tasks

  • ☑ File an issue
  • ☐ Addition/Change/Update/Fix
  • ☐ Testing to ensure no regression
  • ☐ Automated unit testing coverage
  • ☐ Automated functional testing coverage
  • ☐ UX/UI designer responsibilities
  • ☐ Readability
  • ☐ Accessibility
  • ☐ Performance
  • ☐ Security
  • ☐ Documentation
  • ☐ Code review by maintainers
  • ☐ Full testing and approval
  • ☐ Credit contributors
  • ☐ Review with the product owner
  • ☐ Release notes
  • ☐ Release

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

AI-Generated: Yes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rajab natshah created an issue. See original summary.

rajab natshah’s picture

Status: Active » Fixed

✅ Released in 4.0.0-beta1.

UIkit is compiled into the theme; a webship-js scenario checks that nothing loads from another host.

AI-Generated: Yes

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.