Skip to content

Commit b71c8e1

Browse files
committed
style: update color references and layout to match updated design
1 parent 947d8d9 commit b71c8e1

File tree

21 files changed

+41
-42
lines changed

21 files changed

+41
-42
lines changed

ui/src/components/blueprint-collection/blueprint-collection.module.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
background-size: 20px 20px;
1414
background-image: linear-gradient(
1515
to right,
16-
$color-neutral-100 1px,
16+
$color-neutral-70 1px,
1717
transparent 1px
1818
),
19-
linear-gradient(to bottom, $color-neutral-100 1px, transparent 1px);
19+
linear-gradient(to bottom, $color-neutral-70 1px, transparent 1px);
2020
box-sizing: border-box;
2121
}
2222

ui/src/design-system/components/card/card.module.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
.container {
55
display: flex;
66
flex-direction: column;
7-
background-color: $color-generic-white;
87
border: 1px solid $color-neutral-100;
98
border-radius: 8px;
109
overflow: hidden;
@@ -13,7 +12,7 @@
1312

1413
.square {
1514
position: relative;
16-
background-color: rgba($color: $color-primary-2-50, $alpha: 0.5);
15+
background-color: $color-generic-white;
1716
border-bottom: 1px solid $color-neutral-100;
1817
}
1918

@@ -41,6 +40,7 @@
4140
flex-direction: column;
4241
flex: 1;
4342
padding: 12px 16px;
43+
background-color: $color-generic-white;
4444
}
4545

4646
.title {

ui/src/design-system/components/checkbox/checkbox.module.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
.wrapper {
55
display: flex;
6+
align-items: center;
67
}
78

89
.checkboxRoot {
@@ -16,7 +17,7 @@
1617
flex-shrink: 0;
1718

1819
&.neutral {
19-
border-color: $color-neutral-600;
20+
border-color: $color-neutral-400;
2021
}
2122

2223
&:focus-visible {
@@ -60,6 +61,6 @@
6061
}
6162

6263
&.neutral {
63-
color: $color-neutral-100;
64+
color: $color-generic-white;
6465
}
6566
}

ui/src/design-system/components/combo-box/combo-box-simple/combo-box-simple.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const ComboBoxSimple = ({
5151
onValueChange={setSearchString}
5252
/>
5353
{loading && (
54-
<div className={styles.loadingWrapper}>
54+
<div className={styles.accessoryWrapper}>
5555
<LoadingSpinner size={12} />
5656
</div>
5757
)}

ui/src/design-system/components/select/select.module.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
background-color: $color-generic-white;
102102
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);
103103
overflow: hidden;
104-
z-index: 2;
104+
z-index: 3;
105105
}
106106

107107
.selectViewport {
@@ -131,4 +131,6 @@
131131

132132
.itemIndicator {
133133
margin-left: 32px;
134+
display: inline-flex;
135+
align-items: center;
134136
}

ui/src/design-system/components/slider/styles.module.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,15 @@
8686
@include paragraph-xx-small();
8787
text-transform: uppercase;
8888
font-weight: 700;
89-
color: $color-neutral-100;
89+
color: $color-generic-white;
9090
margin: 0;
9191
}
9292

9393
.value {
9494
display: block;
9595
@include paragraph-x-small();
9696
font-weight: 700;
97-
color: $color-neutral-100;
97+
color: $color-generic-white;
9898
width: 32px;
9999
text-align: right;
100100
overflow: hidden;
@@ -146,7 +146,7 @@
146146
justify-content: space-between;
147147

148148
.label {
149-
color: $color-neutral-400;
149+
color: $color-neutral-300;
150150
}
151151
}
152152

ui/src/design-system/components/wizard/wizard.module.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
@import 'src/design-system/variables/variables.scss';
44

55
.accordionRoot {
6-
border: 2px solid $color-neutral-100;
6+
border: 2px solid $color-neutral-70;
77
border-radius: 4px;
88
}
99

1010
.accordionItem {
1111
position: relative;
1212

1313
&:not(:last-child) {
14-
border-bottom: 2px solid $color-neutral-100;
14+
border-bottom: 2px solid $color-neutral-70;
1515
}
1616
}
1717

ui/src/design-system/components/wizard/wizard.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const WizardTemplate: Story = () => (
2121
<Wizard.Item value="item-1">
2222
<Wizard.Trigger title="Object Detection">
2323
<StatusBullet
24-
icon={IconType.Checkmark}
24+
icon={IconType.RadixCheck}
2525
theme={StatusBulletTheme.Success}
2626
/>
2727
</Wizard.Trigger>

ui/src/pages/auth/sign-up.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export const SignUp = () => {
9494
{isSuccess ? (
9595
<>
9696
<Icon
97-
type={IconType.Checkmark}
97+
type={IconType.RadixCheck}
9898
size={12}
9999
theme={IconTheme.Success}
100100
/>

ui/src/pages/collection-details/capture-columns.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ export const columns: (projectId: string) => TableColumn<Capture>[] = (
1818
{
1919
id: 'thumbnail',
2020
name: translate(STRING.FIELD_LABEL_THUMBNAIL),
21-
renderCell: (item: Capture, rowIndex: number) => {
22-
const isOddRow = rowIndex % 2 == 0
21+
renderCell: (item: Capture) => {
2322
const detailsRoute = getAppRoute({
2423
to: APP_ROUTES.SESSION_DETAILS({
2524
projectId: projectId,
@@ -33,7 +32,7 @@ export const columns: (projectId: string) => TableColumn<Capture>[] = (
3332
return (
3433
<ImageTableCell
3534
images={[{ src: item.src }]}
36-
theme={isOddRow ? ImageCellTheme.Default : ImageCellTheme.Light}
35+
theme={ImageCellTheme.Light}
3736
to={detailsRoute}
3837
/>
3938
)

0 commit comments

Comments
 (0)