-
Notifications
You must be signed in to change notification settings - Fork 1
Global Variables
You can change how Cell generates CSS by modifying the available global variables. To overwrite the default variables simply re-define them in your Sass before including your modules.
@import 'path/to/cell';
$moduleNamespace: 'CELL-';
@include module('button') {
display: inline-block;
}
.CELL-button, [class*="CELL-button--"] {
display: inline-block;
}
Prepend modules names with the specified namespace when generating CSS
Default | null |
---|---|
Type | String |
The glue to connect modifiers to modules/components
Default | -- |
---|---|
Type | String |
The glue to components to modules/components
Default | __ |
---|---|
Type | String |
When using the Option mixin, control whether modifiers are generated for each option
Default | true |
---|---|
Type | Boolean |
When using
this()
to retreive a configuration value or usingcreate-config()
to generate configuration, optionally parse the value(s) using a custom function
Default | null |
---|---|
Type |
String (name of the current module) |
When enabled, module configuration will be parsed as Cell Query
Default | false |
---|---|
Type | Bool |
WARNING: Do not manually overwrite this variable
Returns the name of the current module (alias:
$this
)
Default | null |
---|---|
Type |
String (name of a function) |