Skip to content

Commit 45d0763

Browse files
committed
update configuration re palette usage
1 parent 186d252 commit 45d0763

3 files changed

Lines changed: 10 additions & 8 deletions

File tree

src/components/Card/card.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@use "sass:color";
22

33
$card-padding: 0 !default;
4-
$card-background-color: $white !default;
4+
$card-background-color: #{eccgui-color-var("identity", "background", "100")} !default;
55
$card-selected-background-color: eccgui-color-rgba($blue3, 0.1);
66
$eccgui-size-card-spacing: $eccgui-size-typo-base !default;
77

@@ -83,7 +83,8 @@ $eccgui-size-card-spacing: $eccgui-size-typo-base !default;
8383
}
8484

8585
.#{$eccgui}-card--whitespace-large > header > & {
86-
padding: $eccgui-size-card-spacing $eccgui-size-card-spacing $eccgui-size-card-spacing $eccgui-size-card-spacing * 2;
86+
padding: $eccgui-size-card-spacing $eccgui-size-card-spacing $eccgui-size-card-spacing $eccgui-size-card-spacing *
87+
2;
8788
}
8889
}
8990

@@ -175,9 +176,9 @@ $eccgui-size-card-spacing: $eccgui-size-typo-base !default;
175176

176177
.#{$eccgui}-card__actions {
177178
display: flex;
178-
flex-flow: row wrap;
179179
flex-grow: 0;
180180
flex-shrink: 0;
181+
flex-flow: row wrap;
181182
align-items: center;
182183
padding: $eccgui-size-card-spacing * 0.25 $eccgui-size-card-spacing;
183184

@@ -241,8 +242,8 @@ $eccgui-size-card-spacing: $eccgui-size-typo-base !default;
241242

242243
.#{$eccgui}-card__actions__aux {
243244
display: flex;
244-
flex-flow: row wrap;
245245
flex-grow: 1;
246+
flex-flow: row wrap;
246247
align-items: center;
247248
justify-content: flex-end;
248249
order: 1000;

src/components/Tooltip/tooltip.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ $eccgui-size-typo-tooltip-lineheight: $eccgui-size-typo-caption-lineheight !defa
66
$eccgui-size-tooltip-width: 20em !default;
77

88
// library vars
9-
$tooltip-background-color: $eccgui-color-applicationheader-text; // !default;
10-
$tooltip-text-color: $eccgui-color-applicationheader-background; // !default;
9+
$tooltip-background-color: #{eccgui-color-var("layout", "grey", "900")};
10+
$tooltip-text-color: #{eccgui-color-var("identity", "text", "300")};
11+
1112
// $dark-tooltip-background-color: $light-gray3 !default;
1213
// $dark-tooltip-text-color: $dark-gray5 !default;
1314
$tooltip-padding-vertical: $eccgui-size-block-whitespace * 0.25; // !default;

src/extensions/react-flow/_config.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
$reactflow-background-color: $card-background-color !default;
22
$reactflow-node-basesize: $button-height !default;
33
$reactflow-node-largesize: mini-units(6) !default;
4-
$reactflow-node-border-color: $eccgui-color-workspace-text !default;
5-
$reactflow-node-background-color: $button-background-color !default;
4+
$reactflow-node-border-color: #{eccgui-color-var("identity", "text", "500")} !default;
5+
$reactflow-node-background-color: #{eccgui-color-var("layout", "grey", "100")} !default;
66
$reactflow-node-color: $eccgui-color-workspace-text !default;
77
$reactflow-node-font-size: $eccgui-size-typo-caption !default;
88
$reactflow-node-border-width: 2 * $button-border-width !default;

0 commit comments

Comments
 (0)