Skip to content

Commit

Permalink
Force the text fill for number inputs as white instead of using a var…
Browse files Browse the repository at this point in the history
…iable, Finally fixes #5
  • Loading branch information
ronilaukkarinen committed Jun 23, 2024
1 parent f0676a6 commit 6af5aa5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 1.0.5: 2024-06-23

* Force the text fill for number inputs as white instead of using a variable, Finally fixes #5

### 1.0.4: 2024-06-23

* Fix text fill color
Expand Down
4 changes: 2 additions & 2 deletions assets/scss/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1577,9 +1577,9 @@ body.wp-admin:not(.gutenberg-editor-page) {
// Autocomplete inputs
input[type="number"] {
/* stylelint-disable-next-line */
-webkit-text-fill-color: var(--color-white) !important;
-webkit-text-fill-color: #fff !important;
/* stylelint-disable-next-line */
text-fill-color: var(--color-white) !important;
text-fill-color: #fff !important;
}

.button,
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simple-dark-mode-for-wp-dashboard",
"version": "1.0.4",
"version": "1.0.5",
"description": "The simplest way to make your WordPress Dashboard dark. No settings, just activate the plugin and enjoy the darkness. Tries to follow the WordPress Coding Standards and best practices and be as straightforward as possible.",
"author": "Roni Laukkarinen ([email protected])",
"devDependencies": {
Expand Down

0 comments on commit 6af5aa5

Please sign in to comment.