File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
elements/pfe-accordion/demo Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 5252 --pfe-theme--color--ui-accent : # ad41ad ;
5353}
5454
55+ .custom-styles pfe-accordion-header [expanded ] {
56+ --pfe-accordion--accent : # ad41ad ;
57+ }
58+
59+ .custom-styles pfe-accordion pfe-accordion {
60+ --pfe-accordion--accent : initial;
61+ --pfe-theme--color--ui-accent : initial;
62+ --pfe-broadcasted--text : initial;
63+ --pfe-broadcasted--link : initial;
64+ --pfe-broadcasted--link--hover : initial;
65+ --pfe-broadcasted--link--focus : initial;
66+ }
67+
68+ .custom-styles pfe-accordion pfe-accordion-header [expanded ] {
69+ --pfe-accordion--accent : initial;
70+ }
71+
5572.custom-styles h2 {
5673 margin-top : 0 ;
5774}
Original file line number Diff line number Diff line change @@ -405,7 +405,7 @@ <h3>Where do the main characters work as adults?</h3>
405405
406406 < section class ="custom-styles ">
407407 < h2 > <pfe-accordion> custom styles</ h2 > < br />
408- < pfe-accordion >
408+ < pfe-accordion id =" custom " >
409409 < pfe-accordion-header >
410410 < h3 > Why do wizards need money if they could just create it?</ h3 >
411411 </ pfe-accordion-header >
You can’t perform that action at this time.
0 commit comments