Skip to content
Snippets Groups Projects
Commit 8e59a0d7 authored by Loïc Correnson's avatar Loïc Correnson Committed by Allan Blanchard
Browse files

[dome] fixed icon styles

parent 16357f83
No related branches found
No related tags found
No related merge requests found
...@@ -197,7 +197,7 @@ export const CircButton = (props: ButtonProps): JSX.Element => { ...@@ -197,7 +197,7 @@ export const CircButton = (props: ButtonProps): JSX.Element => {
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
export type IconButtonKind = export type IconButtonKind =
undefined | 'selected' | 'default' | 'negative' | 'positive' | 'warning'; 'default' | 'positive' | 'negative' | 'warning';
export interface IconButtonProps { export interface IconButtonProps {
/** Icon identifier. Displayed on the left side of the label. */ /** Icon identifier. Displayed on the left side of the label. */
......
...@@ -96,7 +96,8 @@ export function SVG(props: SVGprops): null | JSX.Element { ...@@ -96,7 +96,8 @@ export function SVG(props: SVGprops): null | JSX.Element {
// --- Icon Component // --- Icon Component
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
export type IconKind = 'disabled' | 'warning' | 'positive' | 'negative'; export type IconKind =
'disabled' | 'selected' | 'positive' | 'negative' | 'warning';
/** Icon Component Properties */ /** Icon Component Properties */
export interface IconProps extends SVGprops { export interface IconProps extends SVGprops {
......
...@@ -30,10 +30,11 @@ ...@@ -30,10 +30,11 @@
} }
.dome-xIcon-default { fill: var(--var-info-text-discrete) ; } .dome-xIcon-default { fill: var(--var-info-text-discrete) ; }
.dome-xIcon-disabled { fill: var(--background-intense) ; }
.dome-xIcon-selected { fill: var(--activated-button-color) ; }
.dome-xIcon-positive { fill: var(--positive-button-color) ; } .dome-xIcon-positive { fill: var(--positive-button-color) ; }
.dome-xIcon-negative { fill: var(--negative-button-color) ; } .dome-xIcon-negative { fill: var(--negative-button-color) ; }
.dome-xIcon-warning { fill: var(--warning-button-color) ; } .dome-xIcon-warning { fill: var(--warning-button-color) ; }
.dome-xIcon-disabled { fill: var(--background-intense) ; }
.dome-xBadge { .dome-xBadge {
flex: 0 0 auto ; flex: 0 0 auto ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment