Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/dropdown/dropdown.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ import {
disabledOpacity,
dropdownBackground,
dropdownBorder,
dropdownForeground,
dropdownListMaxHeight,
focusBorder,
fontFamily,
foreground,
inputHeight,
inputMinWidth,
listActiveSelectionBackground,
Expand All @@ -35,7 +35,7 @@ export const dropdownStyles = (
${display('inline-flex')} :host {
background: ${dropdownBackground};
box-sizing: border-box;
color: ${dropdownForeground};
color: ${foreground};
contain: contents;
font-family: ${fontFamily};
height: calc(${inputHeight} * 1px);
Expand Down Expand Up @@ -99,7 +99,7 @@ export const dropdownStyles = (
}
:host([disabled]:hover) {
background: ${dropdownBackground};
color: ${dropdownForeground};
color: ${foreground};
fill: currentcolor;
}
:host(:not([disabled])) .control:active {
Expand Down
8 changes: 2 additions & 6 deletions src/radio-group/radio-group.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@ import {
ElementDefinitionContext,
FoundationElementDefinition,
} from '@microsoft/fast-foundation';
import {
checkboxForeground,
designUnit,
typeRampBaseFontSize,
} from '../design-tokens';
import {designUnit, foreground, typeRampBaseFontSize} from '../design-tokens';

export const radioGroupStyles = (
context: ElementDefinitionContext,
Expand All @@ -33,7 +29,7 @@ export const radioGroupStyles = (
flex-direction: row;
}
::slotted([slot='label']) {
color: ${checkboxForeground};
color: ${foreground};
font-size: ${typeRampBaseFontSize};
margin: calc(${designUnit} * 1px) 0;
}
Expand Down
4 changes: 2 additions & 2 deletions src/text-area/text-area.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ import {
dropdownBorder,
focusBorder,
fontFamily,
foreground,
inputBackground,
inputForeground,
inputMinWidth,
inputPlaceholderForeground,
typeRampBaseFontSize,
typeRampBaseLineHeight,
} from '../design-tokens';
Expand Down Expand Up @@ -77,7 +77,7 @@ export const textAreaStyles = (
}
.label {
display: block;
color: ${inputPlaceholderForeground};
color: ${foreground};
cursor: pointer;
font-size: ${typeRampBaseFontSize};
line-height: ${typeRampBaseLineHeight};
Expand Down
4 changes: 2 additions & 2 deletions src/text-field/text-field.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ import {
dropdownBorder,
focusBorder,
fontFamily,
foreground,
inputBackground,
inputForeground,
inputHeight,
inputMinWidth,
inputPlaceholderForeground,
typeRampBaseFontSize,
typeRampBaseLineHeight,
} from '../design-tokens';
Expand Down Expand Up @@ -70,7 +70,7 @@ export const textFieldStyles = (
}
.label {
display: block;
color: ${inputPlaceholderForeground};
color: ${foreground};
cursor: pointer;
font-size: ${typeRampBaseFontSize};
line-height: ${typeRampBaseLineHeight};
Expand Down