diff --git a/docs/src/components/pricing/HeroPricing.tsx b/docs/src/components/pricing/HeroPricing.tsx index a11c8bba54403e..3ef3ef9aa7cef5 100644 --- a/docs/src/components/pricing/HeroPricing.tsx +++ b/docs/src/components/pricing/HeroPricing.tsx @@ -1,32 +1,22 @@ import * as React from 'react'; -import Box from '@mui/material/Box'; -import Container from '@mui/material/Container'; import Typography from '@mui/material/Typography'; +import Section from 'docs/src/layouts/Section'; +import SectionHeadline from 'docs/src/components/typography/SectionHeadline'; import GradientText from 'docs/src/components/typography/GradientText'; export default function HeroPricing() { return ( - - - - Pricing - - - Start using MUI's products for free! - - - Switch to a commercial plan to access advanced -
features & technical support. -
-
-
+
+ + Start using MUI's products for free! + + } + description="Switch to a commercial plan to access advanced features & technical support." + /> +
); } diff --git a/docs/src/components/pricing/LicensingModelSwitch.tsx b/docs/src/components/pricing/LicensingModelSwitch.tsx index 31b6de8026463f..bb6c4dba5c87c6 100644 --- a/docs/src/components/pricing/LicensingModelSwitch.tsx +++ b/docs/src/components/pricing/LicensingModelSwitch.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; +import { styled, alpha } from '@mui/material/styles'; import Box from '@mui/material/Box'; import Tooltip from '@mui/material/Tooltip'; -import { styled } from '@mui/material/styles'; import Tabs from '@mui/material/Tabs'; import Tab from '@mui/material/Tab'; import { useLicensingModel } from 'docs/src/components/pricing/LicensingModelContext'; @@ -14,7 +14,7 @@ const StyledTabs = styled(Tabs)(({ theme }) => ({ overflow: 'visible', borderRadius: 20, border: '1px solid', - borderColor: (theme.vars || theme).palette.grey[200], + borderColor: (theme.vars || theme).palette.grey[100], backgroundColor: (theme.vars || theme).palette.grey[50], '&:has(.Mui-focusVisible)': { outline: `2px solid ${(theme.vars || theme).palette.primary.main}`, @@ -27,36 +27,40 @@ const StyledTabs = styled(Tabs)(({ theme }) => ({ zIndex: 1, }, '& .MuiTab-root': { - padding: '2px 10px', - fontSize: theme.typography.pxToRem(14), - fontWeight: 500, + padding: '4px 8px', + fontSize: theme.typography.pxToRem(13), + fontWeight: theme.typography.fontWeightSemiBold, minWidth: 0, minHeight: 0, - color: (theme.vars || theme).palette.grey[700], + color: (theme.vars || theme).palette.grey[600], borderRadius: 20, '&:hover': { color: (theme.vars || theme).palette.grey[800], }, '&.Mui-selected': { - color: (theme.vars || theme).palette.grey[900], - fontWeight: 600, + color: (theme.vars || theme).palette.primary[500], + fontWeight: theme.typography.fontWeightSemiBold, }, }, '& .MuiTabs-indicator': { - backgroundColor: '#fff', + backgroundColor: '#FFF', + border: '1px solid', + borderColor: (theme.vars || theme).palette.grey[200], height: '100%', borderRadius: 20, zIndex: 0, - boxShadow: '0px 4px 20px rgba(45, 56, 67, 0.1)', + boxShadow: `0px 1px 2px ${(theme.vars || theme).palette.grey[200]}`, }, ...theme.applyDarkStyles({ - borderColor: (theme.vars || theme).palette.grey[800], - backgroundColor: (theme.vars || theme).palette.grey[900], + borderColor: (theme.vars || theme).palette.primaryDark[700], + backgroundColor: (theme.vars || theme).palette.primaryDark[900], color: (theme.vars || theme).palette.grey[400], '& .MuiTabs-indicator': { - backgroundColor: (theme.vars || theme).palette.grey[700], height: '100%', borderRadius: 20, + backgroundColor: alpha(theme.palette.primaryDark[600], 0.5), + borderColor: (theme.vars || theme).palette.primaryDark[500], + boxShadow: `0px 1px 4px ${(theme.vars || theme).palette.common.black}`, }, '& .MuiTab-root': { color: (theme.vars || theme).palette.grey[400], @@ -64,7 +68,7 @@ const StyledTabs = styled(Tabs)(({ theme }) => ({ color: (theme.vars || theme).palette.grey[300], }, '&.Mui-selected': { - color: '#fff', + color: (theme.vars || theme).palette.primary[200], }, }, }), diff --git a/docs/src/components/pricing/PricingTable.tsx b/docs/src/components/pricing/PricingTable.tsx index 04b150b91d9ac2..c4f16b8daadf03 100644 --- a/docs/src/components/pricing/PricingTable.tsx +++ b/docs/src/components/pricing/PricingTable.tsx @@ -174,19 +174,24 @@ export function PlanPrice(props: PlanPriceProps) { ({ borderRadius: 0.5, alignSelf: 'flex-end', textDecoration: 'line-through', - p: '2px 4px', - mb: '3px', + py: 0.5, + px: 1, + mb: 0.5, + fontWeight: 'medium', bgcolor: 'error.50', color: 'error.500', + border: '1px solid', + borderColor: 'error.100', ...theme.applyDarkStyles({ - color: 'error.400', + color: 'error.300', bgcolor: 'error.900', + borderColor: 'error.800', }), })} > @@ -1245,7 +1250,7 @@ export default function PricingTable({ const renderNestedRow = (key: string) => renderMasterRow(key, nestedGridSx, plans); return ( - + {!columnHeaderHidden && ( diff --git a/docs/src/components/pricing/PricingWhatToExpect.tsx b/docs/src/components/pricing/PricingWhatToExpect.tsx index 25534c1cf64a84..bc2497ab93d477 100644 --- a/docs/src/components/pricing/PricingWhatToExpect.tsx +++ b/docs/src/components/pricing/PricingWhatToExpect.tsx @@ -11,16 +11,20 @@ import HelpOutlineOutlinedIcon from '@mui/icons-material/HelpOutlineOutlined'; import Section from 'docs/src/layouts/Section'; import Link from 'docs/src/modules/components/Link'; import GradientText from 'docs/src/components/typography/GradientText'; +import SectionHeadline from 'docs/src/components/typography/SectionHeadline'; export default function PricingWhatToExpect() { return ( -
- - Key information about the paid plans - +
+ + Key information about +
the paid plans + + } + />