Add CSS settings to facilitate themes #7

Closed
opened 2 years ago by Cpm · 1 comments
Cpm commented 2 years ago

Currently, in the textarea tag:

  • the default text color is the same than the footer text color
  • the text color is the same than button label color

So, it is not easy to make a new theme. See my case: https://qrcode.chapril.org/

Request to add more CSS settings in themes/dark/theme.php:

"fgTextField" => "white",
"fgDefaultTextField" => "white",

And propagate them in style.less:

 #txt {
   background-color: @bgTextField;
-  color: @text;
+  color: @fgTextField;
[…]
 #txt::placeholder {
-  color: @secondaryText;
+  color: @fgDefaultTextField;
Currently, in the **textarea** tag: * the default text color is the same than the footer text color * the text color is the same than button label color So, it is not easy to make a new theme. See my case: https://qrcode.chapril.org/ Request to add more CSS settings in `themes/dark/theme.php`: ``` "fgTextField" => "white", "fgDefaultTextField" => "white", ``` And propagate them in `style.less`: ``` #txt { background-color: @bgTextField; - color: @text; + color: @fgTextField; […] #txt::placeholder { - color: @secondaryText; + color: @fgDefaultTextField; ```
miraty added this to the 2.0.0 milestone 2 years ago
Owner

Done in b009740d6a.

Done in b009740d6a.
miraty closed this issue 1 year ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: miraty/libreqr#7
Loading…
There is no content yet.