1.1.2 • Published 4 years ago

sme-theme v1.1.2

Weekly downloads
61
License
ISC
Repository
github
Last release
4 years ago

SME Theme

This is a BETA module and is exclusive to ReactJS.

Installation

npm i sme-theme

How To Use

Importing the JS

The sme-theme has over 30 components, but you can only import as many as you need into your page, as follows: import { Text, Title, Button, etc } from "sme-theme". The list of available components is below.

After importing a component, use it as follows: <Component attribute={value}>{content}</Component>

Each component has its own characteristics, such as specific attributes and some has no child content.

  • Component example with content: <Text className="my-text" tag="span">{content}</Text>

  • Component example without content: <Image className="my-image" src="logo.svg"/>

The components were developed with minimal changes to the html tags and the tags proposed by ReactJS.

Importing the SCSS

To import scss into your project, use in your scss: @import "../node_modules/sme-theme/src/theme.scss";

You can import the default theme or create your own in your application. Just follow the steps:

  • Check which variables will be modified in: node_modules/sme-theme/src/vatiables.scss
  • In the default application scss reset the variables, example: $ font-family: Montserrat! default;
  • Immediately after that, import the main theme scss: node_modules/sme-theme/src/theme.scss

List of components:

Attributes are listed in square brackets: []

Basics

Layout

Modules

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.70

4 years ago

1.0.69

4 years ago

1.0.68

4 years ago

1.0.67

4 years ago

1.0.66

4 years ago

1.0.65

4 years ago

1.0.64

4 years ago

1.0.63

4 years ago

1.0.62

4 years ago

1.0.61

4 years ago

1.0.60

4 years ago

1.0.59

4 years ago

1.0.58

4 years ago

1.0.57

4 years ago

1.0.56

4 years ago

1.0.55

4 years ago

1.0.54

4 years ago

1.0.53

4 years ago

1.0.52

5 years ago

1.0.51

5 years ago

1.0.50

5 years ago

1.0.49

5 years ago

1.0.48

5 years ago

1.0.47

5 years ago

1.0.46

5 years ago

1.0.45

5 years ago

1.0.44

5 years ago

1.0.43

5 years ago

1.0.42

5 years ago

1.0.41

5 years ago

1.0.40

5 years ago

1.0.39

5 years ago

1.0.38

5 years ago

1.0.37

5 years ago

1.0.36

5 years ago

1.0.35

5 years ago

1.0.34

5 years ago

1.0.33

5 years ago

1.0.32

5 years ago

1.0.31

5 years ago

1.0.30

5 years ago

1.0.29

5 years ago

1.0.28

5 years ago

1.0.27

5 years ago

1.0.26

5 years ago

1.0.25

5 years ago

1.0.24

5 years ago

1.0.23

5 years ago

1.0.22

5 years ago

1.0.21

5 years ago

1.0.20

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago