Skip to content

An open source design system that's fully customizable and agent ready

TypeScript
595 B
Raw Blame
// Copyright (c) Meta Platforms, Inc. and affiliates.

/**
 * @file selectorPresentation.stylex.ts
 * @input Uses field border tokens
 * @output Shared focus-return styles for Selector and MultiSelector
 * @position Internal visual policy for selector presentation changes
 */

import * as stylex from '@stylexjs/stylex';
import {colorVars} from '../theme/tokens.stylex';

export const selectorPresentationStyles = stylex.create({
  pointerRestoredFocus: {
    borderColor: colorVars['--color-border-emphasized'],
    boxShadow: 'none',
    outlineWidth: '0',
    outlineStyle: 'none',
  },
});