-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'torchlight' effect to cards in dark mode (#468)
- Loading branch information
Showing
12 changed files
with
369 additions
and
93 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/react-brand': patch | ||
--- | ||
|
||
Force removal of link underlines in Card components, to prevent specificity issues with local stylesheet overrides. |
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,7 @@ | ||
--- | ||
'@primer/react-brand': patch | ||
--- | ||
|
||
Added 'torchlight' hover effect to dark mode Card instances. | ||
|
||
See: https://primer.style/brand/components/Card/react#torchlight-effect |
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
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
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,29 +1,33 @@ | ||
declare const styles: { | ||
readonly "Card": string; | ||
readonly "Card__link": string; | ||
readonly "Card--border": string; | ||
readonly "Card--icon": string; | ||
readonly "Card__label": string; | ||
readonly "Card__icon": string; | ||
readonly "Card__image": string; | ||
readonly "Card__icon--badge": string; | ||
readonly "Card__heading": string; | ||
readonly "Card__description": string; | ||
readonly "Card__action": string; | ||
readonly "Card__icon--color-default": string; | ||
readonly "Card__icon--color-blue": string; | ||
readonly "Card__icon--color-coral": string; | ||
readonly "Card__icon--color-green": string; | ||
readonly "Card__icon--color-gray": string; | ||
readonly "Card__icon--color-indigo": string; | ||
readonly "Card__icon--color-lemon": string; | ||
readonly "Card__icon--color-lime": string; | ||
readonly "Card__icon--color-orange": string; | ||
readonly "Card__icon--color-pink": string; | ||
readonly "Card__icon--color-purple": string; | ||
readonly "Card__icon--color-red": string; | ||
readonly "Card__icon--color-teal": string; | ||
readonly "Card__icon--color-yellow": string; | ||
}; | ||
export = styles; | ||
|
||
readonly Card: string | ||
readonly 'Card--colorMode-light': string | ||
readonly Card__link: string | ||
readonly 'Card--border': string | ||
readonly Card__inner: string | ||
readonly 'Card--icon': string | ||
readonly Card__label: string | ||
readonly Card__icon: string | ||
readonly Card__image: string | ||
readonly 'Card__icon--badge': string | ||
readonly Card__heading: string | ||
readonly Card__description: string | ||
readonly Card__action: string | ||
readonly 'Card__icon--color-default': string | ||
readonly 'Card__icon--color-blue': string | ||
readonly 'Card__icon--color-coral': string | ||
readonly 'Card__icon--color-green': string | ||
readonly 'Card__icon--color-gray': string | ||
readonly 'Card__icon--color-indigo': string | ||
readonly 'Card__icon--color-lemon': string | ||
readonly 'Card__icon--color-lime': string | ||
readonly 'Card__icon--color-orange': string | ||
readonly 'Card__icon--color-pink': string | ||
readonly 'Card__icon--color-purple': string | ||
readonly 'Card__icon--color-red': string | ||
readonly 'Card__icon--color-teal': string | ||
readonly 'Card__icon--color-yellow': string | ||
readonly 'Card--skew': string | ||
readonly Card__torch: string | ||
readonly 'Card__skew-bounding': string | ||
} | ||
export = styles |
Oops, something went wrong.