Skip to content

Conversation

@pandafy
Copy link
Member

@pandafy pandafy commented Oct 15, 2025

Checklist

  • I have read the OpenWISP Contributing Guidelines.
  • I have manually tested the changes proposed in this pull request.
  • I have written new test cases for new code and/or updated existing tests for changes to existing code.
  • I have updated the documentation.

Reference to Existing Issue

Closes #487

@coveralls
Copy link

coveralls commented Oct 15, 2025

Coverage Status

coverage: 97.365%. remained the same
when pulling 5aa3818 on issues/487-theme-color-variables
into 79311f3 on master.

--ow-overlay-gray-70: rgba(51, 51, 51, 0.7);

/* White Overlay */
--ow-overlay-white-75: rgba(255, 255, 255, 0.75);
Copy link
Member

Choose a reason for hiding this comment

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

What about using the term "light"?

Suggested change
--ow-overlay-white-75: rgba(255, 255, 255, 0.75);
--ow-overlay-light-75: rgba(255, 255, 255, 0.75);

--ow-color-login-bg: #f4f7f6;
--ow-color-scrollbar-track: #f1f1f1;

/* Overlays (Black with opacity) */
Copy link
Member

Choose a reason for hiding this comment

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

What about using the term "dark"?

Suggested change
/* Overlays (Black with opacity) */
/* Overlays (Dark with opacity) */

/* Success/Positive */
--ow-color-success: #498b26;

/* Gray Scale Spectrum */
Copy link
Member

Choose a reason for hiding this comment

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

In theory these could change from gray/black to other colors, so what about using some other term, like foreground (abbreviated could be fg) or anything else that works well as common denominator?

@pandafy pandafy force-pushed the issues/487-theme-color-variables branch 2 times, most recently from c9d7d3f to 20acaf6 Compare October 15, 2025 20:09
@pandafy pandafy moved this from Backlog to Ready for review/testing in 25.09 Release Oct 15, 2025
@pandafy pandafy moved this from To do (general) to Needs review in OpenWISP Contributor's Board Oct 15, 2025
@pandafy pandafy force-pushed the issues/487-theme-color-variables branch from 20acaf6 to bd7a154 Compare October 15, 2025 21:26
@pandafy pandafy force-pushed the issues/487-theme-color-variables branch from bd7a154 to 5aa3818 Compare October 16, 2025 10:56
.auto-filter-choices .select2-results__option--highlighted {
background: #ffe5e5 !important;
color: #ba2121 !important;
color: var(--ow-selected-filter-option-text) !important;
Copy link
Member Author

Choose a reason for hiding this comment

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

This was using #ba2121 which is used for text in errors.

I have updated the style of the selected option in autocomplete filter to make it similar to other filter

Image

Existing filters:

Image

Copy link
Member

Choose a reason for hiding this comment

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

I think is fine, thanks!

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

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[chores:ui] Move theme colors to variables

4 participants