-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1984 from janburak/FIX-1982
FIX-1982 Dark mode additions
- Loading branch information
Showing
6 changed files
with
103 additions
and
78 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
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
31 changes: 31 additions & 0 deletions
31
Src/WitsmlExplorer.Frontend/components/Modals/ComparisonModalStyles.tsx
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,31 @@ | ||
import { Typography } from "@equinor/eds-core-react"; | ||
import styled from "styled-components"; | ||
import { Colors } from "../../styles/Colors"; | ||
|
||
export const LabelsLayout = styled.div` | ||
display: grid; | ||
grid-template-columns: repeat(2, auto); | ||
gap: 0.8rem; | ||
`; | ||
|
||
export const ComparisonCell = styled.div<{ type?: string }>` | ||
font-feature-settings: "tnum"; | ||
p { | ||
text-align: ${({ type }) => (type == "depth" ? "right" : "left")}; | ||
} | ||
mark { | ||
background: #e6faec; | ||
background-blend-mode: darken; | ||
font-weight: 600; | ||
} | ||
`; | ||
|
||
export const TableLayout = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
`; | ||
|
||
export const StyledTypography = styled(Typography)<{ colors: Colors }>` | ||
padding: 1rem 0 1rem 0; | ||
color: ${(props) => props.colors.infographic.primaryMossGreen}; | ||
`; |
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