Skip to content

Commit 50dffae

Browse files
gjulivanyordan-st
authored andcommitted
refactor: remove unused root CSS variables
1 parent d6cb0f3 commit 50dffae

File tree

3 files changed

+3
-28
lines changed

3 files changed

+3
-28
lines changed

packages/modules/data-widgets/src/themesource/datawidgets/web/_gallery-design-properties.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
position: absolute;
4343
left: 0;
4444
right: 0;
45-
border-bottom: 1px solid var(--grid-border-color, $dg-grid-border-color);
46-
margin-top: calc(var(--spacing-small, $dg-spacing-small) / 2);
45+
border-bottom: 1px solid var(--grid-border-color, $grid-border-color);
46+
margin-top: calc(var(--spacing-small, $spacing-small) / 2);
4747
}
4848
}
4949
}

packages/modules/data-widgets/src/themesource/datawidgets/web/_refresh-indicator.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
background-color: var(--border-color-default, #ced0d3);
1616
border: none;
1717
border-radius: 2px;
18-
color: var(--brand-primary, $dg-brand-primary);
18+
color: var(--brand-primary, $brand-primary);
1919
height: 4px;
2020
width: 100%;
2121
position: absolute;

packages/modules/data-widgets/src/themesource/datawidgets/web/variables.scss

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -34,28 +34,3 @@ $skeleton-background: linear-gradient(90deg, rgba(194, 194, 194, 0.2) 0%, #d2d2d
3434

3535
// Assets
3636
$arrow: "resources/dropdown-arrow.svg" !default;
37-
38-
:root {
39-
--bg-color: #{$bg-color};
40-
--icon-color: #{$icon-color};
41-
--icon-size: #{$icon-size};
42-
--pagination-button-color: #{$pagination-button-color};
43-
--pagination-caption-color: #{$pagination-caption-color};
44-
--dragging-color-effect: #{$dragging-color-effect};
45-
--dragging-effect-size: #{$dragging-effect-size};
46-
--bg-color-secondary: #{$bg-color-secondary};
47-
--bg-color-hover: #{$bg-color-hover};
48-
--spacing-small: #{$spacing-small};
49-
--spacing-medium: #{$spacing-medium};
50-
--spacing-large: #{$spacing-large};
51-
--grid-border-color: #{$grid-border-color};
52-
--brand-primary: #{$brand-primary};
53-
--brand-light: #{$brand-light};
54-
--grid-selected-row-background: #{$grid-selected-row-background};
55-
--skeleton-background: #{$skeleton-background};
56-
--hover-color: #{$hover-color};
57-
--selected-color: #{$selected-color};
58-
--border-color-default: #{$border-color-default};
59-
--item-min-height: #{$item-min-height};
60-
--arrow: #{$arrow};
61-
}

0 commit comments

Comments
 (0)