diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-06-07 16:31:44 -0400 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-06-07 16:31:44 -0400 |
commit | 82247453a12c7e697351a4464013c690c848d552 (patch) | |
tree | 0d3ed47124d46b4254b318a122ca6857ca7d2a29 /extension/react-app/src/components/index.ts | |
parent | 0be241fe44edcc35c79835ac59971d60869d1c34 (diff) | |
parent | 69fda64ca0111c5be2f6967a7d82dd5b284dd995 (diff) | |
download | sncontinue-82247453a12c7e697351a4464013c690c848d552.tar.gz sncontinue-82247453a12c7e697351a4464013c690c848d552.tar.bz2 sncontinue-82247453a12c7e697351a4464013c690c848d552.zip |
Merge branch 'main' into dlt-transform
Diffstat (limited to 'extension/react-app/src/components/index.ts')
-rw-r--r-- | extension/react-app/src/components/index.ts | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/extension/react-app/src/components/index.ts b/extension/react-app/src/components/index.ts index 7ba60467..4966f3e8 100644 --- a/extension/react-app/src/components/index.ts +++ b/extension/react-app/src/components/index.ts @@ -3,6 +3,7 @@ import styled, { keyframes } from "styled-components"; export const defaultBorderRadius = "5px"; export const secondaryDark = "rgb(37 37 38)"; export const vscBackground = "rgb(30 30 30)"; +export const vscBackgroundTransparent = "#1e1e1ede"; export const buttonColor = "rgb(113 28 59)"; export const buttonColorHover = "rgb(113 28 59 0.67)"; @@ -94,16 +95,24 @@ export const Loader = styled.div` margin: auto; `; -export const GradientBorder = styled.div<{ borderWidth?: string }>` - border-radius: ${defaultBorderRadius}; - padding: ${(props) => props.borderWidth || "1px"}; - background: linear-gradient( +export const GradientBorder = styled.div<{ + borderWidth?: string; + borderRadius?: string; + borderColor?: string; +}>` + border-radius: ${(props) => props.borderRadius || "0"}; + padding-top: ${(props) => props.borderWidth || "1px"}; + padding-bottom: ${(props) => props.borderWidth || "1px"}; + background: ${(props) => + props.borderColor + ? props.borderColor + : `linear-gradient( 101.79deg, #12887a 0%, #87245c 37.64%, #e12637 65.98%, #ffb215 110.45% - ); + )`}; `; export const MainContainerWithBorder = styled.div<{ borderWidth?: string }>` |