color: ${themeColor('textSuccess')};
`;
-export const DisabledText = styled.span`
+export const TextDisabled = styled.span`
${tw`sw-font-regular`};
- color: ${themeColor('pageContentLight')};
+ color: ${themeColor('textDisabled')};
+`;
+
+export const TextSubdued = styled.span`
+ ${tw`sw-font-regular`};
+ color: ${themeColor('textSubdued')};
`;
export const LightLabel = styled.span`
danger: danger.dark,
// text
+ textDisabled: COLORS.blueGrey[300],
+ textSubdued: COLORS.blueGrey[400],
textSuccess: COLORS.yellowGreen[700],
//Project list card
Badge,
BasicSeparator,
ClipboardIconButton,
- DisabledText,
HelperHintIcon,
IssueMessageHighlighting,
LightLabel,
LinkIcon,
Note,
PageContentFontWrapper,
+ TextSubdued,
themeBorder,
} from 'design-system';
import * as React from 'react';
},
]}
>
- <DisabledText className="sw-flex sw-items-center sw-gap-1">
+ <TextSubdued className="sw-flex sw-items-center sw-gap-1">
<IssueTypeIcon fill="iconTypeDisabled" type={ruleDetails.type} aria-hidden />
{translate('issue.type', ruleDetails.type)}
- </DisabledText>
+ </TextSubdued>
</DocumentationTooltip>
</Note>
);
},
]}
>
- <DisabledText className="sw-flex sw-items-center sw-gap-1">
+ <TextSubdued className="sw-flex sw-items-center sw-gap-1">
<IssueSeverityIcon
fill="iconSeverityDisabled"
severity={this.props.ruleDetails.severity as IssueSeverityType}
aria-hidden
/>
{translate('severity', this.props.ruleDetails.severity)}
- </DisabledText>
+ </TextSubdued>
</DocumentationTooltip>
</Note>
);
import {
Badge,
DangerButtonSecondary,
- DisabledText,
InheritanceIcon,
Link,
OverridenIcon,
+ TextSubdued,
themeBorder,
} from 'design-system';
import * as React from 'react';
},
]}
>
- <DisabledText className="sw-ml-3 sw-whitespace-nowrap">
+ <TextSubdued className="sw-ml-3 sw-whitespace-nowrap">
<TypeHelper
className="sw-flex sw-items-center"
iconFill="iconTypeDisabled"
type={rule.type}
/>
- </DisabledText>
+ </TextSubdued>
</DocumentationTooltip>
{allTags.length > 0 && (
<TagsList allowUpdate={false} className="sw-ml-3" tags={allTags} />
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-import { DisabledText } from 'design-system';
+import { TextSubdued } from 'design-system';
import * as React from 'react';
import { translate } from '../../../helpers/l10n';
import { IssueSeverity as IssueSeverityType } from '../../../types/issues';
},
]}
>
- <DisabledText className="sw-flex sw-items-center sw-gap-1">
+ <TextSubdued className="sw-flex sw-items-center sw-gap-1">
<IssueSeverityIcon
fill="iconSeverityDisabled"
severity={issue.severity as IssueSeverityType}
aria-hidden
/>
{translate('severity', issue.severity)}
- </DisabledText>
+ </TextSubdued>
</DocumentationTooltip>
);
}
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-import { DisabledText } from 'design-system';
+import { TextSubdued } from 'design-system';
import * as React from 'react';
import { translate } from '../../../helpers/l10n';
import { Issue } from '../../../types/types';
},
]}
>
- <DisabledText className="sw-flex sw-items-center sw-gap-1">
+ <TextSubdued className="sw-flex sw-items-center sw-gap-1">
<IssueTypeIcon fill="iconTypeDisabled" type={issue.type} aria-hidden />
{translate('issue.type', issue.type)}
- </DisabledText>
+ </TextSubdued>
</DocumentationTooltip>
);
}