@@ -5028,15 +5028,47 @@ <h2 style="margin-top: 4px; margin-bottom: 5px; font-size: 20px">
5028
5028
document . getElementById ( "toggleDark" ) . innerHTML = "🌓 Dark Mode" ;
5029
5029
} else {
5030
5030
//run first function
5031
- document . getElementById ( "textMainArea" ) . style . color = "#f6f6f6" ;
5032
5031
5032
+ // Select all elements with the specified selectors
5033
+ var elements = document . querySelectorAll (
5034
+ "textarea, input, .inputFieldClass, .class2, .class3"
5035
+ ) ;
5036
+ // Loop through each element and set the style properties
5037
+ elements . forEach ( function ( element ) {
5038
+ element . style . color = "#f6f6f6" ; // Set the text color to #f6f6f6
5039
+ } ) ;
5040
+
5041
+ //
5042
+ // Select all elements with the specified selectors
5043
+ var elements = document . querySelectorAll (
5044
+ "textarea, input, .inputFieldClass, .class2, .class3"
5045
+ ) ;
5046
+ // Loop through each element and set the style properties
5047
+ elements . forEach ( function ( element ) {
5048
+ element . style . backgroundColor = "#262626" ; // Set the text color to #f6f6f6
5049
+ } ) ;
5050
+
5051
+ /*document.getElementById("textMainArea").style.color = "#f6f6f6";
5033
5052
document.getElementById("textMainArea").style.backgroundColor =
5034
5053
"#262626";
5035
-
5036
5054
document.getElementById("textMainArea").style.borderColor =
5037
- "#262626" ;
5055
+ "#262626"; */
5038
5056
5039
5057
document . getElementById ( "toggleDark" ) . innerHTML = "🌓 Light Mode" ;
5058
+
5059
+ //
5060
+ const buttons = document . querySelectorAll (
5061
+ ".mid.editorButtons button"
5062
+ ) ;
5063
+ // Loop through each button and set the color and background color
5064
+ buttons . forEach ( ( button ) => {
5065
+ button . style . backgroundColor = "#6b6b6b" ;
5066
+ button . style . color = "#fff" ;
5067
+ } ) ;
5068
+
5069
+ document . getElementById ( "findThis" ) . style . backgroundColor =
5070
+ "#262626" ;
5071
+ document . getElementById ( "findThis" ) . style . color = "#757575" ;
5040
5072
}
5041
5073
}
5042
5074
//
0 commit comments