Skip to content

Conversation

@Talasudeepk
Copy link

@Talasudeepk Talasudeepk commented Nov 14, 2025

… contrast, and other visual effects in filter.md file

Pull Request

PR Checklist

  • I have tested my changes locally.
  • I have run pre-commit run --all-files locally.
  • I have updated the documentation if applicable.
  • I have reviewed my code for any potential issues.

PR Type

  • Bugfix
  • Feature
  • Style update
  • Refactor
  • Docs
  • Other (please describe)

Current behavior

Currently, the project does not include examples demonstrating Tailwind CSS filter and visual effect utilities such as blur, brightness, grayscale, contrast, or combined effects.
This makes it difficult for contributors or users to understand how to apply these utilities within the site.

Fixes: #839
Part of: #821

New behavior

This PR adds a new Markdown page filter.md that showcases practical examples of Tailwind CSS filter and effect classes.
The page includes demonstrations of:

Blur (blur-sm)

Brightness (brightness-75)

Grayscale (grayscale)

Contrast (contrast-150)

Multiple effects combined (e.g., grayscale blur-sm brightness-125)

Screenshots (if applicable)

Additional context

The filter examples are implemented using HTML inside Markdown, which is fully supported by Jekyll.

No changes were made to layouts, core styles, or assets.

This PR adds only documentation/demonstration content and does not impact existing pages.

… contrast, and other visual effects in filter.md file
@github-actions
Copy link
Contributor

Thanks for your first pull request! We appreciate your contribution.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @Talasudeepk, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request enhances the project's documentation by adding a dedicated page, filter.md, that showcases the application of various Tailwind CSS image filters and visual effects. The new page provides clear, practical examples for utilities like blur, brightness, grayscale, and contrast, as well as their combinations, making it easier for developers to understand and implement these visual enhancements. Additionally, the Tailwind CSS configuration has been updated to support these new filter capabilities.

Highlights

  • New Documentation Page: Introduced a new Markdown page, filter.md, dedicated to showcasing Tailwind CSS image filters and visual effects.
  • Practical Examples: Provided practical examples for applying blur, brightness, grayscale, contrast, and combined visual effects using Tailwind utility classes.
  • Tailwind Configuration Update: Updated tailwind.config.js to include the tailwindcss-filters plugin and extend content scanning to Markdown files.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@deepsource-io
Copy link

deepsource-io bot commented Nov 14, 2025

Here's the code health analysis summary for commits 2925672..f86fc7a. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Python LogoPython✅ SuccessView Check ↗
DeepSource Secrets LogoSecrets✅ SuccessView Check ↗
DeepSource Shell LogoShell✅ SuccessView Check ↗
DeepSource Docker LogoDocker✅ SuccessView Check ↗
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new page to demonstrate Tailwind CSS image filters and updates the configuration to support it. The changes are a good addition, but there are a few critical issues that need to be addressed. The new filter.md file has its Jekyll front matter incorrectly placed, which will cause rendering issues. Additionally, several <img> tags are missing alt attributes, which is an accessibility concern. In tailwind.config.js, the newly added plugins are not declared as dependencies in package.json, which will break the build in a clean environment. I've provided detailed comments and suggestions to resolve these issues.

Comment on lines +1 to +21
## Image Filters Demo

### Blur
<img src="/images/sample.jpg" class="blur-sm" />

### Brightness
<img src="/images/sample.jpg" class="brightness-75" />

### Grayscale
<img src="/images/sample.jpg" class="grayscale" />

### Contrast
<img src="/images/sample.jpg" class="contrast-150" />

### Multiple Effects
<img src="/images/sample.jpg" class="grayscale blur-sm brightness-125" />

---
layout: default
title: Image Filters
---
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

This file has a couple of issues that should be addressed:

  1. Jekyll Front Matter Placement (Critical): The front matter block (lines 18-21) must be at the very beginning of the file for Jekyll to process it correctly. Any content before it will be rendered outside the specified layout.
  2. Image Accessibility (High): The <img> tags on lines 4, 7, 10, 13, and 16 are missing alt attributes. This is important for accessibility, as it provides alternative text for screen readers and is displayed if an image fails to load.

The suggested code below moves the front matter to the top and adds descriptive alt attributes to the images.

---
layout: default
title: Image Filters
---

## Image Filters Demo

### Blur
<img src="/images/sample.jpg" class="blur-sm" alt="A sample image with a blur filter applied." />

### Brightness
<img src="/images/sample.jpg" class="brightness-75" alt="A sample image with a brightness filter applied." />

### Grayscale
<img src="/images/sample.jpg" class="grayscale" alt="A sample image with a grayscale filter applied." />

### Contrast
<img src="/images/sample.jpg" class="contrast-150" alt="A sample image with a contrast filter applied." />

### Multiple Effects
<img src="/images/sample.jpg" class="grayscale blur-sm brightness-125" alt="A sample image with multiple filters applied." />

---

Comment on lines +5 to +6
require('@tailwindcss/typography'),
require('tailwindcss-filters'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

There are a couple of issues here:

  1. Missing Dependencies (Critical): The new plugins (@tailwindcss/typography and tailwindcss-filters) are used here but are not declared in package.json. This will cause the build to fail in a clean environment. Please add them to your devDependencies by running npm install --save-dev @tailwindcss/typography tailwindcss-filters.
  2. Trailing Whitespace (Medium): There is a trailing space on line 6 which should be removed for code cleanliness.
Suggested change
require('@tailwindcss/typography'),
require('tailwindcss-filters'),
require('@tailwindcss/typography'),
require('tailwindcss-filters'),

@BaseMax
Copy link
Member

BaseMax commented Nov 14, 2025

It doesn't look like a real contribution. If you want it, you have to improve it.

The best.

@Talasudeepk
Copy link
Author

Then what i will improve please suggest me so that i will make changes

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Filters and Effects: Use classes for blur, brightness, grayscale, contrast, and other visual effects.

3 participants