Origami Frontend Components & Services

SassDoc: o-social-follow

oSocialFollow(opts)

Output all o-social-follow styles.

parameter type default description
opts (optional) ('icons': ('twitter', 'facebook', 'linkedin', 'instagram'), 'themes': ('inverse')) The o-social-follow variants to include styles for (see the README for more details).

Examples

Example #1

all styles.

@include oSocialFollow();

Example #2

styles for select variants.

@include oSocialFollow($opts: (
     'icons': ('twitter', 'facebook', 'linkedin', 'instagram'),
     'standalone': true,
     'themes': ('inverse')
 ));

Links

oOverlayContentClose

Overlay close button styles.

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

Example

Output button styles

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

Links

oFormsAddCustom(...)

parameter type default description
input Type of input to customise, one of 'anchor' or 'radio'
icons A list of icons to render
theme Custom theme map

Links

Status
active
Switch component view

GitHub: o-social-follow@1.0.3

Install o-social-follow

If using the Build Service, add o-social-follow@^1.0.3 to your link tag.

If using the npm package manager for a Manual Build, run npm install --save-peer "@financial-times/o-social-follow@^1.0.3".

Help & Support

o-social-follow is maintained directly by the Origami team. If you have any questions about o-social-follow 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