Skip to content
This repository has been archived by the owner on Nov 29, 2019. It is now read-only.
/ theme-mixin Public archive

scss theme mixin for create themes in css

License

Notifications You must be signed in to change notification settings

dudiq/theme-mixin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

SCSS theme mixins

scss mixins for create theme styles in project

@import "theme/mixin-theme";

.example {
    @include set-color-theme(color, clr-invert);
    @include set-color-theme-sub(background-color, clr-primary, '', '!important');
}

it will generate to

.example {
    color: #e0e0e0;
    background-color: #212121 !important;
}

.theme-light .example {
    color: #212121;
}

.theme-light .example {
    background-color: #e0e0e0 !important;
}

licence: MIT, dudiq 2018

About

scss theme mixin for create themes in css

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages