-
Notifications
You must be signed in to change notification settings - Fork 0
Apply component and styles edits to selected repository #37
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1 @@ | ||||||
| const Button = () => <button type="button">button</button> | ||||||
|
||||||
| const Button = () => <button type="button">button</button> | |
| const Button = () => <button type="button" className="counter-button">button</button> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| .counter-button { | ||
| margin: 0; | ||
| padding: 0.75rem 1rem; | ||
|
Comment on lines
+1
to
+3
|
||
| border: 1px solid #3558b8; | ||
| border-radius: 0.5rem; | ||
| background: #e9efff; | ||
| color: #1a2a52; | ||
| font-weight: 600; | ||
| cursor: pointer; | ||
| transition: background-color 120ms ease; | ||
| } | ||
|
|
||
| .counter-button:hover { | ||
| background: #dce6ff; | ||
| } | ||
|
|
||
| .counter-button[data-active='true'] { | ||
| background: #3558b8; | ||
| color: #fff; | ||
| } | ||
|
|
||
| .counter-button.is-even { | ||
| border-style: dashed; | ||
| } | ||
|
|
||
| .counter-button:focus-visible { | ||
| outline: 2px solid #6a84d8; | ||
| outline-offset: 2px; | ||
| } | ||
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.
Buttonis declared but never used/exported, which will trigger the repo'sno-unused-varslint error. Export it (e.g., as default or named export) or rename to/define an exportedAppcomponent if this file is meant to be the app entry component.