@@ -127,6 +127,40 @@ $helpers: (
127127 )
128128 ),
129129 ///
130+ /// Background Colors
131+ /// The background-color property sets
132+ /// the background color of an element. The background of
133+ /// an element is the total size of the element,
134+ /// including padding and border (but not the margin).
135+ ///
136+ /// @example bg-color
137+ /// @example bg-primary
138+ ///
139+ ' background-color' : (
140+ ' enabled' : true, // true or false
141+ ' property' : ' background-color' , // css property name (don't change it !)
142+ ' prefix' : ' bg-' , // prefix of class name
143+ ' specificity' : !important , // or null
144+ ' unit' : null, // length units (px, rem, em, %, vh, vw etc)
145+ ' specs' : null, // for extra variables
146+ ' palette' : (
147+ ' shade-step' : 5 ,
148+ ' max-range' : 50
149+ ),
150+ ' values' : (
151+ // class name (suffix), value
152+ (" color" , theme (' color' , ' background' )),
153+ (" grey" , color .$grey ),
154+ (" white" , white ),
155+ (" black" , black ),
156+ (" dark" , theme (' color' , ' dark' )),
157+ (" primary" , theme (' color' , ' primary' )),
158+ (" success" , theme (' color' , ' success' )),
159+ (" warning" , theme (' color' , ' warning' )),
160+ (" error" , theme (' color' , ' error' ))
161+ )
162+ ),
163+ ///
130164 /// Background Origin
131165 /// The background-origin property specifies
132166 /// the origin position (the background positioning area)
@@ -210,36 +244,6 @@ $helpers: (
210244 ' values' : (auto ,cover ,contain )
211245 ),
212246 ///
213- /// Background Colors
214- /// The background-color property sets
215- /// the background color of an element. The background of
216- /// an element is the total size of the element,
217- /// including padding and border (but not the margin).
218- ///
219- /// @example bg-color
220- /// @example bg-primary
221- ///
222- ' background-color' : (
223- ' enabled' : true, // true or false
224- ' property' : ' background-color' , // css property name (don't change it !)
225- ' prefix' : ' bg-' , // prefix of class name
226- ' specificity' : !important , // or null
227- ' unit' : null, // length units (px, rem, em, %, vh, vw etc)
228- ' specs' : null, // for extra variables
229- ' values' : (
230- // class name (suffix), value
231- (" color" , theme (' color' , ' background' )),
232- (" grey" , color .$grey ),
233- (" white" , white ),
234- (" black" , black ),
235- (" dark" , theme (' color' , ' dark' )),
236- (" primary" , theme (' color' , ' primary' )),
237- (" success" , theme (' color' , ' success' )),
238- (" warning" , theme (' color' , ' warning' )),
239- (" error" , theme (' color' , ' error' ))
240- )
241- ),
242- ///
243247 /// Border Color
244248 ///
245249 /// The border-color property sets the color
@@ -373,6 +377,10 @@ $helpers: (
373377 ' specificity' : !important , // or null
374378 ' unit' : null, // length units (px, rem, em, %, vh, vw etc)
375379 ' specs' : null, // for extra variables
380+ ' palette' : (
381+ ' shade-step' : 5 ,
382+ ' max-range' : 50
383+ ),
376384 ' values' : (
377385 // class name (suffix), value
378386 (" grey" , color .$grey ),
0 commit comments