-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ds-theme): add new css vars and refactor code
- Loading branch information
Showing
14 changed files
with
56 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
@import '@refinitiv-ui/halo-theme/src/custom-elements/ef-chart'; | ||
|
||
:host { | ||
&:extend(:host all); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
@import '@refinitiv-ui/halo-theme/src/custom-elements/ef-flag'; | ||
|
||
:host { | ||
&:extend(:host all); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
@import '@refinitiv-ui/halo-theme/src/custom-elements/ef-heatmap'; | ||
|
||
:host { | ||
&:extend(:host all); | ||
--below-point-color: @dataviz-color-scale-negative; | ||
--above-point-color: @dataviz-color-scale-positive; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
@import '@refinitiv-ui/halo-theme/src/custom-elements/ef-icon'; | ||
|
||
:host { | ||
&:extend(:host all); | ||
} |
4 changes: 0 additions & 4 deletions
4
packages/ds-theme/src/custom-elements/ef-interactive-chart.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
@import '@refinitiv-ui/halo-theme/src/custom-elements/ef-interactive-chart'; | ||
|
||
:host { | ||
&:extend(:host all); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
@import '@refinitiv-ui/halo-theme/src/custom-elements/ef-led-gauge'; | ||
|
||
:host { | ||
&:extend(:host all); | ||
--range-color: @cont-color-status-fg-info-base; | ||
--bottom-selected-color: @cont-color-status-fg-neutral-base; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
@import '@refinitiv-ui/halo-theme/src/custom-elements/ef-progress-bar'; | ||
|
||
:host { | ||
&:extend(:host all); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
@import '@refinitiv-ui/halo-theme/src/custom-elements/ef-sparkline'; | ||
|
||
:host { | ||
&:extend(:host all); | ||
--upper-line-color: @cont-color-status-bg-positive-base; | ||
--lower-line-color: @cont-color-status-bg-negative-base; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
@import '@refinitiv-ui/halo-theme/src/custom-elements/ef-tornado-chart'; | ||
|
||
:host { | ||
&:extend(:host all); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
@import '@refinitiv-ui/halo-theme/src/custom-elements/ef-tornado-item'; | ||
|
||
:host { | ||
&:extend(:host all); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
@import '@refinitiv-ui/halo-theme/src/native-elements/html'; | ||
|
||
// Expose global background color in DS Theme | ||
// This helps to solve background color in demo page and several users requested for this | ||
@css-properties-extra: { | ||
--color-scheme-background-color: @global-background-color; | ||
--color-scheme-text-color: @global-text-color; | ||
}; | ||
|
||
html { | ||
@css-properties-extra(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters