Skip to content

Commit

Permalink
the remaining type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianHoffmannS2 committed Nov 23, 2023
1 parent 1bbe500 commit d3bd02d
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export const { tokenizedLight: selectInputLight, tokenizedDark: selectInputDark
border-style: ${Input.Error.Rest.style};
border-color: transparent;
outline: ${Input.Error.Focus.width} ${Input.Error.Focus.style} ${Input.Error.Focus.color};
color: ${UserInput.Error.Focus};
color: ${UserInput.Error.Focused};
background-color: ${SurfaceFill.Error.Focus};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export const { tokenizedLight: textInputLight, tokenizedDark: textInputDark } =
border-style: ${Input.Error.Rest.style};
border-color: transparent;
outline: ${Input.Error.Focus.width} ${Input.Error.Focus.style} ${Input.Error.Focus.color};
color: ${UserInput.Error.Focus};
color: ${UserInput.Error.Focused};
background-color: ${SurfaceFill.Error.Focus};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const { tokenizedLight: sliderLight, tokenizedDark: sliderDark } = render
} = semanticTokens;

const splitPaddingFunc = () => {
const { cssText } = Tooltip.ContentCol.Padding;
const cssText = Tooltip.ContentCol.Padding;
const value = parseFloat(cssText.trim().split(" ")[1]);
return { doubleValue: `${value}px`, singleValue: `${value / 2}px` };
};
Expand Down
10 changes: 5 additions & 5 deletions packages/ui-library/src/foundation/component-tokens/ui.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ export const { tokenizedLight: buttonGroupLight, tokenizedDark: buttonGroupDark

return typeSafeNestedCss`
.blr-button-group.xs {
gap: ${UI.ButtonGroup.XS.ItemSpacing};
gap: ${UI.ButtonGroup.Container.ItemSpacing.XS};
}
.blr-button-group.sm {
gap: ${UI.ButtonGroup.SM.ItemSpacing};
gap: ${UI.ButtonGroup.Container.ItemSpacing.SM};
}
.blr-button-group.md {
gap: ${UI.ButtonGroup.MD.ItemSpacing};
gap: ${UI.ButtonGroup.Container.ItemSpacing.MD};
}
.blr-button-group.lg {
gap: ${UI.ButtonGroup.LG.ItemSpacing};
gap: ${UI.ButtonGroup.Container.ItemSpacing.LG};
}
.blr-button-group.xl {
gap: ${UI.ButtonGroup.XL.ItemSpacing};
gap: ${UI.ButtonGroup.Container.ItemSpacing.XL};
}
`;
});
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const { tokenizedLight: formLight, tokenizedDark: formDark } = renderThem
border-style: ${Input.Error.Rest.style};
border-color: transparent;
outline: ${Input.Error.Focus.width} ${Input.Error.Focus.style} ${Input.Error.Focus.color};
color: ${UserInput.Error.Focus};
color: ${UserInput.Error.Focused};
background-color: ${SurfaceFill.Error.Focus};
&::placeholder {
Expand Down Expand Up @@ -250,7 +250,7 @@ export const { tokenizedLight: formLight, tokenizedDark: formDark } = renderThem
gap: ${SM.CaptionComponent.ItemSpacing};
.blr-icon {
padding: ${SM.CaptionComponent.IconWrapper.Padding};
padding: ${SM.CaptionComponent.IconWrapper.PaddingTop};
}
.blr-caption-text {
Expand All @@ -267,7 +267,7 @@ export const { tokenizedLight: formLight, tokenizedDark: formDark } = renderThem
gap: ${MD.CaptionComponent.ItemSpacing};
.blr-icon {
padding: ${MD.CaptionComponent.IconWrapper.Padding};
padding: ${MD.CaptionComponent.IconWrapper.PaddingTop};
}
.blr-caption-text {
Expand All @@ -284,7 +284,7 @@ export const { tokenizedLight: formLight, tokenizedDark: formDark } = renderThem
gap: ${LG.CaptionComponent.ItemSpacing};
.blr-icon {
padding: ${LG.CaptionComponent.IconWrapper.Padding};
padding: ${LG.CaptionComponent.IconWrapper.PaddingTop};
}
.blr-caption-text {
Expand Down

0 comments on commit d3bd02d

Please sign in to comment.