Skip to content

Conversation

@oidacra
Copy link
Member

@oidacra oidacra commented Jan 29, 2026

Summary

Remove unused PrismJS Okaidia theme CSS dependency from the dotCMS UI build configuration.

Changes Made

Frontend

  • Removed prismjs/themes/prism-okaidia.css from Angular build styles configuration in core-web/apps/dotcms-ui/project.json:64
  • Clean up unused CSS dependency to reduce bundle size

Configuration

  • Updated Nx project configuration to remove obsolete style import

Technical Details

The Okaidia theme CSS from PrismJS was included in the global styles array but is no longer used in the application. This change removes the unused dependency reference from the build configuration, which will
result in a slightly smaller production bundle and cleaner build output.

Breaking Changes

None

Testing

  • Unit tests added/updated - N/A (configuration-only change)
  • Integration tests added/updated - N/A
  • Manual testing performed - Verified UI builds successfully and no visual regressions
  • E2E tests added/updated - N/A

Related Issues

Closes #33941

This PR fixes: #33941

@oidacra oidacra added this pull request to the merge queue Jan 29, 2026
Merged via the queue into main with commit 2446f2c Jan 29, 2026
18 checks passed
@oidacra oidacra deleted the 33941-remove-okaidia-css branch January 29, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

4 participants