Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
# Conflicts:
#	package-lock.json
  • Loading branch information
dooman87 committed Mar 12, 2024
2 parents 800b560 + 5fca067 commit f013b49
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 24 deletions.
2 changes: 1 addition & 1 deletion components/Agenda/Agenda.styled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const StyledAgendaRowList = styled('ul')(({ theme }) => ({

li: {
padding: calcRem(theme.metrics.md),
backgroundColor: theme.colors.dddblue,
backgroundColor: theme.colors.dddpurple,
color: theme.colors.white,
fontSize: calcRem(20),
fontWeight: theme.weights.bold,
Expand Down
2 changes: 1 addition & 1 deletion components/Hero/Hero.styled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const HeroContentWrapper = styled('div')(({ theme }) => ({
'::before': {
width: '100%',
height: '100%',
backgroundColor: theme.colors.dddblue,
backgroundColor: theme.colors.dddpurple,
position: 'absolute',
opacity: 0.8,
content: '""',
Expand Down
4 changes: 2 additions & 2 deletions components/Voting/Content.styled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const StyledHeader = styled('div')(({ theme }) => ({
marginBlockStart: calcRem(-theme.metrics.xl),
marginBlockEnd: calcRem(60),
gap: '1rem',
backgroundColor: theme.colors.dddblue,
backgroundColor: theme.colors.dddpurple,
}))

export const StyledColumnLayout = styled('div')(({ theme }) => ({
Expand Down Expand Up @@ -146,7 +146,7 @@ export const MoreInfoButton = styled('a')(({ theme }) => ({

'&:hover, &:focus': {
backgroundColor: theme.colors.white,
color: theme.colors.dddblue,
color: theme.colors.dddpurple,
},
}))

Expand Down
4 changes: 2 additions & 2 deletions components/Voting/EloVote.styled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export const StyledVoteButton = styled(Button)<StyledVoteButtonProps>(({ theme,
},

'&:focus': {
boxShadow: `0 0 0 ${calcRem(theme.metrics.xs)} ${theme.colors.dddblue}`,
boxShadow: `0 0 0 ${calcRem(theme.metrics.xs)} ${theme.colors.dddpurple}`,
},
}))

Expand Down Expand Up @@ -148,7 +148,7 @@ export const StyledLayoutLabel = styled('label')(({ theme }) => ({
input: srOnly,

span: {
color: theme.colors.dddblue,
color: theme.colors.dddpurple,
textDecoration: 'underline',
},

Expand Down
12 changes: 6 additions & 6 deletions components/global/Button/Button.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,35 +18,35 @@ export const StyledLinkButton = styled('button', {
textDecoration: 'underline',
background: 'transparent',
border: 'none',
color: theme.colors.dddblue,
color: theme.colors.dddpurple,
cursor: 'pointer',

'&:hoverm &:focus': {
color: theme.colors.dddbluedark,
color: theme.colors.dddpurpledark,
},
}))

function getButtonStylesForKind(kind: ButtonKinds, theme: DDDTheme): CSSObject {
switch (kind) {
case 'primary':
return {
backgroundColor: theme.colors.dddblue,
backgroundColor: theme.colors.dddpurple,
color: theme.colors.white,
fill: 'currentColor',

'&:hover, &:focus': {
backgroundColor: theme.colors.dddbluedark,
backgroundColor: theme.colors.dddpurpledark,
color: theme.colors.white,
},

'&:focus': {
boxShadow: `0 0 0 ${calcRem(theme.metrics.xs)} ${theme.colors.dddblue}`,
boxShadow: `0 0 0 ${calcRem(theme.metrics.xs)} ${theme.colors.dddpurple}`,
},
}
default:
return {
backgroundColor: theme.colors.grey300,
color: theme.colors.dddblue,
color: theme.colors.dddpurple,
'&:hover, &:focus': {
backgroundColor: theme.colors.grey400,
},
Expand Down
10 changes: 5 additions & 5 deletions components/global/Footer/Footer.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const StyledFooter = styled('footer')(({ theme }) => ({
gridColumn: 2,
},

backgroundColor: theme.colors.dddblue,
backgroundColor: theme.colors.dddpurple,
}))
StyledFooter.displayName = 'StyledFooter'

Expand Down Expand Up @@ -50,7 +50,7 @@ export const StyledSocialLink = styled(SafeLink)(({ theme }) => ({

'&:hover, &:focus :nth-of-type(odd)': {
svg: {
fill: Math.floor(Math.random() * 2) === 1 ? theme.colors.dddpink : theme.colors.dddorange,
fill: Math.floor(Math.random() * 2) === 1 ? theme.colors.dddbrightorange : theme.colors.dddgreenaqua,
},
},
}))
Expand All @@ -71,14 +71,14 @@ export const StyledFooterContainer = styled('div')(({ theme }) => ({
gridColumn: '2 / span 2',
gridRow: 2,
padding: theme.metrics.lg,
backgroundColor: theme.colors.dddbluedark,
backgroundColor: theme.colors.dddpurpledark,
textAlign: 'left',
},

'&::before': {
gridColumn: '1 / span 1',
gridRow: 2,
backgroundColor: theme.colors.dddbluedark,
backgroundColor: theme.colors.dddpurpledark,
content: "' '",
},
}))
Expand All @@ -91,7 +91,7 @@ export const StyledTopAnchor = styled('a')(({ theme }) => ({
justifyContent: 'center',
alignItems: 'center',
padding: theme.metrics.lg,
backgroundColor: theme.colors.dddbluedark,
backgroundColor: theme.colors.dddpurpledark,
color: theme.colors.white,
textTransform: 'uppercase',
textDecoration: 'none',
Expand Down
8 changes: 4 additions & 4 deletions components/global/Header/components/HeaderSocials.styled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ const getSocialColorFromDDDMelbColors = () => {
const randomValue = Math.floor(Math.random() * 3)
switch (randomValue) {
case 0: {
return theme.colors.dddblue
return theme.colors.dddbrightorange
}
case 1: {
return theme.colors.dddpink
return theme.colors.dddpurple
}
case 2: {
return theme.colors.dddorange
return theme.colors.dddgreenaqua
}
default: {
return theme.colors.dddblue
return theme.colors.dddpurple
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion components/global/Icons/DDDLogo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const DDDLogo = () => {
width="296"
height="35"
alt={`${conference.Name} logo`}
src="/static/images/header-logo-melb-ddd-temp24.png"
src="/static/images/logo-dddmelbourne-2024.png"
/>
)
}
2 changes: 1 addition & 1 deletion components/global/Nav/Nav.styled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const StyledNavLink = styled('a')<StyledNavLinkProps>(({ theme, active })
},

'&:hover': {
backgroundColor: active ? theme.colors.grey800 : theme.colors.dddblue,
backgroundColor: active ? theme.colors.grey800 : theme.colors.dddpurple,
color: theme.colors.white,
},

Expand Down
2 changes: 1 addition & 1 deletion components/utils/styles/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const globalCSS = css`
a:focus,
a:hover {
color: ${theme.colors.dddblue};
color: ${theme.colors.dddpurple};
}
@media (prefers-reduced-motion: reduce) {
Expand Down
5 changes: 5 additions & 0 deletions components/utils/styles/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ export const theme = {
dddblue: '#4450A2',
dddbluedark: '#6A79C6',
dddorange: '#F8A23B',

dddbrightorange: '#FF7432',
dddpurple: '#AC96ED',
dddpurpledark: '#4B2AAD',
dddgreenaqua: '#5DF1C2',
///////////////////////////
primary: '#008554',
primary150: '#003924',
Expand Down
Binary file modified public/static/favicon.ico
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f013b49

Please sign in to comment.