diff --git a/src/App.css b/src/App.css index b3767d6c..9123708b 100644 --- a/src/App.css +++ b/src/App.css @@ -26,7 +26,7 @@ } .App-header { - background-color: #282c34; + background-color: #f5f5f5; min-height: 100vh; display: flex; flex-direction: column; diff --git a/src/assets/Git.png b/src/assets/Git.png index b6fa4639..d24a74bd 100644 Binary files a/src/assets/Git.png and b/src/assets/Git.png differ diff --git a/src/components/Header/Header.jsx b/src/components/Header/Header.jsx index ef5aa3f1..9c5cc3e0 100644 --- a/src/components/Header/Header.jsx +++ b/src/components/Header/Header.jsx @@ -12,6 +12,7 @@ import UserAccountMenu from './UserAccountMenu'; import makeStyles from '@mui/styles/makeStyles'; import logo from '!file-loader!../../assets/Alt_Linux_Team.svg'; import githubLogo from '../../assets/Git.png'; +import { invert } from 'lodash'; const useStyles = makeStyles((theme) => ({ barOpen: { @@ -29,11 +30,11 @@ const useStyles = makeStyles((theme) => ({ alignItems: 'center', justifyContent: 'center', padding: 0, - backgroundColor: '#0F2139', + backgroundColor: '#f5f5f5', height: '100%', width: '100%', borderBottom: '0.0625rem solid #BDBDBD', - boxShadow: '0rem 0.3125rem 0.625rem rgba(131, 131, 131, 0.08)' + boxShadow: '0 0.125rem 0.25rem -0.0625rem rgba(3,3,3,0.16)' }, headerContainer: { minWidth: '60%' @@ -43,7 +44,7 @@ const useStyles = makeStyles((theme) => ({ paddingRight: '3%' }, input: { - color: '#464141', + color: '#f5f5f5', marginLeft: 1, width: '90%' }, @@ -61,13 +62,19 @@ const useStyles = makeStyles((theme) => ({ maxWidth: '130px', maxHeight: '30px' }, + ghlogo: { + maxWidth: '130px', + maxHeight: '30px', + color: invert + // filter: 1 + }, headerLinkContainer: { [theme.breakpoints.down('md')]: { display: 'none' } }, link: { - color: '#F6F7F9', + color: '#000000', fontSize: '1rem', fontWeight: 600 }, @@ -169,7 +176,7 @@ function Header({ setSearchCurrentValue = () => {} }) { - github repository + github repository {isAuthenticated() && isAuthenticationEnabled() && ( diff --git a/src/components/Header/SearchSuggestion.jsx b/src/components/Header/SearchSuggestion.jsx index ddb68913..4357dc55 100644 --- a/src/components/Header/SearchSuggestion.jsx +++ b/src/components/Header/SearchSuggestion.jsx @@ -14,7 +14,7 @@ import { HEADER_SEARCH_PAGE_SIZE } from 'utilities/paginationConstants'; const useStyles = makeStyles(() => ({ searchContainer: { display: 'inline-block', - backgroundColor: '#2B3A4E', + backgroundColor: '#f5f5f5', boxShadow: '0 0.313rem 0.625rem rgba(131, 131, 131, 0.08)', borderRadius: '0.625rem', minWidth: '100%', @@ -63,7 +63,7 @@ const useStyles = makeStyles(() => ({ display: 'none' }, searchIcon: { - color: '#52637A', + color: '#000000', paddingRight: '3%', cursor: 'pointer' }, @@ -73,7 +73,7 @@ const useStyles = makeStyles(() => ({ paddingLeft: 10, height: '40px', fontSize: '1rem', - backgroundColor: '#2B3A4E', + backgroundColor: '#f5f5f5', borderRadius: '0.625rem', color: '#8A96A8' }, @@ -311,7 +311,7 @@ function SearchSuggestion({ setSearchCurrentValue = () => {} }) { <> @@ -325,7 +325,7 @@ function SearchSuggestion({ setSearchCurrentValue = () => {} }) { <> {}} @@ -336,7 +336,7 @@ function SearchSuggestion({ setSearchCurrentValue = () => {} }) { {}} diff --git a/src/components/Home/Home.jsx b/src/components/Home/Home.jsx index addd47d2..c4f649f8 100644 --- a/src/components/Home/Home.jsx +++ b/src/components/Home/Home.jsx @@ -38,7 +38,7 @@ const useStyles = makeStyles((theme) => ({ }, title: { fontWeight: '700', - color: '#0F2139', + color: '#000000', width: '100%', display: 'inline', fontSize: '2.5rem', @@ -59,7 +59,7 @@ const useStyles = makeStyles((theme) => ({ }, sectionTitle: { fontWeight: '700', - color: '#0F2139', + color: '#000000', width: '100%', fontSize: '2rem', textAlign: 'center', diff --git a/src/components/Shared/RepoCard.jsx b/src/components/Shared/RepoCard.jsx index 57188857..3c5aa27f 100644 --- a/src/components/Shared/RepoCard.jsx +++ b/src/components/Shared/RepoCard.jsx @@ -152,7 +152,7 @@ const useStyles = makeStyles((theme) => ({ textOverflow: 'ellipsis', maxWidth: '70%', fontWeight: '600', - color: '#0F2139', + color: '#000000', lineHeight: '2rem' }, platformChips: { diff --git a/src/components/Shared/VulnerabilityCard.jsx b/src/components/Shared/VulnerabilityCard.jsx index 976913bc..92a15ccf 100644 --- a/src/components/Shared/VulnerabilityCard.jsx +++ b/src/components/Shared/VulnerabilityCard.jsx @@ -248,7 +248,7 @@ function VulnerabilitiyCard(props) { - + {cve.description} diff --git a/src/components/Tag/TagDetails.jsx b/src/components/Tag/TagDetails.jsx index 8242edc5..3e593f90 100644 --- a/src/components/Tag/TagDetails.jsx +++ b/src/components/Tag/TagDetails.jsx @@ -90,7 +90,7 @@ const useStyles = makeStyles((theme) => ({ '&.Mui-selected': { backgroundColor: 'rgba(15, 33, 57, 0.05)', color: theme.palette.secondary.main, - border: '2px solid #0F2139!important' + border: '2px solid #000000!important' } }, tabContent: { diff --git a/src/index.js b/src/index.js index c21d1b97..7b72d623 100644 --- a/src/index.js +++ b/src/index.js @@ -12,15 +12,15 @@ const theme = createTheme( adaptV4Theme({ palette: { primary: { - light: '#757ce8', - main: '#14191F', - dark: '#002884', + light: '#f5f5f5', + main: '#000000', + dark: '#0e1113', contrastText: '#fff' }, secondary: { - light: '#ff7961', - main: '#0F2139', - dark: '#52637A', + light: '#f5f5f5', + main: '#000000', + dark: '#0e1113', contrastText: '#000' } }