Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/gamut/src/Menu/Menu.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ export const IconOnly: Story = {
icon={RatingStarCircleIcon}
label={{
alignment: 'right-center',
info: <Text color="hyper">I am bold and different</Text>,
info: <Text color="action-primary">I am bold and different</Text>,
narrow: true,
}}
/>
Expand Down Expand Up @@ -359,7 +359,7 @@ export const FloatingMenu: Story = {
<Background bg="black" borderRadius="lg" height="100%" pl={48}>
<FlexBox
alignItems="center"
bg="navy"
bg="surface-sunken"
dimensions="200px"
height="100%"
justifyContent="right"
Expand Down Expand Up @@ -398,7 +398,7 @@ export const FloatingMenu: Story = {
x={-21}
y={currentTarget}
>
<Background bg="white" borderRadius="lg">
<Background bg="surface-raised" borderRadius="lg">
<Menu role="menu" variant="popover">
{activeIndex % 2 === 0 ? (
<>
Expand Down
14 changes: 7 additions & 7 deletions packages/gamut/src/Modals/Modal.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,17 @@ const GridContentPlaceholder = ({
}) => (
<FlexBox flexDirection="column">
<FlexBox height="2rem" justifyContent="space-between" mb={12} width="100%">
<Box bg="beige" height="inherit" width="85%" />
<Box bg="beige" height="inherit" width="10%" />
<Box bg="surface-sunken" height="inherit" width="85%" />
<Box bg="surface-sunken" height="inherit" width="10%" />
</FlexBox>
<Box bg="beige" height={height} width={width} />
<Box bg="surface-sunken" height={height} width={width} />
</FlexBox>
);

const ImageComponent = () => (
<FlexBox
aria-label="Code celebration"
bg="background-primary"
bg="surface-default"
center
height="100%"
p={4}
Expand Down Expand Up @@ -336,7 +336,7 @@ export const FocusManagement: Story = {
Focus Modal Container
</FillButton>
</FlexBox>
<Text color="text-disabled" fontSize={14}>
<Text color="text-subtle" fontSize={14}>
Try tabbing through the page - the modal container will maintain
focus when you click the &quot;Focus Modal Container&quot; button.
</Text>
Expand Down Expand Up @@ -631,7 +631,7 @@ export const ConfirmationOnClose: Story = {
{hasUnsavedChanges ? 'Mark as Saved' : 'Mark as Unsaved'}
</FillButton>
</FlexBox>
<Text color="text-disabled" fontSize={14}>
<Text color="text-subtle" fontSize={14}>
Toggle the unsaved state and try closing the modal to see the
confirmation behavior. <br />
Current state:{' '}
Expand All @@ -649,7 +649,7 @@ export const ConfirmationOnClose: Story = {
This modal shows a confirmation dialog when you try to close it
with unsaved changes.
</Text>
<Text color="text-disabled" fontSize={14}>
<Text color="text-subtle" fontSize={14}>
Current state:{' '}
{hasUnsavedChanges ? 'Has unsaved changes' : 'All saved'}
</Text>
Expand Down
2 changes: 1 addition & 1 deletion packages/gamut/src/Tabs/Tabs.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const Controlled: Story = {

return (
<>
<Background bg="yellow" mb={24} p={12}>
<Background bg="surface-sunken" mb={24} p={12}>
<FormGroup htmlFor="active-tab" label="Active Tab">
<Input
htmlFor="active-tab"
Expand Down