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

move dark-mode styling into dashboard.css #278

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

stklcode
Copy link
Contributor

Dark mode styling has been added inline using the "doing_dark_mode" hook which is no longer called in current plugin versions.

Include the CSS definition directly into dashboard.css and deprecate the hook for adding inline styles.


resolves #264

However: This does not apply to all "dark-mode" plugins and not even to all themes, because the icon has two different shades of gray and is not affected by most stylings that assume Dashicons are used here. We might prefer a different approach like #277

Dark mode styling has been added inline using the "doing_dark_mode" hook
which is no longer called in current plugin versions.

Include the CSS definition directly into dashboard.css and deprecate the
hook for adding inline styles.
@sonarcloud
Copy link

sonarcloud bot commented Nov 22, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@stklcode stklcode added the ui/ux label Nov 23, 2022
Copy link
Member

@pfefferle pfefferle left a comment

Choose a reason for hiding this comment

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

LGTM

@sonarcloud
Copy link

sonarcloud bot commented Jan 17, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Zodiac1978 Zodiac1978 merged commit ecb7911 into develop Oct 31, 2023
@Zodiac1978 Zodiac1978 deleted the feature/264-darkmode-css branch October 31, 2023 14:51
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.

Styling for dark mode plugin that is a Markdown editor now
3 participants