1.3.6 • Published 7 months ago

seazon v1.3.6

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Seazon Logo

Installation

npm install seazon

How to use ?

Import theme from the library in your parent file

import theme from "seazon";

You inform your summer and winter seasons begining date in dd/MM format

theme.getThemeFromDate("20/06","18/12");

*The first date sets the start of the summer season and the second the end

Classes are automatically updated and can be declared in all project files. Here are the possible classes :

Class NameseasonHex
seazon-main-colorwinter#ebf5ee #ebf5ee
seazon-second-colorwinter#283044 #283044
seazon-third-colorwinter#78A1BB #78A1BB
seazon-main-colorsummer#f0ead2 #f0ead2
seazon-second-colorsummer#adc178 #adc178
seazon-third-colorsummer#dde5b6 #dde5b6

Here is a list of functions included by the module :

  • getThemeFromDate("date1","date2")

Devs

Arthur

Matis

Pierre

1.3.6

7 months ago

1.3.5

7 months ago

1.3.4

7 months ago

1.3.3

7 months ago

1.3.2

7 months ago

1.3.1

7 months ago

1.3.0

7 months ago

1.2.0

7 months ago

1.1.0

7 months ago

1.0.0

7 months ago