playbook_ui 11.4.0.pre.alpha.rubytheme2 → 11.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_date/_date.tsx +1 -1
- data/app/pb_kits/playbook/pb_date_time/{_date_time.tsx → _date_time.jsx} +5 -2
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_align.jsx +1 -1
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_size.jsx +1 -1
- data/app/pb_kits/playbook/pb_dialog/_dialog.jsx +14 -32
- data/app/pb_kits/playbook/pb_dialog/_dialog.scss +0 -5
- data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_body.jsx +2 -2
- data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_footer.jsx +4 -22
- data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_header.jsx +3 -3
- data/app/pb_kits/playbook/pb_dialog/dialog.test.jsx +17 -79
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_stacked_alert.jsx +93 -55
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_status.jsx +42 -79
- data/app/pb_kits/playbook/pb_hashtag/_hashtag.tsx +1 -10
- data/app/pb_kits/playbook/pb_hashtag/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_hashtag/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_hashtag/hashtag.html.erb +1 -1
- data/app/pb_kits/playbook/pb_hashtag/hashtag.rb +0 -6
- data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.jsx +0 -3
- data/app/pb_kits/playbook/pb_home_address_street/city_emphasis.html.erb +1 -2
- data/app/pb_kits/playbook/pb_home_address_street/city_emphasis.rb +0 -2
- data/app/pb_kits/playbook/pb_home_address_street/docs/example.yml +0 -3
- data/app/pb_kits/playbook/pb_home_address_street/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_home_address_street/home_address_street.rb +0 -4
- data/app/pb_kits/playbook/pb_home_address_street/street_emphasis.html.erb +1 -2
- data/app/pb_kits/playbook/pb_home_address_street/street_emphasis.rb +1 -4
- data/app/pb_kits/playbook/pb_time/_time.tsx +2 -2
- data/app/pb_kits/playbook/tokens/_colors.scss +74 -74
- data/app/pb_kits/playbook/tokens/_typography.scss +8 -8
- data/lib/playbook/version.rb +2 -2
- metadata +6 -14
- data/app/pb_kits/playbook/pb_date_time/dateTime.test.js +0 -110
- data/app/pb_kits/playbook/pb_hashtag/docs/_hashtag_link.html.erb +0 -5
- data/app/pb_kits/playbook/pb_hashtag/docs/_hashtag_link.jsx +0 -26
- data/app/pb_kits/playbook/pb_hashtag/docs/_hashtag_link.md +0 -1
- data/app/pb_kits/playbook/pb_hashtag/hashtag.test.js +0 -54
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_link.html.erb +0 -12
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_link.jsx +0 -23
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_link.md +0 -1
@@ -12,70 +12,57 @@ const useDialog = (visible = false) => {
|
|
12
12
|
}
|
13
13
|
|
14
14
|
const DialogStatus = () => {
|
15
|
-
const [defaultAlertOpened, toggleDefaultAlert] = useDialog()
|
16
|
-
const [cautionAlertOpened, toggleCautionAlert] = useDialog()
|
17
|
-
const [deleteAlertOpened, toggleDeleteAlert] = useDialog()
|
18
15
|
const [infoAlertOpened, toggleInfoAlert] = useDialog()
|
16
|
+
const [cautionAlertOpened, toggleCautionAlert] = useDialog()
|
19
17
|
const [successAlertOpened, toggleSuccessAlert] = useDialog()
|
20
18
|
const [errorAlertOpened, toggleErrorAlert] = useDialog()
|
19
|
+
const [deleteAlertOpened, toggleDeleteAlert] = useDialog()
|
21
20
|
|
22
21
|
const dialogs = [
|
23
22
|
{
|
24
|
-
|
25
|
-
status: "default",
|
23
|
+
status: "info",
|
26
24
|
text: "Text explaining why there is an alert",
|
27
|
-
title: "Are you
|
28
|
-
toggle:
|
29
|
-
visible:
|
30
|
-
buttonOneText:"
|
31
|
-
buttonTwoText: "
|
25
|
+
title: "Are you Sure?",
|
26
|
+
toggle: toggleInfoAlert,
|
27
|
+
visible: infoAlertOpened,
|
28
|
+
buttonOneText:"No, Cancel",
|
29
|
+
buttonTwoText: "Yes, Action"
|
32
30
|
},
|
33
31
|
{
|
34
|
-
size: "status_size",
|
35
32
|
status: "caution",
|
36
33
|
text: "This is the action you will be taking",
|
37
|
-
title: "Are you
|
34
|
+
title: "Are you Sure?",
|
38
35
|
toggle: toggleCautionAlert,
|
39
36
|
visible: cautionAlertOpened,
|
40
|
-
buttonOneText:"
|
41
|
-
buttonTwoText: "
|
37
|
+
buttonOneText:"No, Cancel",
|
38
|
+
buttonTwoText: "Yes, Action"
|
42
39
|
},
|
43
40
|
{
|
44
|
-
size: "status_size",
|
45
41
|
status: "delete",
|
46
42
|
text: "You are about to delete ...",
|
47
43
|
title: "Delete",
|
48
44
|
toggle: toggleDeleteAlert,
|
49
45
|
visible: deleteAlertOpened,
|
50
|
-
buttonOneText:"
|
51
|
-
buttonTwoText: "
|
46
|
+
buttonOneText:"No, Cancel",
|
47
|
+
buttonTwoText: "Yes, Delete"
|
52
48
|
},
|
53
49
|
{
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
50
|
+
status: "error",
|
51
|
+
text: "Text explaining the error",
|
52
|
+
title: "Error Message",
|
53
|
+
toggle: toggleErrorAlert,
|
54
|
+
visible: errorAlertOpened,
|
55
|
+
buttonOneText:"No, Cancel",
|
56
|
+
buttonTwoText: "Ok, Thanks"
|
61
57
|
},
|
62
58
|
{
|
63
|
-
size: "sm",
|
64
59
|
status: "success",
|
65
60
|
text: "Text explaining what is successful",
|
66
61
|
title: "Success!",
|
67
62
|
toggle: toggleSuccessAlert,
|
68
63
|
visible: successAlertOpened,
|
69
|
-
buttonOneText: "
|
70
|
-
|
71
|
-
{
|
72
|
-
size: "sm",
|
73
|
-
status: "error",
|
74
|
-
text: "Text explaining the error",
|
75
|
-
title: "Error Message",
|
76
|
-
toggle: toggleErrorAlert,
|
77
|
-
visible: errorAlertOpened,
|
78
|
-
buttonOneText:"Oh no!",
|
64
|
+
buttonOneText:"No, Cancel",
|
65
|
+
buttonTwoText: "Ok, Thanks"
|
79
66
|
},
|
80
67
|
]
|
81
68
|
|
@@ -84,9 +71,9 @@ const DialogStatus = () => {
|
|
84
71
|
<Flex>
|
85
72
|
<Button
|
86
73
|
marginRight="md"
|
87
|
-
onClick={
|
74
|
+
onClick={toggleInfoAlert}
|
88
75
|
>
|
89
|
-
{"
|
76
|
+
{"Information Status"}
|
90
77
|
</Button>
|
91
78
|
<Button
|
92
79
|
marginRight="md"
|
@@ -94,29 +81,20 @@ const DialogStatus = () => {
|
|
94
81
|
>
|
95
82
|
{"Caution Status"}
|
96
83
|
</Button>
|
97
|
-
<Button
|
98
|
-
marginRight="md"
|
99
|
-
onClick={toggleDeleteAlert}
|
100
|
-
>
|
101
|
-
{"Delete Status"}
|
102
|
-
</Button>
|
103
|
-
<Button
|
104
|
-
marginRight="md"
|
105
|
-
onClick={toggleInfoAlert}
|
106
|
-
>
|
107
|
-
{"Information Status"}
|
108
|
-
</Button>
|
109
84
|
<Button
|
110
85
|
marginRight="md"
|
111
86
|
onClick={toggleSuccessAlert}
|
112
87
|
>
|
113
88
|
{"Success Status"}
|
114
89
|
</Button>
|
115
|
-
<Button
|
90
|
+
<Button onClick={toggleErrorAlert}>
|
91
|
+
{"Error Status"}
|
92
|
+
</Button>
|
93
|
+
<Button
|
116
94
|
marginRight="md"
|
117
|
-
onClick={
|
95
|
+
onClick={toggleDeleteAlert}
|
118
96
|
>
|
119
|
-
{"
|
97
|
+
{"Delete Status"}
|
120
98
|
</Button>
|
121
99
|
</Flex>
|
122
100
|
<Flex>
|
@@ -125,37 +103,22 @@ const DialogStatus = () => {
|
|
125
103
|
key={dialog.status}
|
126
104
|
onClose={dialog.toggle}
|
127
105
|
opened={dialog.visible}
|
128
|
-
size={dialog.size}
|
129
106
|
status={dialog.status}
|
130
107
|
text={dialog.text}
|
131
108
|
title={dialog.title}
|
132
109
|
>
|
133
|
-
<Dialog.Footer
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
</
|
145
|
-
<If condition={dialog.buttonTwoText}>
|
146
|
-
<Button
|
147
|
-
onClick={dialog.toggle}
|
148
|
-
paddingRight="xl"
|
149
|
-
>
|
150
|
-
{dialog.buttonOneText}
|
151
|
-
</Button>
|
152
|
-
<Button
|
153
|
-
onClick={dialog.toggle}
|
154
|
-
variant="secondary"
|
155
|
-
>
|
156
|
-
{dialog.buttonTwoText}
|
157
|
-
</Button>
|
158
|
-
</If>
|
110
|
+
<Dialog.Footer>
|
111
|
+
<Button
|
112
|
+
onClick={dialog.toggle}
|
113
|
+
variant="secondary"
|
114
|
+
>
|
115
|
+
{dialog.buttonOneText}
|
116
|
+
</Button>
|
117
|
+
<Button
|
118
|
+
onClick={dialog.toggle}
|
119
|
+
>
|
120
|
+
{dialog.buttonTwoText}
|
121
|
+
</Button>
|
159
122
|
</Dialog.Footer>
|
160
123
|
</Dialog>
|
161
124
|
))}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/* eslint-disable react/jsx-no-target-blank */
|
2
1
|
/* eslint-disable react/no-multi-comp, flowtype/space-before-type-colon */
|
3
2
|
|
4
3
|
import React from 'react'
|
@@ -15,8 +14,6 @@ type HashtagProps = {
|
|
15
14
|
dark?: boolean,
|
16
15
|
data?: string,
|
17
16
|
id?: string,
|
18
|
-
newWindow?: boolean,
|
19
|
-
rel?: string,
|
20
17
|
text?: string,
|
21
18
|
type: "default" | "home" | "project" | "appointment",
|
22
19
|
url?: string,
|
@@ -36,8 +33,6 @@ const Hashtag = (props: HashtagProps) => {
|
|
36
33
|
dark = false,
|
37
34
|
data = {},
|
38
35
|
id,
|
39
|
-
newWindow,
|
40
|
-
rel,
|
41
36
|
text,
|
42
37
|
type = 'default',
|
43
38
|
url,
|
@@ -54,11 +49,7 @@ const Hashtag = (props: HashtagProps) => {
|
|
54
49
|
className={classes}
|
55
50
|
id={id}
|
56
51
|
>
|
57
|
-
<a
|
58
|
-
href={url}
|
59
|
-
rel={(newWindow ? "noreferrer" : rel)}
|
60
|
-
target={(newWindow ? '_blank' : '_self')}
|
61
|
-
>
|
52
|
+
<a href={url}>
|
62
53
|
<Badge
|
63
54
|
dark={dark}
|
64
55
|
text={typeMap[type] + text}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
class: object.classname,
|
4
4
|
data: object.data,
|
5
5
|
id: object.id) do %>
|
6
|
-
<%= link_to object.url
|
6
|
+
<%= link_to object.url do %>
|
7
7
|
<%= pb_rails("badge", props: { dark: object.dark, variant: "primary", text: object.hashtag_text }) %>
|
8
8
|
<% end %>
|
9
9
|
<% end %>
|
@@ -3,8 +3,6 @@
|
|
3
3
|
module Playbook
|
4
4
|
module PbHashtag
|
5
5
|
class Hashtag < Playbook::KitBase
|
6
|
-
prop :new_window, type: Playbook::Props::Boolean,
|
7
|
-
default: false
|
8
6
|
prop :text
|
9
7
|
prop :type, type: Playbook::Props::Enum,
|
10
8
|
values: %w[default project home appointment],
|
@@ -19,10 +17,6 @@ module Playbook
|
|
19
17
|
type_text + text
|
20
18
|
end
|
21
19
|
|
22
|
-
def link_option
|
23
|
-
new_window ? "_blank" : "_self"
|
24
|
-
end
|
25
|
-
|
26
20
|
private
|
27
21
|
|
28
22
|
def type_text
|
@@ -20,7 +20,6 @@ type HomeAddressStreetProps = {
|
|
20
20
|
homeId: number,
|
21
21
|
houseStyle: string,
|
22
22
|
homeUrl: string,
|
23
|
-
newWindow: Boolean,
|
24
23
|
state: string,
|
25
24
|
zipcode: string,
|
26
25
|
territory: string,
|
@@ -36,7 +35,6 @@ const HomeAddressStreet = (props: HomeAddressStreetProps) => {
|
|
36
35
|
emphasis = 'street',
|
37
36
|
homeId,
|
38
37
|
homeUrl,
|
39
|
-
newWindow,
|
40
38
|
houseStyle,
|
41
39
|
state,
|
42
40
|
zipcode,
|
@@ -108,7 +106,6 @@ const HomeAddressStreet = (props: HomeAddressStreetProps) => {
|
|
108
106
|
<Hashtag
|
109
107
|
classname="home-hashtag"
|
110
108
|
dark={dark}
|
111
|
-
newWindow={newWindow}
|
112
109
|
text={homeId}
|
113
110
|
type="home"
|
114
111
|
url={homeUrl || '#'}
|
@@ -32,8 +32,7 @@
|
|
32
32
|
url: object.home_url || "#",
|
33
33
|
type: "home",
|
34
34
|
dark: object.dark,
|
35
|
-
classname: "home-hashtag"
|
36
|
-
new_window: object.new_window}) %>
|
35
|
+
classname: "home-hashtag"}) %>
|
37
36
|
<% end %>
|
38
37
|
|
39
38
|
<%= pb_rails "body", props: { color: "light", tag: "span", dark: object.dark } do %>
|
@@ -8,8 +8,6 @@ module Playbook
|
|
8
8
|
prop :city_state
|
9
9
|
prop :home_id, type: Playbook::Props::Number
|
10
10
|
prop :home_url
|
11
|
-
prop :new_window, type: Playbook::Props::Boolean,
|
12
|
-
default: false
|
13
11
|
prop :territory
|
14
12
|
prop :zip
|
15
13
|
prop :dark, type: Playbook::Props::Boolean, default: false
|
@@ -4,11 +4,8 @@ examples:
|
|
4
4
|
- home_address_street_default: Default
|
5
5
|
- home_address_street_emphasis: Emphasis
|
6
6
|
- home_address_street_modified: Modified
|
7
|
-
- home_address_street_link: Link
|
8
7
|
|
9
8
|
react:
|
10
9
|
- home_address_street_default: Default
|
11
10
|
- home_address_street_emphasis: Emphasis
|
12
11
|
- home_address_street_modified: Modified
|
13
|
-
- home_address_street_link: Link
|
14
|
-
|
@@ -1,4 +1,3 @@
|
|
1
1
|
export { default as HomeAddressStreetDefault } from './_home_address_street_default.jsx'
|
2
2
|
export { default as HomeAddressStreetEmphasis } from './_home_address_street_emphasis.jsx'
|
3
3
|
export { default as HomeAddressStreetModified } from './_home_address_street_modified.jsx'
|
4
|
-
export { default as HomeAddressStreetLink } from './_home_address_street_link.jsx'
|
@@ -12,8 +12,6 @@ module Playbook
|
|
12
12
|
prop :home_id, type: Playbook::Props::Number
|
13
13
|
prop :home_url
|
14
14
|
prop :house_style
|
15
|
-
prop :new_window, type: Playbook::Props::Boolean,
|
16
|
-
default: false
|
17
15
|
prop :state
|
18
16
|
prop :zipcode
|
19
17
|
prop :territory
|
@@ -55,7 +53,6 @@ module Playbook
|
|
55
53
|
dark: dark,
|
56
54
|
home_id: home_id,
|
57
55
|
home_url: home_url,
|
58
|
-
new_window: new_window,
|
59
56
|
territory: territory,
|
60
57
|
zip: zip,
|
61
58
|
}
|
@@ -69,7 +66,6 @@ module Playbook
|
|
69
66
|
dark: dark,
|
70
67
|
home_id: home_id,
|
71
68
|
home_url: home_url,
|
72
|
-
new_window: new_window,
|
73
69
|
territory: territory,
|
74
70
|
}
|
75
71
|
end
|
@@ -22,8 +22,7 @@
|
|
22
22
|
url: object.home_url || "#",
|
23
23
|
type: "home",
|
24
24
|
dark: object.dark,
|
25
|
-
classname: "home-hashtag"
|
26
|
-
new_window: object.new_window}) %>
|
25
|
+
classname: "home-hashtag"}) %>
|
27
26
|
<% end %>
|
28
27
|
|
29
28
|
<%= pb_rails "body", props: { color: "light", tag: "span", dark: object.dark } do %>
|
@@ -8,11 +8,8 @@ module Playbook
|
|
8
8
|
prop :city_state_zip
|
9
9
|
prop :home_id, type: Playbook::Props::Number
|
10
10
|
prop :home_url
|
11
|
-
prop :new_window, type: Playbook::Props::Boolean,
|
12
|
-
default: false
|
13
11
|
prop :territory
|
14
|
-
prop :dark, type: Playbook::Props::Boolean,
|
15
|
-
default: false
|
12
|
+
prop :dark, type: Playbook::Props::Boolean, default: false
|
16
13
|
end
|
17
14
|
end
|
18
15
|
end
|
@@ -3,7 +3,7 @@ import classnames from "classnames";
|
|
3
3
|
|
4
4
|
import DateTime from "../pb_kit/dateTime";
|
5
5
|
import { buildCss } from "../utilities/props";
|
6
|
-
import { globalProps
|
6
|
+
import { globalProps } from "../utilities/globalProps";
|
7
7
|
|
8
8
|
import Body from "../pb_body/_body";
|
9
9
|
import Caption from "../pb_caption/_caption";
|
@@ -20,7 +20,7 @@ type TimeProps = {
|
|
20
20
|
size?: "md" | "sm";
|
21
21
|
showTimezone?: boolean;
|
22
22
|
timeZone?: string;
|
23
|
-
}
|
23
|
+
};
|
24
24
|
|
25
25
|
const Time = (props: TimeProps) => {
|
26
26
|
const {
|
@@ -5,15 +5,15 @@ Base colors should not be documented.
|
|
5
5
|
Only document color use.
|
6
6
|
|
7
7
|
Colors -----------------------------*/
|
8
|
-
$royal: #0056CF
|
9
|
-
$purple: #9E64E9
|
10
|
-
$teal: #00C4D7
|
11
|
-
$red: #FF2229
|
12
|
-
$red_dark: #ff4a50
|
13
|
-
$yellow: #F9BB00
|
14
|
-
$green: #00CA74
|
15
|
-
$orange: #FD804C
|
16
|
-
$default: #93a8b8
|
8
|
+
$royal: #0056CF;
|
9
|
+
$purple: #9E64E9;
|
10
|
+
$teal: #00C4D7;
|
11
|
+
$red: #FF2229;
|
12
|
+
$red_dark: #ff4a50;
|
13
|
+
$yellow: #F9BB00;
|
14
|
+
$green: #00CA74;
|
15
|
+
$orange: #FD804C;
|
16
|
+
$default: #93a8b8;
|
17
17
|
$colors: (
|
18
18
|
royal: $royal,
|
19
19
|
purple: $purple,
|
@@ -26,15 +26,15 @@ $colors: (
|
|
26
26
|
);
|
27
27
|
|
28
28
|
/* Specialty Gradient -----------------*/
|
29
|
-
$gradient_start: #1C75F2
|
30
|
-
$gradient_end: $royal
|
29
|
+
$gradient_start: #1C75F2;
|
30
|
+
$gradient_end: $royal;
|
31
31
|
|
32
32
|
/* Interface colors -------------------*/
|
33
|
-
$white: #FFFFFF
|
34
|
-
$silver: #F3F7FB
|
35
|
-
$slate: #C1CDD6
|
36
|
-
$charcoal: #242B42
|
37
|
-
$black: #000000
|
33
|
+
$white: #FFFFFF;
|
34
|
+
$silver: #F3F7FB;
|
35
|
+
$slate: #C1CDD6;
|
36
|
+
$charcoal: #242B42;
|
37
|
+
$black: #000000;
|
38
38
|
|
39
39
|
$interface_colors: (
|
40
40
|
white: $white,
|
@@ -46,9 +46,9 @@ $interface_colors: (
|
|
46
46
|
);
|
47
47
|
|
48
48
|
/* Main colors ------------------------*/
|
49
|
-
$primary: $royal
|
50
|
-
$secondary: $yellow
|
51
|
-
$tertiary: $purple
|
49
|
+
$primary: $royal;
|
50
|
+
$secondary: $yellow;
|
51
|
+
$tertiary: $purple;
|
52
52
|
$main_colors: (
|
53
53
|
primary: $primary,
|
54
54
|
secondary: $secondary,
|
@@ -57,29 +57,29 @@ $main_colors: (
|
|
57
57
|
/*=====================================
|
58
58
|
|
59
59
|
Background colors ------------------*/
|
60
|
-
$bg_light: $silver
|
61
|
-
$bg_dark: #0a0527
|
60
|
+
$bg_light: $silver;
|
61
|
+
$bg_dark: #0a0527;
|
62
62
|
$background_colors: (
|
63
63
|
bg_light: $bg_light,
|
64
64
|
bg_dark: $bg_dark
|
65
65
|
);
|
66
66
|
|
67
67
|
/* Card colors ------------------*/
|
68
|
-
$card_light: $white
|
68
|
+
$card_light: $white;
|
69
69
|
$card_dark: rgba($white, $opacity_1);
|
70
70
|
$card_colors: (
|
71
71
|
card_light: $card_light,
|
72
72
|
card_dark: $card_dark
|
73
73
|
);
|
74
74
|
|
75
|
-
$primary-action: $primary
|
75
|
+
$primary-action: $primary;
|
76
76
|
$action_colors: (
|
77
77
|
primary_action: $primary-action
|
78
78
|
);
|
79
79
|
|
80
80
|
/* Active colors ----------------------*/
|
81
81
|
$active_light: lighten(#E5F2FF, 3.5%);
|
82
|
-
$active_dark: #0082ff
|
82
|
+
$active_dark: #0082ff;
|
83
83
|
$active_colors: (
|
84
84
|
active_light: $active_light,
|
85
85
|
active_dark: $active_dark
|
@@ -102,7 +102,7 @@ $focus_input_colors: (
|
|
102
102
|
);
|
103
103
|
|
104
104
|
/* Border colors ----------------------*/
|
105
|
-
$border_light: #E4E8F0
|
105
|
+
$border_light: #E4E8F0;
|
106
106
|
$border_dark: rgba($white, $opacity_1);
|
107
107
|
$border_colors: (
|
108
108
|
border_light: $border_light,
|
@@ -116,10 +116,10 @@ $shadow_colors: (
|
|
116
116
|
);
|
117
117
|
|
118
118
|
/* Text colors ------------------------*/
|
119
|
-
$text_lt_default: $charcoal
|
120
|
-
$text_lt_light: #687887
|
121
|
-
$text_lt_lighter: $slate
|
122
|
-
$text_dk_default: $white
|
119
|
+
$text_lt_default: $charcoal;
|
120
|
+
$text_lt_light: #687887;
|
121
|
+
$text_lt_lighter: $slate;
|
122
|
+
$text_dk_default: $white;
|
123
123
|
$text_dk_light: rgba($white, $opacity_6);
|
124
124
|
$text_dk_lighter: rgba($white, $opacity_4);
|
125
125
|
$text_colors: (
|
@@ -132,14 +132,14 @@ $text_colors: (
|
|
132
132
|
);
|
133
133
|
|
134
134
|
/* Data colors ------------------------*/
|
135
|
-
$data_1: $royal
|
136
|
-
$data_2: $yellow
|
137
|
-
$data_3: $purple
|
138
|
-
$data_4: $green
|
139
|
-
$data_5: $orange
|
140
|
-
$data_6: #144075
|
141
|
-
$data_7: $teal
|
142
|
-
$data_8: $red
|
135
|
+
$data_1: $royal;
|
136
|
+
$data_2: $yellow;
|
137
|
+
$data_3: $purple;
|
138
|
+
$data_4: $green;
|
139
|
+
$data_5: $orange;
|
140
|
+
$data_6: #144075;
|
141
|
+
$data_7: $teal;
|
142
|
+
$data_8: $red;
|
143
143
|
$data_colors: (
|
144
144
|
data_1: $data_1,
|
145
145
|
data_2: $data_2,
|
@@ -152,19 +152,19 @@ $data_colors: (
|
|
152
152
|
);
|
153
153
|
|
154
154
|
/* Status colors ----------------------*/
|
155
|
-
$success: $green
|
155
|
+
$success: $green;
|
156
156
|
$success_secondary: lighten($success, 10%);
|
157
|
-
$warning: $yellow
|
157
|
+
$warning: $yellow;
|
158
158
|
$warning_secondary: lighten($warning, 10%);
|
159
|
-
$error: $red
|
160
|
-
$error_dark: $red_dark
|
159
|
+
$error: $red;
|
160
|
+
$error_dark: $red_dark;
|
161
161
|
$error_dark_body: lighten($error_dark, 2%);
|
162
162
|
$error_secondary: lighten($error, 10%);
|
163
|
-
$info: $teal
|
163
|
+
$info: $teal;
|
164
164
|
$info_secondary : lighten($info, 10%);
|
165
|
-
$neutral: $slate
|
165
|
+
$neutral: $slate;
|
166
166
|
$neutral_secondary: lighten($neutral, 10%);
|
167
|
-
$primary: $primary
|
167
|
+
$primary: $primary;
|
168
168
|
$primary_secondary: lighten($primary, 10%);
|
169
169
|
|
170
170
|
$status_colors: (
|
@@ -194,16 +194,16 @@ $status_color_text: (
|
|
194
194
|
);
|
195
195
|
|
196
196
|
/* Link colors ------------------------*/
|
197
|
-
$primary_action: $primary
|
197
|
+
$primary_action: $primary;
|
198
198
|
|
199
199
|
/* Product colors ---------------------*/
|
200
|
-
$windows: $royal
|
201
|
-
$siding: $yellow
|
202
|
-
$doors: $teal
|
203
|
-
$solar: $green
|
204
|
-
$roofing: $slate
|
205
|
-
$gutters: $purple
|
206
|
-
$insulation: $red
|
200
|
+
$windows: $royal;
|
201
|
+
$siding: $yellow;
|
202
|
+
$doors: $teal;
|
203
|
+
$solar: $green;
|
204
|
+
$roofing: $slate;
|
205
|
+
$gutters: $purple;
|
206
|
+
$insulation: $red;
|
207
207
|
$product_colors: (
|
208
208
|
windows: $windows,
|
209
209
|
siding: $siding,
|
@@ -215,27 +215,27 @@ $product_colors: (
|
|
215
215
|
);
|
216
216
|
|
217
217
|
/* Category colors ---------------------*/
|
218
|
-
$category_1: $royal
|
219
|
-
$category_2: #0CD2E5
|
220
|
-
$category_3: $yellow
|
221
|
-
$category_4: #14D595
|
222
|
-
$category_5: #A057FF
|
223
|
-
$category_6: #FF7034
|
224
|
-
$category_7: #97DA22
|
225
|
-
$category_8: #EA599F
|
226
|
-
$category_9: #0091FF
|
227
|
-
$category_10: #5027E4
|
228
|
-
$category_11: $red
|
229
|
-
$category_12: #109922
|
230
|
-
$category_13: #058F9D
|
231
|
-
$category_14: #A33E6F
|
232
|
-
$category_15: #B2171C
|
233
|
-
$category_16: #0A5C49
|
234
|
-
$category_17: #325B91
|
235
|
-
$category_18: #BE4714
|
236
|
-
$category_19: #000080
|
237
|
-
$category_20: #5C0E0A
|
238
|
-
$category_21: #040830
|
218
|
+
$category_1: $royal;
|
219
|
+
$category_2: #0CD2E5;
|
220
|
+
$category_3: $yellow;
|
221
|
+
$category_4: #14D595;
|
222
|
+
$category_5: #A057FF;
|
223
|
+
$category_6: #FF7034;
|
224
|
+
$category_7: #97DA22;
|
225
|
+
$category_8: #EA599F;
|
226
|
+
$category_9: #0091FF;
|
227
|
+
$category_10: #5027E4;
|
228
|
+
$category_11: $red;
|
229
|
+
$category_12: #109922;
|
230
|
+
$category_13: #058F9D;
|
231
|
+
$category_14: #A33E6F;
|
232
|
+
$category_15: #B2171C;
|
233
|
+
$category_16: #0A5C49;
|
234
|
+
$category_17: #325B91;
|
235
|
+
$category_18: #BE4714;
|
236
|
+
$category_19: #000080;
|
237
|
+
$category_20: #5C0E0A;
|
238
|
+
$category_21: #040830;
|
239
239
|
$category_colors: (
|
240
240
|
category_1: $category_1,
|
241
241
|
category_2: $category_2,
|
@@ -260,7 +260,7 @@ $category_colors: (
|
|
260
260
|
category_21: $category_21
|
261
261
|
);
|
262
262
|
|
263
|
-
$transparent: transparent
|
263
|
+
$transparent: transparent;
|
264
264
|
|
265
265
|
@function tint($color, $percentage) {
|
266
266
|
@return mix($white, $color, $percentage);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
$font_family_base: "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans_serif
|
2
|
+
$font_family_base: "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans_serif;
|
3
3
|
|
4
4
|
|
5
5
|
/* CLEAN UP AND REMOVE */
|
@@ -53,12 +53,12 @@ $lspace_super_loosest: .2em;
|
|
53
53
|
|
54
54
|
|
55
55
|
/* Standard Font Weights */
|
56
|
-
$bold: 600
|
57
|
-
$regular: 400
|
56
|
+
$bold: 600;
|
57
|
+
$regular: 400;
|
58
58
|
|
59
59
|
/* Non_Standard Font Weights */
|
60
|
-
$extrabold: 900
|
61
|
-
$boldest: 800
|
62
|
-
$bolder: 700
|
63
|
-
$light: 300
|
64
|
-
$lighter: 100
|
60
|
+
$extrabold: 900;
|
61
|
+
$boldest: 800;
|
62
|
+
$bolder: 700;
|
63
|
+
$light: 300;
|
64
|
+
$lighter: 100;
|