Socket
Socket
Sign inDemoInstall

@adv-ui/sui-theme

Package Overview
Dependencies
0
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @adv-ui/sui-theme

Generic theme to add styles to all SUI components


Version published
Weekly downloads
18
increased by500%
Maintainers
2
Install size
80.1 kB
Created
Weekly downloads
 

Changelog

Source

8.69.0 (2020-02-26)

Features

  • Root: fix typo (b40594a)
  • Root: fix typo in version (65b04e8)
  • settings: added Motion variables settings (6e18885)
  • settings: removed values, rceate aliases and change package name (3a8e8f8)

Readme

Source

SUI Components Theme

This repository contains:

  • Generic variables to initialize default values and component styles.
  • A set of placeholders ready to style your component (buttons, tabs, forms, grid system...).
  • Functions and mixins helpers.

Usage

Import sui-theme into your sui-component including the path in index.scss:

@import '../node_modules/@schibstedspain/sui-theme/lib/index';

If you want to customize your components, create your own theme and add it to your component just before the sui-theme import.

@import '../custom-settings';
@import '~@schibstedspain/sui-theme/lib/index';

Upgrade from theme-basic@7

Compatibility variables are still available to import manually.

Import only what you need, in inheritance order

For instance:

@import '../custom-settings';
@import '~@schibstedspain/sui-theme/lib/settings-compat-v7/color';
@import '~@schibstedspain/sui-theme/lib/settings-compat-v7/spacing';
@import '~@schibstedspain/sui-theme/lib/index';

Find below de compat varible groups available:

Also, if you need it all for older components, you can do

@import '~@schibstedspain/sui-theme/lib/settings-compat-v7/index';
@import '~@schibstedspain/sui-theme/lib/index';

Update

If you need to update any of these variables please pull request.

Keywords

FAQs

Last updated on 26 Feb 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc