Skip to content

Commit 626bdad

Browse files
author
OlgaLarina
committed
remove $foreground-light
1 parent b21cef3 commit 626bdad

File tree

6 files changed

+5
-6
lines changed

6 files changed

+5
-6
lines changed

packages/survey-creator-core/src/components/matrix-cell.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
visibility: visible;
9797
cursor: initial;
9898
use {
99-
fill: $foreground-light;
99+
fill: (--ctr-data-table-row-drag-area-icon-color, var(--sjs-layer-1-foreground-50, #00000080));
100100
}
101101
}
102102
}

packages/survey-creator-core/src/components/string-editor.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
padding: 0px;
6868
vertical-align: top;
6969
margin-inline-start: calcSize(2);
70-
color: $foreground-light;
70+
color: var(--ctr-text-decor-text-color-limitation, var(--sjs-layer-1-foreground-50, #00000080));
7171
}
7272

7373
.svc-string-editor__border {

packages/survey-creator-core/src/components/toolbox/toolbox.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@
252252
}
253253

254254
.svc-toolbox__category-header__button {
255-
fill: $foreground-light;
255+
fill: var(--ctr-toolbox-group-header-expand-button-color, var(--sjs-layer-1-foreground-75, #000000bf));
256256
height: var(--ctr-toolbox-item-icon-height, var(--sjs-font-size-x3));
257257
width: var(--ctr-toolbox-item-icon-width, var(--sjs-font-size-x3));
258258
}

packages/survey-creator-core/src/property-grid-theme/blocks/spg-question.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
justify-content: flex-end;
5555
align-items: flex-end;
5656
padding: 0px;
57-
color: $foreground-light;
57+
color: var(--ctr-editor-label-color, var(--sjs-layer-3-foreground-50, #00000080));
5858
position: absolute;
5959
inset-inline-end: calcSize(0.75);
6060
inset-block-end: calcSize(0.5);

packages/survey-creator-core/src/utils/context-button.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
}
3636

3737
use {
38-
fill: $foreground-light;
38+
fill: var(--ctr-survey-contextual-button-icon-color, var(--sjs-layer-1-foreground-50, #00000080));
3939
transition: fill $creator-transition-duration;
4040
}
4141
}

packages/survey-creator-core/src/variables.scss

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
@forward "./ctr-variables.scss";
33

44
$foreground: var(--sjs-general-forecolor, var(--foreground, #161616));
5-
$foreground-light: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
65

76
$base-unit: var(--sjs-base-unit, var(--base-unit, 8px));
87

0 commit comments

Comments
 (0)