Skip to content
Merged
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
1 change: 1 addition & 0 deletions lib/atom/Callout/Callout.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@

.actionButton {
background: var(--accent-2);
border-radius: var(--radius-4);
}
2 changes: 1 addition & 1 deletion lib/atom/Severity/Severity.module.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.dot {
height: 8px;
width: 8px;
border-radius: 50%;
border-radius: var(--radius-full);
display: inline-block;
position: relative;
box-sizing: content-box;
Expand Down
2 changes: 1 addition & 1 deletion lib/atom/Severity/Severity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Severity = ({ level, textOnly, iconOnly }: ISeverityProps) => {

return (
<Flex display="inline-flex" align="center" gap="2">
{(iconOnly || !textOnly) && <span className={dotStyles} />}
{(iconOnly || !textOnly) && <span className={dotStyles} data-radius={"full"} />}
{(!iconOnly || textOnly) && (
<Text size="2" className={textStyles}>
{displayText}
Expand Down
6 changes: 3 additions & 3 deletions lib/compound/DateRangePicker/DateRangePicker.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
--rdp-day_button-width: 32px;
--rdp-day_button-height: 32px;
--rdp-nav-height: 32px;
font-size: 14px;
font-size: var(--font-size-2);
}

.today {
background-color: var(--gray-3);
color: var(--gray-12);
font-weight: bold;
border-radius: 6px;
border-radius: var(--radius-3);
}

.rangeEnd,
.rangeStart {
background-color: var(--accent-9);
color: var(--gray-1);
font-weight: normal;
border-radius: 6px;
border-radius: var(--radius-3);
border: 0;
}

Expand Down
17 changes: 9 additions & 8 deletions lib/molecule/CalendarChips/CalendarChips.module.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
.calendarChip {
display: flex;
align-items: center;
flex-direction: column;
width: 42px;
height: auto;
min-height: 32px;
gap: 0;
padding: var(--space-2) var(--space-3);
color: var(--gray-12);
box-shadow: inset 0 0 0 1px var(--accent-a7);
border-color: red;

&:global(.selected) {
color: var(--gray-1);
background: var(--blue-11);
font-weight: var(--font-weight-bold);
}
}
4 changes: 3 additions & 1 deletion lib/molecule/CalendarChips/CalendarChips.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { Flex, Button, Text } from '@radix-ui/themes';
import { useMemo } from 'react';
import { useCalendarChips } from './hooks';
import type { ICalendarChipsProps } from './CalendarChips.types';
import cn from 'classnames';
import styles from './CalendarChips.module.css'

const CalendarChip = ({ date, selected }: { readonly date: Date; readonly selected?: boolean }) => {
return (
Expand All @@ -16,7 +18,7 @@ const CalendarChip = ({ date, selected }: { readonly date: Date; readonly select
width="42px"
height="56px"
>
<Button variant={selected ? 'solid' : 'surface'} color={selected ? 'blue' : 'gray'}>
<Button variant={selected ? 'solid' : 'outline'} color={selected ? 'blue' : 'gray'} className={cn(styles.calendarChip, selected ? 'selected' : '')}>
<Text size="2">{date.toLocaleDateString('en-US', { day: '2-digit' })}</Text>
<Text size="2">{date.toLocaleDateString('en-US', { weekday: 'short' })}</Text>
</Button>
Expand Down
Loading