Tweaks Code highlightment on https://www.autoitscript.com/forum when "AutoIt (Dark)" theme is choosen
AutoIt forum DarkStyle2 by mlipok
Details
Authormlipok
LicenseNo License
Categoryuserstyles, autoit
Created
Updated
Size1.2 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
none
Source code
/* ==UserStyle==
@name AutoIt Forum Dark Theme
@description Fix for code highlightment
@namespace examples
@version 0.2.0
==/UserStyle== */
@-moz-document domain("autoitscript.com") {
pre.geshi.lang-autoit {
background: rgb( var(--theme-area_background)) !important;
}
pre.geshi.lang-autoit {
color: white !important; /* variables */
}
pre.geshi.lang-autoit .kw1 {
color: mediumpurple !important; /*keywords */
}
pre.geshi.lang-autoit .kw2 {
color: yellow !important; /*function names */
}
pre.geshi.lang-autoit .kw3 {
color: violet !important; /*function names */
}
pre.geshi.lang-autoit .st0 {
color: mediumaquamarine !important; /* strings */
}
pre.geshi.lang-autoit .re0 {
color: white !important; /* variables */
}
pre.geshi.lang-autoit .sy0 {
color: lightsalmon !important; /* operators */
}
pre.geshi.lang-autoit .br0 {
color: orange !important; /* bracketes */
}
pre.geshi.lang-autoit .nu0 {
color: orangered !important; /* numbers */
}
}