-
Notifications
You must be signed in to change notification settings - Fork 36
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
DOP-4623: Dark mode for Cards #1114
Merged
Merged
Changes from 7 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
7d388f3
updating
mayaraman19 f13ce9c
Merge branch 'main' of https://github.com/mongodb/snooty into DOP-4623-b
mayaraman19 0639d24
dark mode icon support
mayaraman19 d494b01
iconsrc
mayaraman19 c2fc41a
merge conflicts???? :sob:
mayaraman19 063e1d4
packages again?
mayaraman19 8e652d5
snapshots
mayaraman19 b785739
removing DriversIndexTiles.js
mayaraman19 3df16da
cleaning up control flow
mayaraman19 0f96e5f
merge conflicts
mayaraman19 f624de2
fixing merge conflicts
mayaraman19 1b5bdb5
package lock
mayaraman19 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -7,16 +7,16 @@ exports[`renders correctly 1`] = ` | |
-webkit-transition: 150ms ease-in-out; | ||
transition: 150ms ease-in-out; | ||
transition-property: border,box-shadow; | ||
border: 1px solid #E8EDEB; | ||
box-shadow: 0 4px 10px -4px rgba(0,30,43,0.3); | ||
background-color: white; | ||
color: #1C2D38; | ||
border-radius: 24px; | ||
font-family: 'Euclid Circular A',Akzidenz,'Helvetica Neue',Helvetica,Arial,sans-serif; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. omg thank god, get that dark-sided name outta here |
||
font-family: 'Euclid Circular A','Helvetica Neue',Helvetica,Arial,sans-serif; | ||
font-size: 13px; | ||
line-height: 20px; | ||
padding: 24px; | ||
min-height: 68px; | ||
border: 1px solid #E8EDEB; | ||
box-shadow: 0 4px 10px -4px rgba(0,30,43,0.3); | ||
background-color: #FFFFFF; | ||
color: #1C2D38; | ||
cursor: pointer; | ||
display: -webkit-box; | ||
display: -webkit-flex; | ||
|
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
(nit) I wonder if by reducing the nested
if
statements and using ternary operators, we could make the code cleaner and more readable. Maybe something like;If you don't agree, please feel free to ignore it as this is not a blocker.
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.
beautiful! thank you :)