Skip to content

Commit 2d8d0ff

Browse files
authored
feat: add large short modal size and fix cloud colors (#680)
1 parent 3822823 commit 2d8d0ff

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

projects/assets-library/assets/styles/_color-palette.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ $gray-7: #272c2e;
7878
$gray-8: #171a1c;
7979
$gray-9: #080909;
8080

81-
$cloud-1: #a1c5e0;
81+
$cloud-1: #edf4f9;
8282
$cloud-2: #c7ddec;
83-
$cloud-3: #edf4f9;
83+
$cloud-3: #a1c5e0;
8484

8585
$brown-1: #9e4c41;
8686

@@ -111,7 +111,7 @@ $color-text: $gray-7;
111111
$color-text-label: $gray-4;
112112
$color-text-body: $gray-9;
113113
$color-text-disabled: $gray-5;
114-
$color-text-highlight: $cloud-1;
114+
$color-text-highlight: $cloud-3;
115115
$color-text-emphasis: $blue-5;
116116

117117
// Elements

projects/components/src/modal/modal-container.component.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
width: 456px;
2222
}
2323

24+
&.modal-size-large-short {
25+
height: 540px;
26+
width: 640px;
27+
}
28+
2429
&.modal-size-large {
2530
height: 720px;
2631
width: 640px;

projects/components/src/modal/modal.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export interface ModalConfig<TData = unknown> {
1313
export const enum ModalSize {
1414
Small = 'small',
1515
Medium = 'medium',
16+
LargeShort = 'large-short',
1617
Large = 'large',
1718
LargeTall = 'large-tall',
1819
MediumWide = 'medium-wide'

0 commit comments

Comments
 (0)