Skip to content

Commit 2492034

Browse files
author
DNZ\darius
committed
castlecss-form variables
1 parent b40f917 commit 2492034

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "castlecss-core",
3-
"version": "2.2.0",
3+
"version": "2.3.0",
44
"description": "CastleCSS a SCSS framework with modular building blocks for the web",
55
"main": "index.js",
66
"scripts": {

sass/variables.scss

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,20 +124,31 @@ $line-height-default: 1.5;
124124
$breadcrumbs-separator: '\00bb';
125125

126126
/* Form specific variables */
127+
128+
/* Standard Inputs */
127129
$input-height: 4.8rem;
130+
$input-bg-color: $color01;
131+
$input-bg-color-focus: $color01;
132+
$input-color: $color02;
133+
$input-color-focus: $color02;
134+
$input-border-color: #eee;
135+
$input-border-color-focus: #eee;
136+
$input-border: 1px solid $input-border-color;
137+
138+
/* Custom select */
139+
$select-arrow: "\203A";
128140

141+
/* Labels */
129142
$input-label-color: #aaa;
130143
$input-label-color-focus: #aaa;
131144

132-
$input-border-color: #eee;
133-
$input-border-color-focus: #eee;
134-
145+
/* Radios and Checkboxes*/
135146
$input-control-color: #eee;
136147
$input-control-color-focus: $theme01;
137148

138-
$input-border: 1px solid $input-border-color;
139-
140-
$input-transition: 0.1s ease-in-out;
149+
/* Form transitions */
150+
$input-transition: .1s all ease-in-out;
141151

152+
/* Icons */
142153
$input-icon-color: #eee;
143154
$input-icon-bg-color: #797979;

0 commit comments

Comments
 (0)