-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating to Primer View Components v0.0.117 (#2351)
* Updating to primer view components 0.0.117 * Create strange-tables-repeat.md * Move Link import to pvc
- Loading branch information
Showing
7 changed files
with
17 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@primer/css": patch | ||
--- | ||
|
||
Updating to primer view components 0.0.117 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
@import '@primer/view-components/app/components/primer/state_component'; | ||
@import '@primer/view-components/app/components/primer/beta/state'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1 @@ | ||
// Links | ||
|
||
.Link { | ||
color: var(--color-accent-fg); | ||
|
||
&:hover { | ||
text-decoration: underline; | ||
cursor: pointer; | ||
} | ||
|
||
&:focus, | ||
&:focus-visible { | ||
outline-offset: 0; | ||
} | ||
} | ||
|
||
.Link--primary { | ||
color: var(--color-fg-default) !important; | ||
|
||
&:hover { | ||
color: var(--color-accent-fg) !important; | ||
} | ||
} | ||
|
||
.Link--secondary { | ||
color: var(--color-fg-muted) !important; | ||
|
||
&:hover { | ||
color: var(--color-accent-fg) !important; | ||
} | ||
} | ||
|
||
.Link--muted { | ||
color: var(--color-fg-muted) !important; | ||
|
||
&:hover { | ||
color: var(--color-accent-fg) !important; | ||
text-decoration: none; | ||
} | ||
} | ||
|
||
// Set the link color only on hover | ||
// Useful when you want only part of a link to turn blue on hover | ||
.Link--onHover { | ||
&:hover { | ||
color: var(--color-accent-fg) !important; | ||
text-decoration: underline; | ||
cursor: pointer; | ||
} | ||
} | ||
|
||
// When using a color utility class inside of a link class, | ||
// color should change with link on hover. | ||
.Link--secondary, | ||
.Link--primary, | ||
.Link--muted { | ||
&:hover [class*='color-fg'] { | ||
color: inherit !important; | ||
} | ||
} | ||
@import '@primer/view-components/app/components/primer/beta/link'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
@import '@primer/view-components/app/components/primer/subhead_component'; | ||
@import '@primer/view-components/app/components/primer/beta/subhead'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
@import '@primer/view-components/app/components/primer/timeline_item_component'; | ||
@import '@primer/view-components/app/components/primer/beta/timeline_item'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters