summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOliver <oliver@mohlin.dev>2025-04-29 10:29:23 +0200
committerTobias Järvelöv <tobias.jarvelov@mullvad.net>2025-05-19 14:28:48 +0200
commit8cabf27f85cdcfcec757a9b9f414e9c80a187b6c (patch)
tree44be1ab338e903188a720dd141cfc9dc3f9d7fb0
parent0a325f58f18b08496013cd62d9d1a926a49ab59f (diff)
downloadmullvadvpn-8cabf27f85cdcfcec757a9b9f414e9c80a187b6c.tar.xz
mullvadvpn-8cabf27f85cdcfcec757a9b9f414e9c80a187b6c.zip
Use new colors in expired account add time view
-rw-r--r--desktop/packages/mullvad-vpn/src/renderer/components/ExpiredAccountAddTime.tsx6
-rw-r--r--desktop/packages/mullvad-vpn/src/renderer/components/ExpiredAccountErrorViewStyles.tsx12
2 files changed, 9 insertions, 9 deletions
diff --git a/desktop/packages/mullvad-vpn/src/renderer/components/ExpiredAccountAddTime.tsx b/desktop/packages/mullvad-vpn/src/renderer/components/ExpiredAccountAddTime.tsx
index 397f657cff..ad3c090ed8 100644
--- a/desktop/packages/mullvad-vpn/src/renderer/components/ExpiredAccountAddTime.tsx
+++ b/desktop/packages/mullvad-vpn/src/renderer/components/ExpiredAccountAddTime.tsx
@@ -11,7 +11,7 @@ import { useAppContext } from '../context';
import useActions from '../lib/actionsHook';
import { Button, Flex } from '../lib/components';
import { FlexColumn } from '../lib/components/flex-column';
-import { DeprecatedColors } from '../lib/foundations';
+import { colors } from '../lib/foundations';
import { TransitionType, useHistory } from '../lib/history';
import { IconBadge } from '../lib/icon-badge';
import { generateRoutePath } from '../lib/routeHelpers';
@@ -36,7 +36,7 @@ export const StyledCustomScrollbars = styled(CustomScrollbars)({
export const StyledContainer = styled(Container)({
paddingTop: '22px',
minHeight: '100%',
- backgroundColor: DeprecatedColors.darkBlue,
+ backgroundColor: colors.brandDarkBlue,
});
export const StyledBody = styled.div({
@@ -54,7 +54,7 @@ export const StyledTitle = styled.span(hugeText, {
export const StyledLabel = styled.span(tinyText, {
lineHeight: '20px',
- color: DeprecatedColors.white,
+ color: colors.white100,
marginBottom: '9px',
});
diff --git a/desktop/packages/mullvad-vpn/src/renderer/components/ExpiredAccountErrorViewStyles.tsx b/desktop/packages/mullvad-vpn/src/renderer/components/ExpiredAccountErrorViewStyles.tsx
index 2c000d4af4..da9b41597f 100644
--- a/desktop/packages/mullvad-vpn/src/renderer/components/ExpiredAccountErrorViewStyles.tsx
+++ b/desktop/packages/mullvad-vpn/src/renderer/components/ExpiredAccountErrorViewStyles.tsx
@@ -1,6 +1,6 @@
import styled from 'styled-components';
-import { DeprecatedColors } from '../lib/foundations';
+import { colors } from '../lib/foundations';
import AccountNumberLabel from './AccountNumberLabel';
import * as Cell from './cell';
import { hugeText, measurements, tinyText } from './common-styles';
@@ -12,7 +12,7 @@ export const StyledAccountNumberLabel = styled(AccountNumberLabel)({
lineHeight: '20px',
fontSize: '20px',
fontWeight: 700,
- color: DeprecatedColors.white,
+ color: colors.white100,
});
export const StyledModalCellContainer = styled(Cell.Container)({
@@ -28,7 +28,7 @@ export const StyledCustomScrollbars = styled(CustomScrollbars)({
export const StyledContainer = styled(Container)({
paddingTop: '22px',
minHeight: '100%',
- backgroundColor: DeprecatedColors.darkBlue,
+ backgroundColor: colors.brandDarkBlue,
});
export const StyledBody = styled.div({
@@ -45,11 +45,11 @@ export const StyledTitle = styled.span(hugeText, {
export const StyledMessage = styled.span(tinyText, {
marginBottom: '20px',
- color: DeprecatedColors.white,
+ color: colors.white100,
});
export const StyledAccountNumberMessage = styled.span(tinyText, {
- color: DeprecatedColors.white,
+ color: colors.white100,
});
export const StyledAccountNumberContainer = styled.div({
@@ -60,5 +60,5 @@ export const StyledAccountNumberContainer = styled.div({
export const StyledDeviceLabel = styled.span(tinyText, {
lineHeight: '20px',
- color: DeprecatedColors.white,
+ color: colors.white100,
});