@@ -45,7 +45,12 @@ label.pf-c-select__menu-item {
4545 --pf-global--FontSize--sm : 13px ;
4646}
4747
48- h1 , h2 , h3 , h4 , h5 , h6 {
48+ h1 ,
49+ h2 ,
50+ h3 ,
51+ h4 ,
52+ h5 ,
53+ h6 {
4954 font-family : var (--pf-global--FontFamily--heading--sans-serif );
5055 font-weight : var (--pf-global--FontWeight--normal );
5156 line-height : var (--pf-global--LineHeight--md );
6671 font-size : var (--pf-global--FontSize--lg );
6772}
6873
69- h4 , h5 , h6 {
74+ h4 ,
75+ h5 ,
76+ h6 {
7077 font-size : var (--pf-global--FontSize--md );
7178}
7279
73- button , input , optgroup , select , textarea ,
80+ button ,
81+ input ,
82+ optgroup ,
83+ select ,
84+ textarea ,
7485.pf-c-badge {
7586 font-family : var (--pf-global--FontFamily--sans-serif );
7687}
@@ -99,11 +110,13 @@ button, input, optgroup, select, textarea,
99110 outline : 0 ;
100111 position : relative;
101112 width : 100% ;
113+
114+ --os-modal-dialog--BackgroundColor : var (--pf-global--BackgroundColor--100 );
115+ background : var (--os-modal-dialog--BackgroundColor );
102116}
103117
104118.modal-content {
105119 height : fit-content !important ;
106- background-color : # fff ;
107120 background-clip : padding-box;
108121 border : 1px solid rgba (0 , 0 , 0 , .2 );
109122 box-shadow : 0 3px 9px rgb (0 0 0 / 50% );
@@ -114,7 +127,6 @@ button, input, optgroup, select, textarea,
114127}
115128
116129.modal-header {
117- background-color : # fff ;
118130 padding : 2rem 2rem 1.5rem ;
119131}
120132
@@ -164,4 +176,39 @@ button, input, optgroup, select, textarea,
164176 padding : 1px 4px ;
165177 text-align : center;
166178 white-space : nowrap;
179+ }
180+
181+ /* fix selector color*/
182+ .pf-theme-dark .pf-c-toggle-group__button .pf-m-selected {
183+ --pf-c-toggle-group__button--BackgroundColor : # 06c ;
184+ --pf-c-toggle-group__button--ZIndex : 100 ;
185+ --pf-c-toggle-group__button--before--BorderColor : # 1fa7f8 ;
186+ }
187+
188+ /* fix primary button color*/
189+ .pf-theme-dark .pf-m-primary {
190+ color : # fff ;
191+ background-color : # 06c ;
192+ }
193+
194+ /* fix chip background colors */
195+ .pf-theme-dark .pf-c-chip {
196+ --pf-c-chip--BackgroundColor : var (--pf-global--BackgroundColor--100 );
197+ --pf-c-chip--before--BorderColor : var (--pf-global--BorderColor--100 );
198+ --pf-c-chip--m-draggable--BackgroundColor : var (--pf-global--palette--black-600 );
199+ }
200+
201+ /* hide options texts */
202+ .pf-u-screen-reader {
203+ display : none;
204+ }
205+
206+ /* fix search input*/
207+ .pf-theme-dark .pf-c-input-group {
208+ --pf-c-input-group--BackgroundColor : transparent;
209+ --pf-c-input-group__text--BorderTopColor : transparent;
210+ --pf-c-input-group__text--BorderRightColor : transparent;
211+ --pf-c-input-group__text--BorderBottomColor : var (--pf-global--BorderColor--400 );
212+ --pf-c-input-group__text--BorderLeftColor : transparent;
213+ --pf-c-input-group__text--BackgroundColor : var (--pf-global--palette--black-600 );
167214}
0 commit comments