@porsche-design-system/components-angular
Version:
Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.
20 lines (19 loc) • 562 B
TypeScript
type Offset = 'small' | 'none';
type BorderRadius = 'small' | 'medium';
export type Options = {
offset?: Offset | string;
borderRadius?: BorderRadius | string;
};
export declare const getFocusStyle: (opts?: Options) => {
readonly selectors: {
readonly '&:focus': {
readonly outline: "2px solid #1A44EA";
readonly outlineOffset: string | 0;
};
readonly '&:focus:not(:focus-visible)': {
readonly outlineColor: "transparent";
};
};
readonly borderRadius: string;
};
export {};