@max-width-breakpoint-mobile:calc(640px-1px);//Amobiledevice's maximum available screen width. Many older feature phones have screens smaller than this value.
@max-width-breakpoint-tablet: calc( 1120px - 1px ); // A tablet device'smaximumavailablescreenwidth.Note,thesizechoseniseagertobere-evaluatedwithWebteamandProductAnalytics.
@max-width-breakpoint-desktop:calc(1680px-1px);//Adesktopdevice's maximum available screen width.
@max-width-button: 28rem; // Note, that this is a slight amendment from WikimediaUI Base from `28.75em` = `460px` to `448px` – `dimension.2800`
@border-style-base: solid;
@border-style-dashed: dashed;
@box-shadow-drop-small: 0 1px 1px rgba( 0, 0, 0, 0.2 ); // This features color as part of the theme token value.
@box-shadow-drop-medium: 0 2px 2px 0 rgba( 0, 0, 0, 0.2 ); // This features color as part of the theme token value.
@box-shadow-drop-xx-large: 0 20px 48px 0 rgba( 0, 0, 0, 0.2 ); // This features color as part of the theme token value.
@spacing-start-typeahead-search-figure:12px;//TheamountofspacebetweentheTypeaheadSearchfigure's parent component and the TypeaheadSearch figure (input icon container, search result thumbnail, and footer icon container). We want this space to be uniform so that the figures vertically line up nicely. We use the same horizontal padding as the MenuItem.
@spacing-start-typeahead-search-icon: calc( 12px + ( 40px - 20px ) / 2 ); // The padding required for the icon to center align with the menu item thumbnail. We calculate the difference in size and add it to the expected spacing.
@spacing-typeahead-search-focus-addition: calc( ( 12px + 40px ) - ( 20px + 8px ) ); // The amount the width of the input increases when it is focused to allow for the extra spacing around the search figures. The caret position should remain static. This calculates the padding-left of the input when expanded minus the padding-left of the input when not expanded. (Note that both padding values actually include `@spacing-50` as well, but it was left out of the calculation for simplicity'ssake.)