Skip to content

Commit 92d3f63

Browse files
committed
💄(frontend) fix some minor color and style issues
When migrating to the new design system, some colors and style issues were identified. This commit addresses these issues by updating the styles to align with the new design guidelines, ensuring a consistent and visually appealing user experience.
1 parent c06bc6f commit 92d3f63

File tree

5 files changed

+15
-13
lines changed

5 files changed

+15
-13
lines changed
-60 Bytes
Loading

src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteToolBar/AIButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export function AIGroupButton() {
108108
data-test="ai-actions"
109109
label="AI"
110110
mainTooltip={t('AI Actions')}
111-
icon={<Icon iconName="auto_awesome" $size="l" />}
111+
icon={<Icon iconName="auto_awesome" $size="md" />}
112112
/>
113113
</Components.Generic.Menu.Trigger>
114114
<Components.Generic.Menu.Dropdown

src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteToolBar/MarkdownButton.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ export function MarkdownButton() {
9494
font-family: var(--c--globals--font--families--base);
9595
`}
9696
$weight="bold"
97+
$size="sm"
9798
>
9899
M
99100
</Text>

src/frontend/apps/impress/src/features/docs/doc-editor/components/comments/styles.tsx

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const cssComments = (
1111
.bn-thread-mark:not([data-orphan='true']),
1212
.bn-thread-mark-selected:not([data-orphan='true']) {
1313
background: ${canSeeComment ? '#EDB40066' : 'transparent'};
14-
color: var(--c--globals--colors--greyscale-700);
14+
color: var(--c--globals--colors--gray-700);
1515
}
1616
}
1717
@@ -54,7 +54,7 @@ export const cssComments = (
5454
& .bn-editor {
5555
padding-left: var(--c--globals--spacings--lg);
5656
.bn-inline-content {
57-
color: var(--c--globals--colors--greyscale-700);
57+
color: var(--c--globals--colors--gray-700);
5858
}
5959
}
6060
@@ -65,7 +65,7 @@ export const cssComments = (
6565
padding: var(--c--globals--spacings--0)
6666
var(--c--globals--spacings--st);
6767
background: none;
68-
border: 1px solid var(--c--globals--colors--greyscale-300);
68+
border: 1px solid var(--c--globals--colors--gray-300);
6969
border-radius: var(--c--globals--spacings--st);
7070
height: var(--c--globals--spacings--md);
7171
}
@@ -103,12 +103,12 @@ export const cssComments = (
103103
background-color: transparent;
104104
105105
&:hover {
106-
background-color: var(--c--globals--colors--greyscale-100);
106+
background-color: var(--c--globals--colors--gray-100);
107107
}
108108
}
109109
110110
button[role='menuitem'] svg {
111-
color: var(--c--globals--colors--greyscale-600);
111+
color: var(--c--globals--colors--gray-600);
112112
}
113113
}
114114
@@ -137,7 +137,7 @@ export const cssComments = (
137137
138138
&[data-test='cancel'] {
139139
background: white;
140-
border: 1px solid var(--c--globals--colors--greyscale-300);
140+
border: 1px solid var(--c--globals--colors--gray-300);
141141
color: var(--c--globals--colors--info-600);
142142
}
143143
}
@@ -186,13 +186,14 @@ export const cssComments = (
186186
padding: var(--c--globals--spacings--0);
187187
188188
&:disabled {
189-
background: var(--c--globals--colors--greyscale-300);
189+
background: var(--c--globals--colors--gray-300);
190190
}
191191
192192
& .mantine-Button-label::before {
193-
content: '🡡';
194-
font-size: 13px;
195-
color: var(--c--globals--colors--greyscale-100);
193+
content: 'arrow_upward_alt';
194+
font-family: 'Material Symbols Outlined Variable', sans-serif;
195+
font-size: 18px;
196+
color: var(--c--globals--colors--gray-100);
196197
}
197198
}
198199
}

src/frontend/apps/impress/src/features/docs/doc-editor/styles.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const cssEditor = css`
88
}
99
1010
& .bn-editor {
11-
color: var(--c--globals--colors--greyscale-700);
11+
color: var(--c--globals--colors--gray-700);
1212
}
1313
1414
/**
@@ -127,7 +127,7 @@ export const cssEditor = css`
127127
font-size: 1.25rem;
128128
}
129129
a {
130-
color: var(--c--globals--colors--greyscale-600);
130+
color: var(--c--globals--colors--gray-600);
131131
cursor: pointer;
132132
}
133133
.bn-block-group

0 commit comments

Comments
 (0)