Skip to content

Commit 40156cc

Browse files
authored
Merge branch 'master' into header-component-update
2 parents 88eb146 + 653a987 commit 40156cc

File tree

4 files changed

+10
-15
lines changed

4 files changed

+10
-15
lines changed

packages/react-sdk-components/src/components/designSystemExtension/Banner/Banner.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ export default function Banner(props: BannerProps) {
4040
<Grid2 container size={12} className='banner-layout' spacing={1}>
4141
<Grid2
4242
size={{ xs: variantMap[variant][0] }}
43-
style={{ padding: '1em', backgroundColor: 'var(--app-form-bg-color)', borderRadius: '16px', height: 'fit-content' }}
43+
style={{ padding: '1rem', backgroundColor: 'var(--app-form-bg-color)', borderRadius: '16px', height: 'fit-content' }}
4444
>
4545
{a}
4646
</Grid2>
47-
<Grid2 size={{ xs: variantMap[variant][1] }} style={{ padding: '1em' }}>
47+
<Grid2 size={{ xs: variantMap[variant][1] }} style={{ padding: '0rem 1rem' }}>
4848
{b}
4949
</Grid2>
5050
</Grid2>

packages/react-sdk-components/src/components/template/WssNavBar/WssNavBar.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ const useStyles = makeStyles(theme => ({
3636
marginRight: theme.spacing(2)
3737
},
3838
appListLogo: {
39-
width: '100%',
40-
height: '100%'
39+
maxWidth: '100%',
40+
height: '3rem'
4141
},
4242
appName: {
4343
marginLeft: theme.spacing(2),
@@ -84,7 +84,7 @@ export default function WssNavBar(props: WssNavBarProps) {
8484

8585
return (
8686
<div id='NavBar' className='nav-bar'>
87-
<AppBar position='fixed' color='primary'>
87+
<AppBar position='static' color='primary'>
8888
<Container maxWidth={false}>
8989
<Toolbar disableGutters style={{ justifyContent: 'space-between' }}>
9090
<Button id='appName' style={{ textTransform: 'capitalize' }} onClick={appInfo.onClick}>

packages/react-sdk-components/src/components/widget/ToDo/ToDo.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,20 +82,15 @@ function getID(assignment: any) {
8282

8383
const useStyles = makeStyles(theme => ({
8484
root: {
85-
marginTop: theme.spacing(1),
8685
marginBottom: theme.spacing(1),
8786
paddingBottom: theme.spacing(1),
88-
borderLeft: '6px solid',
89-
borderLeftColor: theme.palette.primary.light,
9087
borderRadius: 16
9188
},
9289
avatar: {
9390
backgroundColor: theme.palette.primary.light,
9491
color: theme.palette.getContrastText(theme.palette.primary.light)
9592
},
9693
todoWrapper: {
97-
borderLeft: '6px solid',
98-
borderLeftColor: theme.palette.primary.light,
9994
padding: theme.spacing(1),
10095
margin: theme.spacing(1)
10196
},

packages/react-sdk-components/src/theme.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const lightThemeColours = {
8989
};
9090
const darkThemeColours = {
9191
':root': {
92-
'--app-primary-color': '#f72585' /* accent pink */,
92+
'--app-primary-color': '#C70BB5' /* accent pink */,
9393
'--app-primary-dark-color': '#c2185b' /* darker pink */,
9494
'--app-primary-light-color': '#ff5ca2' /* lighter pink */,
9595
'--app-secondary-color': '#c0c0c0' /* accent silver */,
@@ -252,8 +252,8 @@ const darkTheme = createTheme({
252252
palette: {
253253
mode: 'dark',
254254
primary: {
255-
main: '#f72585', // accent pink
256-
light: '#ff5ca2', // lighter shade of pink
255+
main: '#C70BB5', // pink
256+
light: '#C70BB5', // pink
257257
dark: '#c2185b', // darker shade
258258
contrastText: '#ffffff' // white text on pink buttons
259259
},
@@ -265,8 +265,8 @@ const darkTheme = createTheme({
265265
},
266266
info: {
267267
main: '#e91e63', // Pink
268-
dark: '#ad1457', // Darker pink
269-
light: '#f8bbd0', // Light pink for backgrounds
268+
dark: '#E885D2', // Light pink
269+
light: '#C70BB5', // Lighter pink for backgrounds
270270
contrastText: '#fff'
271271
},
272272
background: {

0 commit comments

Comments
 (0)