Skip to content

Commit 4f9bc8f

Browse files
fix: minor css vars issues (#2662)
1 parent 68de253 commit 4f9bc8f

4 files changed

Lines changed: 7 additions & 1 deletion

File tree

packages/super-editor/src/editors/v1/components/toolbar/IconGrid.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ const handleSelect = (option) => {
6060
align-items: center;
6161
gap: 4px;
6262
padding: 4px;
63+
color: var(--sd-ui-text, #47484a);
64+
6365
&:hover {
6466
opacity: 0.65;
6567
}

packages/superdoc/src/assets/styles/helpers/themes.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
--sd-ui-comments-card-shadow: 0 1px 2px rgba(60, 64, 67, 0.2), 0 2px 6px rgba(60, 64, 67, 0.18);
3535
--sd-ui-comments-separator: #c7cdd6;
3636
--sd-ui-comments-timestamp-text: #5f6368;
37+
--sd-ui-comments-input-bg: #fff;
3738
--sd-ui-comments-option-hover-bg: #e8eaed;
3839
--sd-ui-comments-input-border: #80868b;
3940

@@ -94,6 +95,7 @@
9495
--sd-ui-comments-card-shadow: 0 2px 4px rgba(0, 0, 0, 0.16), 0 10px 20px rgba(0, 0, 0, 0.1);
9596
--sd-ui-comments-separator: #c8c6c4;
9697
--sd-ui-comments-timestamp-text: #605e5c;
98+
--sd-ui-comments-input-bg: #fff;
9799
--sd-ui-comments-option-hover-bg: #f3f2f1;
98100
--sd-ui-comments-input-border: #8a8886;
99101

@@ -161,6 +163,7 @@
161163
--sd-ui-comments-input-border: #7f96aa;
162164
--sd-ui-comments-separator: #9fb4c7;
163165
--sd-ui-comments-timestamp-text: #475569;
166+
--sd-ui-comments-input-bg: #fff;
164167

165168
/* Highlights */
166169
--sd-comments-highlight-external-base: #b45309;

packages/superdoc/src/components/CommentsLayer/CommentHeader.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ const getCurrentUser = computed(() => {
255255
height: 14px;
256256
padding: 3px;
257257
border-radius: 50%;
258+
color: var(--sd-ui-text, #47484a);
258259
cursor: pointer;
259260
transition: all 250ms ease;
260261
}

packages/superdoc/src/dev/themes/neon-night.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
--sd-ui-comments-author-text: #e7f7ff;
5151
--sd-ui-comments-timestamp-text: #8fc4ef;
5252
--sd-ui-comments-body-text: #d6ecff;
53-
--sd-ui-comments-input-bg: #0e1d33;
53+
--sd-ui-comments-input-bg: #fff;
5454
--sd-ui-comments-input-border: #4a82be;
5555
--sd-ui-comments-dropdown-bg: #0a1a30;
5656
--sd-ui-comments-dropdown-border: #36659a;

0 commit comments

Comments
 (0)