playbook_ui 13.27.0.pre.alpha.dropdowncustomoptionfix2924 → 13.27.0.pre.alpha.powercentrainplaybookpt22905
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_button/_button.scss +3 -3
- data/app/pb_kits/playbook/pb_button/_button_mixins.scss +3 -3
- data/app/pb_kits/playbook/pb_caption/_caption_mixin.scss +1 -1
- data/app/pb_kits/playbook/pb_dashboard/commonSettings.js +1 -1
- data/app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.ts +1 -1
- data/app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.ts +1 -1
- data/app/pb_kits/playbook/pb_date_range_inline/docs/example.yml +1 -4
- data/app/pb_kits/playbook/pb_date_stacked/docs/example.yml +0 -7
- data/app/pb_kits/playbook/pb_date_time/docs/example.yml +0 -6
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/example.yml +0 -4
- data/app/pb_kits/playbook/pb_dropdown/_dropdown.scss +0 -4
- data/app/pb_kits/playbook/pb_dropdown/_dropdown.tsx +4 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.jsx +3 -6
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display_rails.html.erb +6 -11
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options.jsx +2 -5
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options_rails.html.erb +8 -13
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.md +1 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger.jsx +2 -5
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger_rails.html.erb +8 -13
- data/app/pb_kits/playbook/pb_dropdown/dropdown.test.jsx +1 -1
- data/app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb +8 -2
- data/app/pb_kits/playbook/pb_dropdown/dropdown_option.rb +5 -1
- data/app/pb_kits/playbook/pb_dropdown/subcomponents/DropdownOption.tsx +12 -2
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/example.yml +0 -9
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +1 -1
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +1 -1
- data/app/pb_kits/playbook/pb_form_pill/_form_pill.scss +1 -1
- data/app/pb_kits/playbook/pb_text_input/_text_input.scss +0 -19
- data/app/pb_kits/playbook/tokens/_titles.scss +4 -4
- data/app/pb_kits/playbook/tokens/_typography.scss +10 -10
- data/dist/playbook-rails.js +4 -4
- data/dist/reset.css +1 -1
- data/lib/playbook/forms/builder.rb +0 -1
- data/lib/playbook/version.rb +1 -1
- metadata +2 -23
- data/app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md +0 -61
- data/app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_props_swift.md +0 -11
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_bold_swift.md +0 -32
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_default_swift.md +0 -17
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_not_current_year_swift.md +0 -19
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_props_swift.md +0 -10
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_reversed_swift.md +0 -17
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_alignment_swift.md +0 -39
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_default_swift.md +0 -39
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_props_swift.md +0 -15
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_size_swift.md +0 -78
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/_date_year_stacked_default_swift.md +0 -20
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/_date_year_stacked_props_swift.md +0 -6
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_children_swift.md +0 -23
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_close_swift.md +0 -7
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_default_swift.md +0 -9
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_dismiss_with_timer_swift.md +0 -22
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line_swift.md +0 -9
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_positions_swift.md +0 -62
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_props_swift.md +0 -8
- data/lib/playbook/forms/builder/phone_number_field.rb +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74d7359c8120c5c70d7f9921d02699ff6f9cf3f0c937af7a1f8b7470413d3ec9
|
4
|
+
data.tar.gz: 109783b9b43e8a3fd37d20394c1c492f1ab048ffc5f7e88dbcf44b85aa0a2cb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e13c1b3ddf3053fbb089f1aa974501f91cc30217d511ddb8138e83304542b3e8a2e81d4cbbfa88de95d132f2c327f94f6552cf139e5ef3f53fb665d79b37a0b
|
7
|
+
data.tar.gz: 0f12b7619fcff70e4f499b0e05532497abda01537861143f9d3320d0ce51be870009b150f5ddedd304ab0d30993f0cf4ee6de4252f784c821baf6cefa1a18c04
|
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
$pb_button_size: 40px;
|
11
11
|
$pb_button_v_padding: 7px;
|
12
|
-
$pb_button_h_padding:
|
12
|
+
$pb_button_h_padding: 28px;
|
13
13
|
$pb_button_hover_darken: 4%;
|
14
14
|
$pb_button_border_width: 0px;
|
15
15
|
|
@@ -27,13 +27,13 @@ $pb_button_border_width: 0px;
|
|
27
27
|
text-rendering: optimizeLegibility;
|
28
28
|
font-size: $font_small;
|
29
29
|
font-weight: $bold;
|
30
|
+
letter-spacing: $lspace_loose;
|
30
31
|
text-align: center;
|
31
|
-
text-decoration: none;
|
32
32
|
vertical-align: middle;
|
33
33
|
text-transform: none;
|
34
34
|
border-width: $pb_button_border_width;
|
35
35
|
border-style: solid;
|
36
|
-
border-radius: $
|
36
|
+
border-radius: $border_rad_heavy;
|
37
37
|
min-height: $pb_button_size;
|
38
38
|
line-height: 1.5;
|
39
39
|
padding: $pb_button_v_padding $pb_button_h_padding;
|
@@ -53,7 +53,7 @@ const adjustAxisStyle = (axis) => {
|
|
53
53
|
/* Change axis label styles */
|
54
54
|
axis.labels.style.fontFamily = typography.font_family_base
|
55
55
|
axis.labels.style.color = colors.charcoal
|
56
|
-
axis.labels.style.fontWeight = typography.
|
56
|
+
axis.labels.style.fontWeight = typography.regular
|
57
57
|
axis.labels.style.fontSize = typography.font_small
|
58
58
|
}
|
59
59
|
|
@@ -15,10 +15,3 @@ examples:
|
|
15
15
|
- date_stacked_reverse: Day & Month Reverse
|
16
16
|
- date_stacked_sizes: Sizes
|
17
17
|
- date_stacked_bold: Bold
|
18
|
-
|
19
|
-
swift:
|
20
|
-
- date_stacked_default_swift: Default
|
21
|
-
- date_stacked_not_current_year_swift: Not Current Year
|
22
|
-
- date_stacked_reversed_swift: Day & Month Reverse
|
23
|
-
- date_stacked_bold_swift: Bold
|
24
|
-
- date_stacked_props_swift: ""
|
@@ -4,6 +4,7 @@ import { buildAriaProps, buildCss, buildDataProps, buildHtmlProps } from "../uti
|
|
4
4
|
import { globalProps } from "../utilities/globalProps";
|
5
5
|
import { GenericObject } from "../types";
|
6
6
|
|
7
|
+
import Body from "../pb_body/_body";
|
7
8
|
import Caption from "../pb_caption/_caption";
|
8
9
|
|
9
10
|
import DropdownContainer from "./subcomponents/DropdownContainer";
|
@@ -234,7 +235,9 @@ const Dropdown = (props: DropdownProps) => {
|
|
234
235
|
options?.map((option: GenericObject) => (
|
235
236
|
<Dropdown.Option key={option.id}
|
236
237
|
option={option}
|
237
|
-
|
238
|
+
>
|
239
|
+
<Body text={option.label} />
|
240
|
+
</Dropdown.Option>
|
238
241
|
))}
|
239
242
|
</DropdownContainer>
|
240
243
|
</>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React, { useState } from 'react'
|
2
|
-
import { Dropdown, User,
|
2
|
+
import { Dropdown, User, FlexItem, Badge, Avatar } from '../../'
|
3
3
|
|
4
4
|
const DropdownWithCustomDisplay = (props) => {
|
5
5
|
const [selectedOption, setSelectedOption] = useState();
|
@@ -69,10 +69,7 @@ const DropdownWithCustomDisplay = (props) => {
|
|
69
69
|
<Dropdown.Option key={option.id}
|
70
70
|
option={option}
|
71
71
|
>
|
72
|
-
|
73
|
-
align="center"
|
74
|
-
justify="between"
|
75
|
-
>
|
72
|
+
<>
|
76
73
|
<FlexItem>
|
77
74
|
<User
|
78
75
|
align="left"
|
@@ -96,7 +93,7 @@ const DropdownWithCustomDisplay = (props) => {
|
|
96
93
|
}`}
|
97
94
|
/>
|
98
95
|
</FlexItem>
|
99
|
-
|
96
|
+
</>
|
100
97
|
</Dropdown.Option>
|
101
98
|
))}
|
102
99
|
</Dropdown>
|
@@ -48,17 +48,12 @@
|
|
48
48
|
<%= pb_rails("dropdown/dropdown_container") do %>
|
49
49
|
<% options.each do |option| %>
|
50
50
|
<%= pb_rails("dropdown/dropdown_option", props: {option: option}) do %>
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
<% end %>
|
58
|
-
<%= pb_rails("flex/flex_item") do %>
|
59
|
-
<%= pb_rails("badge", props: {rounded: true, dark: true, text: option[:status], variant: option[:status] == "Offline" ? "neutral" : option[:status] == "Online" ? "success" : "warning" }) %>
|
60
|
-
<% end %>
|
61
|
-
<% end %>
|
51
|
+
<%= pb_rails("flex/flex_item") do %>
|
52
|
+
<%= pb_rails("user", props: {name: option[:label], align:"left", avatar: true, orientation:"horizontal", territory:option[:territory], title: option[:title]}) %>
|
53
|
+
<% end %>
|
54
|
+
<%= pb_rails("flex/flex_item") do %>
|
55
|
+
<%= pb_rails("badge", props: {rounded: true, dark: true, text: option[:status], variant: option[:status] == "Offline" ? "neutral" : option[:status] == "Online" ? "success" : "warning" }) %>
|
56
|
+
<% end %>
|
62
57
|
<% end %>
|
63
58
|
<% end %>
|
64
59
|
<% end %>
|
@@ -38,10 +38,7 @@ const DropdownWithCustomOptions = (props) => {
|
|
38
38
|
<Dropdown.Option key={option.id}
|
39
39
|
option={option}
|
40
40
|
>
|
41
|
-
|
42
|
-
align="center"
|
43
|
-
justify="between"
|
44
|
-
>
|
41
|
+
<>
|
45
42
|
<FlexItem>
|
46
43
|
<Flex>
|
47
44
|
<Icon icon={option.icon}
|
@@ -55,7 +52,7 @@ const DropdownWithCustomOptions = (props) => {
|
|
55
52
|
text={option.areaCode}
|
56
53
|
/>
|
57
54
|
</FlexItem>
|
58
|
-
|
55
|
+
</>
|
59
56
|
</Dropdown.Option>
|
60
57
|
))}
|
61
58
|
</Dropdown>
|
@@ -30,19 +30,14 @@
|
|
30
30
|
<%= pb_rails("dropdown/dropdown_container") do %>
|
31
31
|
<% options.each do |option| %>
|
32
32
|
<%= pb_rails("dropdown/dropdown_option", props: {option: option}) do %>
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
<% end %>
|
42
|
-
<% end %>
|
43
|
-
<%= pb_rails("flex/flex_item") do %>
|
44
|
-
<%= pb_rails("body", props: {color:"light", text: option[:areaCode]}) %>
|
45
|
-
<% end %>
|
33
|
+
<%= pb_rails("flex/flex_item") do %>
|
34
|
+
<%= pb_rails("flex") do %>
|
35
|
+
<%= pb_rails("icon", props: {icon: option[:icon]}) %>
|
36
|
+
<%= pb_rails("body", props: {text: option[:label], padding_left:"xs"}) %>
|
37
|
+
<% end %>
|
38
|
+
<% end %>
|
39
|
+
<%= pb_rails("flex/flex_item") do %>
|
40
|
+
<%= pb_rails("body", props: {color:"light", text: option[:areaCode]}) %>
|
46
41
|
<% end %>
|
47
42
|
<% end %>
|
48
43
|
<% end %>
|
@@ -1 +1 @@
|
|
1
|
-
By default, dropdown option
|
1
|
+
By default, dropdown option padding is set to `xs`, but this padding can be overridden using our global prop spacing token. In this example we are increasing the option padding to `sm`.
|
@@ -51,10 +51,7 @@ const [selectedOption, setSelectedOption] = useState();
|
|
51
51
|
<Dropdown.Option key={option.id}
|
52
52
|
option={option}
|
53
53
|
>
|
54
|
-
|
55
|
-
align="center"
|
56
|
-
justify="between"
|
57
|
-
>
|
54
|
+
<>
|
58
55
|
<FlexItem>
|
59
56
|
<Flex>
|
60
57
|
<Icon icon={option.icon}
|
@@ -68,7 +65,7 @@ const [selectedOption, setSelectedOption] = useState();
|
|
68
65
|
text={option.areaCode}
|
69
66
|
/>
|
70
67
|
</FlexItem>
|
71
|
-
|
68
|
+
</>
|
72
69
|
</Dropdown.Option>
|
73
70
|
))}
|
74
71
|
</Dropdown.Container>
|
@@ -32,20 +32,15 @@
|
|
32
32
|
<%= pb_rails("dropdown/dropdown_container", props:{max_width:"xs"}) do %>
|
33
33
|
<% options.each do |option| %>
|
34
34
|
<%= pb_rails("dropdown/dropdown_option", props: {option: option}) do %>
|
35
|
-
<%= pb_rails("flex", props: {
|
36
|
-
align: "center",
|
37
|
-
justify: "between",
|
38
|
-
}) do %>
|
39
35
|
<%= pb_rails("flex/flex_item") do %>
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
<% end %>
|
36
|
+
<%= pb_rails("flex") do %>
|
37
|
+
<%= pb_rails("icon", props: {icon: option[:icon]}) %>
|
38
|
+
<%= pb_rails("body", props: {text: option[:label], padding_left:"xs"}) %>
|
39
|
+
<% end %>
|
40
|
+
<% end %>
|
41
|
+
<%= pb_rails("flex/flex_item") do %>
|
42
|
+
<%= pb_rails("body", props: {color:"light", text: option[:areaCode]}) %>
|
43
|
+
<% end %>
|
49
44
|
<% end %>
|
50
45
|
<% end %>
|
51
46
|
<% end %>
|
@@ -203,5 +203,5 @@ test('selected option on click', () => {
|
|
203
203
|
const kit = screen.getByTestId(testId)
|
204
204
|
const option = kit.querySelector('.pb_dropdown_option_list')
|
205
205
|
option.click()
|
206
|
-
expect(option).toHaveClass('pb_dropdown_option_selected')
|
206
|
+
expect(option).toHaveClass('pb_dropdown_option_selected p_xs')
|
207
207
|
})
|
@@ -10,12 +10,18 @@
|
|
10
10
|
padding:"none",
|
11
11
|
cursor: "pointer"
|
12
12
|
}) do %>
|
13
|
-
|
13
|
+
<%= pb_rails("flex", props: {
|
14
|
+
align: "center",
|
15
|
+
classname:"dropdown_option_wrapper",
|
16
|
+
justify: "between",
|
17
|
+
padding_x:"sm",
|
18
|
+
padding_y:"xxs",
|
19
|
+
}) do %>
|
14
20
|
<% if content.present? %>
|
15
21
|
<%= content.presence %>
|
16
22
|
<% else %>
|
17
23
|
<%= pb_rails("body", props: {text: object.option[:label]}) %>
|
18
24
|
<% end %>
|
19
|
-
|
25
|
+
<% end %>
|
20
26
|
<% end %>
|
21
27
|
<% end %>
|
@@ -10,8 +10,12 @@ module Playbook
|
|
10
10
|
Hash(prop(:data)).merge("dropdown_option_label": option)
|
11
11
|
end
|
12
12
|
|
13
|
+
def padding_helper
|
14
|
+
" p_xs"
|
15
|
+
end
|
16
|
+
|
13
17
|
def classname
|
14
|
-
generate_classname("pb_dropdown_option", "list")
|
18
|
+
generate_classname("pb_dropdown_option", "list") + padding_helper
|
15
19
|
end
|
16
20
|
end
|
17
21
|
end
|
@@ -10,6 +10,7 @@ import { globalProps, GlobalProps } from "../../utilities/globalProps";
|
|
10
10
|
|
11
11
|
import DropdownContext from "../context";
|
12
12
|
|
13
|
+
import Flex from "../../pb_flex/_flex";
|
13
14
|
import Body from "../../pb_body/_body";
|
14
15
|
import ListItem from "../../pb_list/_list_item";
|
15
16
|
import { GenericObject } from "../../types";
|
@@ -38,6 +39,7 @@ const DropdownOption = (props: DropdownOptionProps) => {
|
|
38
39
|
id,
|
39
40
|
key,
|
40
41
|
option,
|
42
|
+
padding = "xs",
|
41
43
|
} = props;
|
42
44
|
|
43
45
|
const {
|
@@ -75,7 +77,7 @@ const DropdownOption = (props: DropdownOptionProps) => {
|
|
75
77
|
selectedClass,
|
76
78
|
focusedClass,
|
77
79
|
),
|
78
|
-
globalProps(props),
|
80
|
+
globalProps(props, {padding}),
|
79
81
|
className
|
80
82
|
);
|
81
83
|
|
@@ -96,12 +98,20 @@ const DropdownOption = (props: DropdownOptionProps) => {
|
|
96
98
|
key={option.label}
|
97
99
|
padding="none"
|
98
100
|
>
|
101
|
+
<Flex
|
102
|
+
align="center"
|
103
|
+
className="dropdown_option_wrapper"
|
104
|
+
justify="between"
|
105
|
+
paddingX="sm"
|
106
|
+
paddingY="xxs"
|
107
|
+
>
|
99
108
|
{children ?
|
100
|
-
|
109
|
+
children :
|
101
110
|
<Body dark={dark}
|
102
111
|
text={option.label}
|
103
112
|
/>
|
104
113
|
}
|
114
|
+
</Flex>
|
105
115
|
</ListItem>
|
106
116
|
</div>
|
107
117
|
);
|
@@ -14,12 +14,3 @@ examples:
|
|
14
14
|
- fixed_confirmation_toast_positions: Click to Show Positions
|
15
15
|
- fixed_confirmation_toast_auto_close: Click to Show Auto Close
|
16
16
|
- fixed_confirmation_toast_children: Children
|
17
|
-
|
18
|
-
swift:
|
19
|
-
- fixed_confirmation_toast_default_swift: Default
|
20
|
-
- fixed_confirmation_toast_multi_line_swift: Multi Line
|
21
|
-
#- fixed_confirmation_toast_close_swift: Click to Close
|
22
|
-
#- fixed_confirmation_toast_positions_swift: Click to Show Positions
|
23
|
-
- fixed_confirmation_toast_children_swift: Children
|
24
|
-
#- fixed_confirmation_toast_dismiss_with_timer_swift: Timer
|
25
|
-
- fixed_confirmation_toast_props_swift: ""
|
@@ -16,7 +16,7 @@
|
|
16
16
|
<%= pb_form_with(scope: :example, url: "", method: :get) do |form| %>
|
17
17
|
<%= form.typeahead :example_user, props: { data: { typeahead_example1: true, user: {} }, placeholder: "Search for a user" } %>
|
18
18
|
<%= form.text_field :example_text_field, props: { label: true } %>
|
19
|
-
<%= form.
|
19
|
+
<%= form.telephone_field :example_phone_field, props: { label: true } %>
|
20
20
|
<%= form.email_field :example_email_field, props: { label: true } %>
|
21
21
|
<%= form.number_field :example_number_field, props: { label: true } %>
|
22
22
|
<%= form.search_field :example_search_field, props: { label: true } %>
|
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
<%= pb_form_with(scope: :example, method: :get, url: "", validate: true) do |form| %>
|
17
17
|
<%= form.text_field :example_text_field, props: { label: true, required: true } %>
|
18
|
-
<%= form.
|
18
|
+
<%= form.telephone_field :example_phone_field, props: { label: true, required: true, validation: { pattern: "[0-9]{3}-[0-9]{3}-[0-9]{4}", message: "Please enter a valid phone number (example: 888-888-8888)." } } %>
|
19
19
|
<%= form.email_field :example_email_field, props: { label: true, required: true } %>
|
20
20
|
<%= form.number_field :example_number_field, props: { label: true, required: true } %>
|
21
21
|
<%= form.search_field :example_project_number, props: { label: true, required: true, validation: { pattern: "[0-9]{2}-[0-9]{5}", message: "Please enter a valid project number (example: 33-12345)." } } %>
|
@@ -76,25 +76,6 @@
|
|
76
76
|
.text_input {
|
77
77
|
border-color: $error_dark;
|
78
78
|
}
|
79
|
-
[class*=pb_body_kit_negative] {
|
80
|
-
color: $error_dark;
|
81
|
-
}
|
82
|
-
}
|
83
|
-
.text_input_wrapper_add_on {
|
84
|
-
.add-on {
|
85
|
-
&-right {
|
86
|
-
.add-on-card {
|
87
|
-
border: 1px solid $error_dark;
|
88
|
-
border-left: 0;
|
89
|
-
}
|
90
|
-
}
|
91
|
-
&-left {
|
92
|
-
.add-on-card {
|
93
|
-
border: 1px solid $error_dark;
|
94
|
-
border-right: 0;
|
95
|
-
}
|
96
|
-
}
|
97
|
-
}
|
98
79
|
}
|
99
80
|
}
|
100
81
|
}
|
@@ -5,10 +5,11 @@
|
|
5
5
|
@mixin pb_title(
|
6
6
|
$fontSize: $heading_1,
|
7
7
|
$fontWeight: $lighter,
|
8
|
-
$lineHeight: $lh_tighter
|
8
|
+
$lineHeight: $lh_tighter,
|
9
|
+
$letterSpacing: $lspace_tight
|
9
10
|
){
|
10
11
|
font-size: $fontSize;
|
11
|
-
letter-spacing: $
|
12
|
+
letter-spacing: $letterSpacing;
|
12
13
|
font-weight: $fontWeight;
|
13
14
|
color: $text_lt_default;
|
14
15
|
margin: 0;
|
@@ -29,8 +30,7 @@
|
|
29
30
|
}
|
30
31
|
|
31
32
|
@mixin pb_title_4 {
|
32
|
-
@include pb_title($heading_4, $bolder);
|
33
|
-
letter-spacing: -0.03em;
|
33
|
+
@include pb_title($heading_4, $bolder, $letterSpacing: $lspace_normal);
|
34
34
|
}
|
35
35
|
|
36
36
|
@mixin pb_title_dark {
|
@@ -1,11 +1,11 @@
|
|
1
|
-
$font_family_base: "
|
1
|
+
$font_family_base: "Power Centra", "Helvetica Neue", Helvetica, Arial, sans_serif !default;
|
2
2
|
|
3
3
|
/* CLEAN UP AND REMOVE */
|
4
4
|
$font_jumbo: 36px !default;
|
5
5
|
$font_largest: 32px !default;
|
6
|
-
$font_larger:
|
6
|
+
$font_larger: 27px !default;
|
7
7
|
$font_large: 20px !default;
|
8
|
-
$font_base:
|
8
|
+
$font_base: 15.5px !default;
|
9
9
|
$font_default: $font_base !default;
|
10
10
|
$font_normal: $font_base !default;
|
11
11
|
$font_medium: $font_base !default;
|
@@ -26,8 +26,8 @@ $text_smaller: $font_smaller !default;
|
|
26
26
|
$text_smallest: $font_smallest !default;
|
27
27
|
|
28
28
|
/* Headings */
|
29
|
-
$heading_1:
|
30
|
-
$heading_2:
|
29
|
+
$heading_1: 44px !default;
|
30
|
+
$heading_2: 32px !default;
|
31
31
|
$heading_3: $font_larger !default;
|
32
32
|
$heading_4: $font_base !default;
|
33
33
|
|
@@ -35,19 +35,19 @@ $heading_4: $font_base !default;
|
|
35
35
|
$lspace_tightest: -.1em !default;
|
36
36
|
$lspace_tighter: -.07em !default;
|
37
37
|
$lspace_tight: -.01em !default;
|
38
|
-
$lspace_normal:
|
38
|
+
$lspace_normal: .003em !default;
|
39
39
|
$lspace_loose: .03em !default;
|
40
40
|
$lspace_looser: .07em !default;
|
41
41
|
$lspace_loosest: .1em !default;
|
42
42
|
$lspace_super_loosest: .2em !default;
|
43
43
|
|
44
44
|
/* Standard Font Weights */
|
45
|
-
$bold:
|
45
|
+
$bold: 700 !default;
|
46
46
|
$regular: 400 !default;
|
47
47
|
|
48
48
|
/* Non_Standard Font Weights */
|
49
|
-
$extrabold:
|
50
|
-
$boldest:
|
49
|
+
$extrabold: 700 !default;
|
50
|
+
$boldest: 700 !default;
|
51
51
|
$bolder: 700 !default;
|
52
52
|
$light: 300 !default;
|
53
|
-
$lighter:
|
53
|
+
$lighter: 300 !default;
|