Origami Frontend Components & Services

SassDoc: ft-concept-button


Overlay close button styles.

The output does not include a class definition, and should be wrapped in a selector.


Output button styles

.my-close-button {
    @include oOverlayContentClose();


oTooltipAddTheme(name, opts)

Output styles for a custom o-tooltip theme.

parameter type default description
name The name of the custom theme. This is used to create a new CSS class name so should be descriptive and include the project name.
opts A map of theme options including "background-color" (color), "foreground-color" (color), and optionally "close-foreground-color" (color).


a custom tooltip theme named "my-product-modifier" with a slate background, and white foreground. Outputs a class 'o-tooltip--my-product-modifier'

// Outputs CSS class "o-tooltip--my-product-modifier"
@include oTooltipAddTheme('my-product-modifier', (
	'background-color': oColorsByName('slate'),
	'foreground-color': oColorsByName('white'),
	'close-foreground-color': oColorsByName('white') // optional



Silent mode: on (true) or off (false) Set to false to output default tooltip classes


Switch component view

GitHub: ft-concept-button@1.0.2

Install ft-concept-button

If using the Build Service, add ft-concept-button@^1.0.2 to your script and link tags.

If using the npm package manager for a Manual Build, run npm install --save-peer "@financial-times/ft-concept-button@^1.0.2".

Help & Support

ft-concept-button is maintained directly by the Origami team. If you have any questions about ft-concept-button or Origami in general, we are happy to help. 😊

Slack: #origami-support
Email: origami.support@ft.com

Feedback / Issues

To report a bug or request features please create an issue on Github. For support or general feedback please get in touch 😊

Slack: #origami-support
Email: origami.support@ft.com