Skip to content

Commit

Permalink
Remove altTextColor
Browse files Browse the repository at this point in the history
  • Loading branch information
henck committed Jan 3, 2024
1 parent bbaf9f0 commit 2869fcd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/controls/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ const ButtonInnerStyled = styled(ButtonInnerBase).attrs(p => ({
${p => !p.basic && css`
background-color: ${p.finalColor}
${!p.hasColor && css`color: ${lighten(0.2, p.theme.fontColor)};`}
${p.hasColor && css`color: ${p.theme.altTextColor}; font-weight: 500;`}
${p.hasColor && css`color: ${p.theme.fontColor}; font-weight: 500;`}
`}
/* Colors, basic: */
Expand Down
4 changes: 2 additions & 2 deletions src/controls/Card/Meta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ const MetaStyled = styled(MetaBase)`
position: relative;
display: block;
padding: 0 14px 0 14px;
font-size: 90%;
color: #888;
font-size: 80%;
color: ${p => p.theme.fontColor};
&:last-child {
padding-bottom: 12px;
}
Expand Down
2 changes: 0 additions & 2 deletions src/styles/Theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ export interface IThemeInterface {
readonly secondaryColor: string;
readonly positiveColor: string;
readonly negativeColor: string;
readonly altTextColor: string;

readonly infoColor: IColorGroup;
readonly warningColor: IColorGroup;
Expand Down Expand Up @@ -98,7 +97,6 @@ const Theme: IThemeInterface = {
secondaryColor: "#1b1c1d",
positiveColor: "#21ba45",
negativeColor: "#db2828",
altTextColor: "#ffffff",

infoColor: { color: "rgb(39, 111, 134)", background: "rgb(248, 255, 255)", border: "rgb(169, 213, 222)" },
warningColor: { color: "rgb(87, 58, 8)", background: "rgb(255, 250, 243)", border: "rgb(201, 186, 155)" },
Expand Down

0 comments on commit 2869fcd

Please sign in to comment.