@adv-ui/sui-theme

8.69.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i @adv-ui/sui-theme

Weekly Downloads

4

Version

8.69.0

License

ISC

Unpacked Size

82 kB

Total Files

49

Last publish

Collaborators

  • andresin87.adevinta
  • joanleon-adv
  • izeller
  • luard-adv
  • serena.mejias
  • ignacio_navarro
  • jordi.munoz
  • oscar_ramirez
  • aitor.rodriguez
  • luis-garrido
  • ivanmlaborda
  • a.ferrer
  • jenifer.lopez
  • pa.chruscinski.ext
  • alejandro.ferrante
  • alfredo.arronte
  • francisco.ruiz.lloret
  • arnau.guell
  • jamile.radloff
  • schibstedspain
  • davidmartin2108
  • sergi.quintela
  • carlosvillu-adevinta
  • izaskunpena
  • oscar-raig-adevinta
  • ferran.simon
  • mariapaula.forero.ext
  • carlos.gonzalezl
  • oriol.puig
  • david.nieto
  • nacho_torrella
  • xavi.murcia
  • sabri-castelli
  • javier.miguel
  • pablogs
  • ignacio.rodriguez
  • isabelgomez87
  • sziauberyte
  • oriol.hilari
  • hpintos_adevinta
  • javiauso
  • azahara
  • mario.fernandez.ext
  • marian.lucaci
  • alisa_bayanova
  • cristhianb
  • sergiocollado
  • pablo.rey-adevinta
  • beatrizip
  • alex.castells
  • tomasadevinta
  • marc.benito
  • sergio.escano
  • arturo.vicente
  • lolaruf
  • pol.valls
  • frandelacasa-adevinta
  • andresadv
  • carlos-barroso-ext
  • carolina.mallo.ext
  • daniel.perez.ext
  • cristina.rodriguez.duque
  • estefania_garcia
  • albert.peiro
  • victor.perez.adevinta
  • thomas.page.ext
  • sebastian.badea.adevinta
  • luz_adv
  • victoria.pasichnyk.ext
  • sendami.luque.ext
  • oscar.gomez
  • alfredo.narvaez
  • ruben-martin
  • emiliovz
  • dann41
  • sergi.martinez.adevinta
  • guillemgc3