-
Notifications
You must be signed in to change notification settings - Fork 106
Set accordion placeholders fork #364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set accordion placeholders fork #364
Conversation
| color: var(--pfe-expanded--aux); | ||
| border-left-width: 3px; | ||
| border-left-style: solid; | ||
| border-left-color: var(--pfe-expanded--border-left); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i moved these into a mixin instead
| :host([on="dark"]), | ||
| :host([color="darker"]), | ||
| :host([color="darkest"]) { | ||
| @include pfe-trigger-color-darkest; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added support for theme colors darker and darkest, color="dark" is not supported
| --pfe-accordion--border-left: 3px solid transparent; | ||
| --pfe-accordion--border-right: 1px solid transparent; | ||
| --pfe-accordion--border-top-bottom: 0px; | ||
| --pfe-accordion--border-focus-color: #{pfe-color(surface--accent)};; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idk if accent is a desirable color but i wanted the focus state to be visible whether it was expanded or not
| border: 1px solid transparent; | ||
| font-family: inherit; | ||
| font-size: #{pfe-var(font-size)}; | ||
| font-size: 16px; //calc(#{pfe-var(font-size)} * 1.1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was the variable it was complaining about, still needs fixing
| --pfe-accordion--main: #{pfe-color(surface--darkest)}; | ||
| --pfe-accordion--aux: #{pfe-color(surface--darkest--text)}; | ||
| --pfe-accordion--focus: #{pfe-color(surface--darkest--link--focus)}; | ||
| --pfe-accordion--border-left: solid 3px #{pfe-color(surface--darkest--link)}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@starryeyez024 One small change: right now the header border is blue on a dark background, it should be white.
No description provided.