This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
Releases: cloukit/theme
Releases · cloukit/theme
7.1.1
7.1.0
- Introduced Builder to create styles and easier inherit from others
this.buildStyle('myelement', 'unclicked', 'base')
.withStyles(<CloukitBaseCssDefinitions>{
border: '1px solid #555',
borderRadius: '30px',
backgroundColor: '#fff'
});
this.buildStyle('myelement', 'unclicked', 'hover')
.inheritFrom('myelement', 'unclicked', 'base')
.withStyles(<CloukitBaseCssDefinitions>{
backgroundColor: '#c12fd7'
});