Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text color of "Explore All Apps" button changes on mobile view, rendering it unreadable. #14989

Open
ryavee opened this issue May 12, 2024 · 5 comments
Assignees
Labels
🐛 bug Something isn't working Low priority Created by Linear-GitHub Sync

Comments

@ryavee
Copy link

ryavee commented May 12, 2024

Issue Summary

The text color of the "Explore All Apps" button changes on mobile view, making the text almost invisible.

Steps to Reproduce

  1. Open the website on a mobile device.
  2. Navigate to the home page.
  3. Observe the "Explore All Apps" button.

Actual Results

The text color of the "Explore All Apps" button changes on mobile view, making it almost invisible.

Expected Results

The text color of the "Explore All Apps" button should remain consistent across all views, ensuring readability.

Evidence

https://github.com/calcom/cal.com/assets/46756880/343841b1-9dc4-44da-b1d8-12a61f2b2283
screenshot

Copy link

dosubot bot commented May 12, 2024

To address the readability issue of the "Explore All Apps" button on mobile devices, it's likely due to CSS styles that need adjustment for mobile views. Here's a focused approach to ensure the button's text remains visible and consistent across all devices:

  1. Adjust Text Color for High Contrast: Use CSS variables like --cal-text-inverted for white text on a dark background or --cal-text-emphasis for dark text on a light background to ensure the text stands out against the button's background.

  2. Responsive Design with Media Queries: Apply media queries to target mobile devices specifically, adjusting styles as necessary to maintain readability and appearance on smaller screens.

  3. Consistent Styling Across Themes: If your site supports themes (e.g., light and dark modes), ensure the button's style is consistent across them. You might need to adjust the button's text and background colors based on the active theme.

Here's an example CSS snippet that demonstrates these principles:

.explore-all-apps-btn {
  background-color: var(--cal-brand); /* Adjust background color */
  color: var(--cal-text-inverted); /* White text for contrast */
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .explore-all-apps-btn {
    /* Mobile-specific adjustments */
  }
}

.dark .explore-all-apps-btn {
  background-color: var(--cal-bg-inverted); /* Dark mode background */
  color: var(--cal-text-emphasis); /* Dark mode text color */
}

This approach ensures that the button is easily readable on all devices and under different theme settings. Remember to check the contrast of your chosen colors to meet accessibility standards, ensuring that all users can comfortably read the button text under any condition.

Details

Sources


About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.

@dosubot dosubot bot added ui area: UI, frontend, button, form, input 🐛 bug Something isn't working labels May 12, 2024
@Sarthakagg31
Copy link

@dosu where is the file which contains the homepage

@utkershrajvenshi
Copy link
Contributor

@ryavee
Copy link
Author

ryavee commented May 12, 2024

@utkershrajvenshi

Avoid the above links .
here is the screenshots!
screenshot (1)

@ciaranha ciaranha added Low priority Created by Linear-GitHub Sync and removed ui area: UI, frontend, button, form, input labels May 13, 2024
@qkrwoghd04
Copy link

now i am working on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working Low priority Created by Linear-GitHub Sync
Projects
None yet
Development

No branches or pull requests

6 participants