@schibstedspain/maplus-theme

1.17.0 • Public • Published

Milanuncios Plus theme

This repository contains a set of customized variables to initialize values and component styles for Milanuncios Plus

Naming conventions

sui-theme and all sui styles in general run over some class naming and variable naming conventions:

Classname naming runs over the follow convention:

For root elements

<div className='sui-DummyComponent'> // ROOT ELEMENT -> sui-<ComponentName> in pascal case notation
``
*For first childs*`
```html
<div className='sui-DummyComponent'> // ROOT ELEMENT -> sui-<ComponentName> in pascal case notation
         <div className='sui-DummyComponent-firstChild'> // FIRST CHILD -> sui-<ComponentName>-<childName> child name in camel case notation

Usage

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

@import '~@schibstedspain/maplus-theme/src/index';

Update

If you need to update any of these variables please do it under pull request system.

Package Sidebar

Install

npm i @schibstedspain/maplus-theme

Weekly Downloads

17

Version

1.17.0

License

ISC

Unpacked Size

12.3 kB

Total Files

18

Last publish

Collaborators

  • schibstedspain