Skip to content

Commit a6bebd9

Browse files
Merge pull request #27 from CastleCSS/Helper-classes-for-color-and-background-color
Helper classes for color and background color
2 parents 27df3c7 + 276d9eb commit a6bebd9

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

sass/base/utility.scss

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,45 @@
102102
border-radius: $radius;
103103
}
104104

105+
/* Helper classes for color and background-color */
106+
.color-color01 {
107+
color: $color01;
108+
}
109+
.color-color02 {
110+
color: $color02;
111+
}
112+
.color-color03 {
113+
color: $color03;
114+
}
115+
.bgcolor-color01 {
116+
background-color: $color01;
117+
}
118+
.bgcolor-color02 {
119+
background-color: $color02;
120+
}
121+
.bgcolor-color03 {
122+
background-color: $color03;
123+
}
124+
125+
.color-theme01 {
126+
color: $theme01;
127+
}
128+
.color-theme02 {
129+
color: $theme02;
130+
}
131+
.color-theme03 {
132+
color: $theme03;
133+
}
134+
.bgcolor-theme01 {
135+
background-color: $theme01;
136+
}
137+
.bgcolor-theme02 {
138+
background-color: $theme02;
139+
}
140+
.bgcolor-theme03 {
141+
background-color: $theme03;
142+
}
143+
105144
/* Clearfix */
106145
.cf:before, .cf:after {content:"";display:table;}
107146
.cf:after, .g:after {clear:both;}

0 commit comments

Comments
 (0)