@@ -1699,7 +1699,7 @@ div#page_content div {
16991699
17001700 .toolbar {
17011701 position : relative ;
1702- background : #ccc ;
1702+ background : var ( --#{$prefix}gray-200 ) ;
17031703 border-top : solid 1px #aaa ;
17041704 cursor : n-resize ;
17051705 pointer-events : auto ;
@@ -1753,12 +1753,12 @@ div#page_content div {
17531753 .message span .action :hover ,
17541754 .toolbar .button :hover ,
17551755 .switch_button :hover {
1756- background : #ddd ;
1756+ background : var ( --#{$prefix}gray-400 ) ;
17571757 }
17581758
17591759 .toolbar {
17601760 .button.active {
1761- background : #ddd ;
1761+ background : var ( --#{$prefix}gray-400 ) ;
17621762 }
17631763
17641764 .text {
@@ -1781,7 +1781,7 @@ div#page_content div {
17811781 overflow-y : auto ;
17821782 margin-bottom : -65px ;
17831783 border-top : solid 1px #aaa ;
1784- background : $white ;
1784+ background : var ( --#{$prefix}body-bg ) ;
17851785 padding-top : 0.4em ;
17861786 pointer-events : auto ;
17871787
@@ -1940,7 +1940,7 @@ div#page_content div {
19401940 .action_content {
19411941 position : absolute ;
19421942 bottom : 100% ;
1943- background : #ccc ;
1943+ background : var ( --#{$prefix}gray-200 ) ;
19441944 border : solid 1px #aaa ;
19451945 border-top-left-radius : 3px ;
19461946 }
@@ -1961,7 +1961,7 @@ div#page_content div {
19611961 }
19621962
19631963 .text {
1964- background : $ white ;
1964+ background : var ( --#{$prefix} white) ;
19651965 }
19661966
19671967 & .collapsed {
@@ -2030,6 +2030,36 @@ div#page_content div {
20302030 }
20312031}
20322032
2033+ @include color-mode (dark ) {
2034+ #pma_console {
2035+ .toolbar {
2036+ background-color : var (--#{$prefix}gray-800 );
2037+
2038+ .button.active {
2039+ background : var (--#{$prefix}gray-600 );
2040+ color : var (--#{$prefix}white );
2041+ }
2042+ }
2043+
2044+ .message span .action :hover ,
2045+ .toolbar .button :hover ,
2046+ .switch_button :hover {
2047+ background : var (--#{$prefix}gray-600 );
2048+ color : var (--#{$prefix}white );
2049+ }
2050+
2051+ .message {
2052+ .action_content {
2053+ background : var (--#{$prefix}gray-800 );
2054+ }
2055+
2056+ .text {
2057+ background : var (--#{$prefix}black );
2058+ }
2059+ }
2060+ }
2061+ }
2062+
20332063#pma_bookmarks .content.add_bookmark ,
20342064#pma_console_options .content {
20352065 padding : 4px 6px ;
0 commit comments