Skip to content

fix(tailwind): do not manipulate img in dark mode#630

Open
ssiyad wants to merge 1 commit into
mainfrom
fix/dark_mode/img
Open

fix(tailwind): do not manipulate img in dark mode#630
ssiyad wants to merge 1 commit into
mainfrom
fix/dark_mode/img

Conversation

@ssiyad
Copy link
Copy Markdown
Member

@ssiyad ssiyad commented Apr 21, 2026

Do not change image brightness and contrast in dark mode.

Summary by CodeRabbit

Release Notes

  • Style
    • Adjusted dark mode image styling by removing the brightness and contrast filter from images displayed in dark theme.

Do not change image brightness and contrast in dark mode.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 21, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 20114e7c-05e0-4cc8-92fc-52fb0db2aecb

📥 Commits

Reviewing files that changed from the base of the PR and between 7fcfbb6 and 6b8ca56.

📒 Files selected for processing (1)
  • tailwind/plugin.js
💤 Files with no reviewable changes (1)
  • tailwind/plugin.js

Walkthrough

The tailwind/plugin.js file was modified to remove a componentStyles rule that applied filter effects to images within dark theme contexts. Specifically, the deleted rule targeted [data-theme='dark'] img elements and applied brightness(.8) and contrast(1.2) filters. The removal does not alter any exported or public interfaces. The change consists of three lines deleted with no additions.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: removing image manipulation in dark mode, which aligns with the code changes that deleted the dark mode image filter rule.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant