umberto 4.4.0 → 4.4.1

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/package.json +1 -1
  3. package/themes/umberto/layout/page.pug +0 -1
  4. package/themes/umberto/src/css/_api-info-box.scss +14 -10
  5. package/themes/umberto/src/css/_api-props-filter.scss +26 -71
  6. package/themes/umberto/src/css/_api-subheader.scss +7 -4
  7. package/themes/umberto/src/css/_api-tree.scss +21 -16
  8. package/themes/umberto/src/css/_badge.scss +16 -12
  9. package/themes/umberto/src/css/_code-switcher.scss +15 -8
  10. package/themes/umberto/src/css/_collapsinglist.scss +34 -29
  11. package/themes/umberto/src/css/_content.scss +50 -43
  12. package/themes/umberto/src/css/_docsearch.scss +9 -6
  13. package/themes/umberto/src/css/_dropdown.scss +8 -5
  14. package/themes/umberto/src/css/_feedback-widget.scss +6 -3
  15. package/themes/umberto/src/css/_font-external.scss +8 -0
  16. package/themes/umberto/src/css/_footer.scss +21 -16
  17. package/themes/umberto/src/css/_formatted.scss +48 -40
  18. package/themes/umberto/src/css/_guide-content.scss +5 -2
  19. package/themes/umberto/src/css/_guide-sdk-tree.scss +3 -3
  20. package/themes/umberto/src/css/_main.scss +20 -15
  21. package/themes/umberto/src/css/_navigation.scss +11 -7
  22. package/themes/umberto/src/css/_notice.scss +35 -30
  23. package/themes/umberto/src/css/_prism.scss +5 -3
  24. package/themes/umberto/src/css/_rwd-breadcrumbs.scss +3 -1
  25. package/themes/umberto/src/css/_rwd-menu.scss +20 -15
  26. package/themes/umberto/src/css/_secondary-navigation.scss +44 -38
  27. package/themes/umberto/src/css/_toggler.scss +6 -4
  28. package/themes/umberto/src/css/_top.scss +49 -43
  29. package/themes/umberto/src/css/_tree.scss +24 -21
  30. package/themes/umberto/src/css/_warning-banner.scss +6 -3
  31. package/themes/umberto/src/css/helpers/_color.scss +4 -1
  32. package/themes/umberto/src/css/helpers/_font.scss +15 -12
  33. package/themes/umberto/src/css/helpers/_globals.scss +10 -9
  34. package/themes/umberto/src/css/helpers/_spacing.scss +3 -1
  35. package/themes/umberto/src/css/pages/_sdk.scss +12 -8
  36. package/themes/umberto/src/css/styles.scss +48 -47
  37. package/themes/umberto/src/js/_codeswitcherbuttons.js +12 -2
@@ -1,27 +1,32 @@
1
1
  // Copyright (c) 2017-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  // For licensing, see LICENSE.md or http://ckeditor.com/license
3
3
 
4
+ @use 'helpers/color';
5
+ @use 'helpers/globals';
6
+ @use 'helpers/spacing';
7
+ @use 'sass:meta';
8
+
4
9
  .main {
5
10
  display: flex;
6
11
  justify-content: flex-end;
7
12
  flex-direction: row-reverse;
8
13
  flex-wrap: nowrap;
9
- min-height: calc( 100vh - #{ $u-top-height } );
14
+ min-height: calc( 100vh - #{ globals.$u-top-height } );
10
15
 
11
- @include u-responsive-narrow {
12
- background: u-color( 'background-bright' );
13
- min-height: calc( 100vh - #{ $u-top-height } - #{ $u-footer-height } );
16
+ @include globals.u-responsive-narrow {
17
+ background: color.u-color( 'background-bright' );
18
+ min-height: calc( 100vh - #{ globals.$u-top-height } - #{ globals.$u-footer-height } );
14
19
  }
15
20
 
16
- @import 'content';
17
- @import 'navigation';
21
+ @include meta.load-css('content');
22
+ @include meta.load-css('navigation');
18
23
 
19
24
  // We need to move it up, because of no subheader
20
25
  &--home {
21
- margin-top: $u-top-sub * -1;
26
+ margin-top: globals.$u-top-sub * -1;
22
27
 
23
- @include u-responsive-narrow {
24
- min-height: calc( 100vh - #{ $u-top-sub } - #{ $u-footer-height } );
28
+ @include globals.u-responsive-narrow {
29
+ min-height: calc( 100vh - #{ globals.$u-top-sub } - #{ globals.$u-footer-height } );
25
30
  }
26
31
  }
27
32
 
@@ -37,16 +42,16 @@
37
42
  .main__content-inner {
38
43
  width: auto;
39
44
  margin: auto;
40
- max-width: $u-content-max-width + 2*$u-content-margin;
45
+ max-width: globals.$u-content-max-width + 2 * globals.$u-content-margin;
41
46
  padding: {
42
- left: $u-content-margin;
43
- right: $u-content-margin;
47
+ left: globals.$u-content-margin;
48
+ right: globals.$u-content-margin;
44
49
  }
45
50
 
46
- @include u-responsive-mobile {
51
+ @include globals.u-responsive-mobile {
47
52
  padding: {
48
- left: u-spacing( 0 );
49
- right: u-spacing( 0 );
53
+ left: spacing.u-spacing( 0 );
54
+ right: spacing.u-spacing( 0 );
50
55
  }
51
56
  }
52
57
  }
@@ -1,25 +1,29 @@
1
1
  // Copyright (c) 2017-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  // For licensing, see LICENSE.md or http://ckeditor.com/license
3
3
 
4
+ @use 'helpers/color';
5
+ @use 'helpers/globals';
6
+ @use 'helpers/spacing';
7
+
4
8
  .side-navigation {
5
- flex: 0 0 $u-sidebar-width;
9
+ flex: 0 0 globals.$u-sidebar-width;
6
10
 
7
- @include u-responsive-tablet {
11
+ @include globals.u-responsive-tablet {
8
12
  display: none;
9
13
  }
10
14
 
11
15
  // needed for independent scroll
12
16
  &__wrapper {
13
- @include u-box;
14
- height: calc( 100% - #{ $u-top-height } );
17
+ @include globals.u-box;
18
+ height: calc( 100% - #{ globals.$u-top-height } );
15
19
  display: flex;
16
20
  position: fixed;
17
21
  }
18
22
 
19
23
  &__inner {
20
- width: $u-sidebar-width;
21
- padding: u-spacing( 0 ) 0;
22
- border-right: 1px solid u-color( 'background-hue' );
24
+ width: globals.$u-sidebar-width;
25
+ padding: spacing.u-spacing( 0 ) 0;
26
+ border-right: 1px solid color.u-color( 'background-hue' );
23
27
  overflow-y: auto;
24
28
  transition: 250ms ease margin;
25
29
  overflow-x: hidden;
@@ -1,6 +1,11 @@
1
1
  // Copyright (c) 2017-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  // For licensing, see LICENSE.md or http://ckeditor.com/license
3
3
 
4
+ @use 'helpers/color';
5
+ @use 'helpers/globals';
6
+ @use 'helpers/spacing';
7
+ @use 'sass:math';
8
+
4
9
  p.notice,
5
10
  div.notice,
6
11
  nav.notice,
@@ -8,10 +13,10 @@ nav.notice,
8
13
  div.tip,
9
14
  p.tip {
10
15
  position: relative;
11
- margin: u-spacing( 4 ) 0;
12
- background: u-color( 'background-hue' );
13
- border-left: 3px solid u-color( 'hint-info' );
14
- padding: u-spacing( 4 );
16
+ margin: spacing.u-spacing( 4 ) 0;
17
+ background: color.u-color( 'background-hue' );
18
+ border-left: 3px solid color.u-color( 'hint-info' );
19
+ padding: spacing.u-spacing( 4 );
15
20
 
16
21
  p {
17
22
  &:first-of-type {
@@ -25,49 +30,49 @@ p.tip {
25
30
 
26
31
  &::before {
27
32
  display: block;
28
- width: $u-top-icon-width;
29
- height: $u-top-icon-width;
33
+ width: globals.$u-top-icon-width;
34
+ height: globals.$u-top-icon-width;
30
35
  position: absolute;
31
- left: ( $u-top-icon-width * 2 - math.div( $u-top-icon-width, 2 ) ) * -1;
32
- top: math.div( $u-top-icon-width, 2 );
36
+ left: ( globals.$u-top-icon-width * 2 - math.div( globals.$u-top-icon-width, 2 ) ) * -1;
37
+ top: math.div( globals.$u-top-icon-width, 2 );
33
38
  }
34
39
 
35
- @include u-responsive-narrow {
40
+ @include globals.u-responsive-narrow {
36
41
  position: relative;
37
- background: u-color( 'background-dark' );
42
+ background: color.u-color( 'background-dark' );
38
43
 
39
44
  &::before {
40
45
  display: block;
41
- width: $u-top-icon-width;
42
- height: $u-top-icon-width;
46
+ width: globals.$u-top-icon-width;
47
+ height: globals.$u-top-icon-width;
43
48
  position: absolute;
44
- left: $u-top-icon-width - math.div( $u-top-icon-width, 2 );
45
- top: math.div( $u-top-icon-width, 2 );
49
+ left: globals.$u-top-icon-width - math.div( globals.$u-top-icon-width, 2 );
50
+ top: math.div( globals.$u-top-icon-width, 2 );
46
51
  }
47
52
  }
48
53
 
49
- @include u-responsive-mobile {
50
- padding: u-spacing( 0 );
51
- margin: u-spacing( 0 );
54
+ @include globals.u-responsive-mobile {
55
+ padding: spacing.u-spacing( 0 );
56
+ margin: spacing.u-spacing( 0 );
52
57
  }
53
58
 
54
59
  &__hint {
55
- border-left: 3px solid u-color( 'hint-info' );
60
+ border-left: 3px solid color.u-color( 'hint-info' );
56
61
  }
57
62
 
58
63
  &__feedback {
59
- border-left: 3px solid u-color( 'hint-hint' );
60
- background-color: rgba( u-color( 'hint-hint' ), .1 );
64
+ border-left: 3px solid color.u-color( 'hint-hint' );
65
+ background-color: rgba( color.u-color( 'hint-hint' ), .1 );
61
66
  }
62
67
 
63
68
  &__warning {
64
- border-left: 3px solid u-color( 'hint-warning' );
65
- background-color: rgba( u-color( 'hint-warning' ), .1 );
69
+ border-left: 3px solid color.u-color( 'hint-warning' );
70
+ background-color: rgba( color.u-color( 'hint-warning' ), .1 );
66
71
  }
67
72
 
68
73
  &__error {
69
- border-left: 3px solid u-color( 'hint-error' );
70
- background-color: rgba( u-color( 'hint-error' ), .1 );
74
+ border-left: 3px solid color.u-color( 'hint-error' );
75
+ background-color: rgba( color.u-color( 'hint-error' ), .1 );
71
76
  }
72
77
 
73
78
  &_menu-like {
@@ -76,7 +81,7 @@ p.tip {
76
81
  margin: 0;
77
82
  }
78
83
 
79
- @include u-responsive-narrow {
84
+ @include globals.u-responsive-narrow {
80
85
  // background: none;
81
86
 
82
87
  li {
@@ -84,24 +89,24 @@ p.tip {
84
89
  }
85
90
  }
86
91
 
87
- @include u-responsive-wide {
88
- padding: u-spacing( 0 ) 0 0;
92
+ @include globals.u-responsive-wide {
93
+ padding: spacing.u-spacing( 0 ) 0 0;
89
94
 
90
95
  ul, ol {
91
96
  text-align: center;
92
97
 
93
98
  li {
94
99
  a {
95
- padding: u-spacing( -1 ) u-spacing( 1 );
100
+ padding: spacing.u-spacing( -1 ) spacing.u-spacing( 1 );
96
101
  display: block;
97
102
 
98
103
  &:hover {
99
- background: u-color( 'background-dark' );
104
+ background: color.u-color( 'background-dark' );
100
105
  }
101
106
  }
102
107
 
103
108
  & + li {
104
- border-top: 1px solid u-color( 'separator' );
109
+ border-top: 1px solid color.u-color( 'separator' );
105
110
  }
106
111
  }
107
112
 
@@ -9,6 +9,8 @@
9
9
  * The theme was a little bit cleaned up to match Umberto theme.
10
10
  */
11
11
 
12
+ @use 'helpers/spacing';
13
+
12
14
  code.highlight[class*="language-"],
13
15
  pre.highlight[class*="language-"] {
14
16
  color: #f8f8f2;
@@ -126,14 +128,14 @@ div.code-toolbar {
126
128
 
127
129
  & > .toolbar {
128
130
  position: absolute;
129
- top: u-spacing( -2 );
130
- right: u-spacing( -2 );
131
+ top: spacing.u-spacing( -2 );
132
+ right: spacing.u-spacing( -2 );
131
133
  display: flex;
132
134
  flex-direction: row;
133
135
  flex-wrap: nowrap;
134
136
 
135
137
  .toolbar-item + .toolbar-item {
136
- margin-left: u-spacing( -3 );
138
+ margin-left: spacing.u-spacing( -3 );
137
139
  }
138
140
 
139
141
  & button {
@@ -1,10 +1,12 @@
1
1
  // Copyright (c) 2017-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  // For licensing, see LICENSE.md or http://ckeditor.com/license
3
3
 
4
+ @use 'helpers/globals';
5
+
4
6
  .rwd-breadcrumbs {
5
7
  display: none;
6
8
 
7
- @include u-responsive-tablet {
9
+ @include globals.u-responsive-tablet {
8
10
  display: block;
9
11
  }
10
12
 
@@ -1,14 +1,19 @@
1
1
  // Copyright (c) 2017-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  // For licensing, see LICENSE.md or http://ckeditor.com/license
3
3
 
4
+ @use 'helpers/color';
5
+ @use 'helpers/font';
6
+ @use 'helpers/globals';
7
+ @use 'helpers/spacing';
8
+
4
9
  .header__menu-rwd {
5
10
  display: none;
6
- height: calc( 100% - #{ $u-top-main } );
11
+ height: calc( 100% - #{ globals.$u-top-main } );
7
12
  overflow-x: hidden;
8
- background: u-color( 'background-bright' );
13
+ background: color.u-color( 'background-bright' );
9
14
 
10
15
  a {
11
- color: u-color( 'text-invert' );
16
+ color: color.u-color( 'text-invert' );
12
17
  display: block;
13
18
  width: 100%;
14
19
 
@@ -27,29 +32,29 @@
27
32
 
28
33
  /* Make different appearance of project names (CK5, CK4, Letters etc.). */
29
34
  li[data-project] {
30
- border-bottom: 1px solid u-color( 'separator' );
35
+ border-bottom: 1px solid color.u-color( 'separator' );
31
36
 
32
37
  > a {
33
- padding: u-spacing( -1 );
34
- color: u-color( 'text' );
35
- background: u-color( 'background-dark' );
36
- font-size: u-font-size( 1 );
38
+ padding: spacing.u-spacing( -1 );
39
+ color: color.u-color( 'text' );
40
+ background: color.u-color( 'background-dark' );
41
+ font-size: font.u-font-size( 1 );
37
42
  font-weight: bold;
38
43
  }
39
44
  }
40
45
 
41
46
  /* 2nd level of tree. */
42
47
  ul.header__menu-rwd__projects-pages {
43
- background: u-color( 'background-bright' );
48
+ background: color.u-color( 'background-bright' );
44
49
  padding-bottom: 0;
45
50
 
46
51
  /* Style elements like Builds, Framework, Examples, API, Features. */
47
52
  li[data-group] {
48
- border-bottom: 1px solid u-color( 'separator' );
53
+ border-bottom: 1px solid color.u-color( 'separator' );
49
54
 
50
55
  > a {
51
- padding: u-spacing( -1 );
52
- margin-left: u-spacing( 0 );
56
+ padding: spacing.u-spacing( -1 );
57
+ margin-left: spacing.u-spacing( 0 );
53
58
  text-transform: uppercase;
54
59
  }
55
60
  }
@@ -57,8 +62,8 @@
57
62
 
58
63
  /* 3rd level of tree. */
59
64
  ul.header__menu-rwd__projects-subpages {
60
- margin-top: -1 * u-spacing( -3 );
61
- margin-bottom: u-spacing( -1 );
65
+ margin-top: -1 * spacing.u-spacing( -3 );
66
+ margin-bottom: spacing.u-spacing( -1 );
62
67
  }
63
68
 
64
69
  /* Highlight active and focused item. */
@@ -66,7 +71,7 @@
66
71
  .tree__item__wrapper:focus,
67
72
  .tree__item__wrapper:active {
68
73
  font-weight: bold;
69
- background-color: u-color( 'separator' );
74
+ background-color: color.u-color( 'separator' );
70
75
  }
71
76
 
72
77
  /* Disable active effect during scrolling on the mobile. */
@@ -1,40 +1,46 @@
1
1
  // Copyright (c) 2017-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  // For licensing, see LICENSE.md or http://ckeditor.com/license
3
3
 
4
+ @use 'helpers/color';
5
+ @use 'helpers/font';
6
+ @use 'helpers/globals';
7
+ @use 'helpers/spacing';
8
+ @use 'sass:math';
9
+
4
10
  nav.secondary-navigation {
5
- @include u-baseline-margin( 0 );
11
+ @include font.u-baseline-margin( 0 );
6
12
 
7
- @include u-responsive-wide {
8
- padding-top: u-spacing( 4 ) * 2;
9
- padding-right: u-spacing( 4 );
13
+ @include globals.u-responsive-wide {
14
+ padding-top: spacing.u-spacing( 4 ) * 2;
15
+ padding-right: spacing.u-spacing( 4 );
10
16
  position: fixed;
11
- top: $u-top-height;
17
+ top: globals.$u-top-height;
12
18
  right: 0;
13
- height: calc( 100vh - #{$u-top-height} - 50px );
19
+ height: calc( 100vh - #{globals.$u-top-height} - 50px );
14
20
  overflow-y: auto;
15
- width: $u-sidebar-width;
16
- background-color: u-color( 'background-bright' );
21
+ width: globals.$u-sidebar-width;
22
+ background-color: color.u-color( 'background-bright' );
17
23
  }
18
24
 
19
- @include u-responsive-narrow {
20
- padding: u-spacing( 2 );
21
- background-color: u-color( 'background-hue-light' );
25
+ @include globals.u-responsive-narrow {
26
+ padding: spacing.u-spacing( 2 );
27
+ background-color: color.u-color( 'background-hue-light' );
22
28
  }
23
29
 
24
30
  /* Main navigation title. */
25
31
  h3 {
26
- margin-bottom: u-spacing( 0 );
32
+ margin-bottom: spacing.u-spacing( 0 );
27
33
  padding-top: 0;
28
34
  }
29
35
 
30
36
  a {
31
37
  display: block;
32
38
  font-size: 14px;
33
- color: u-color( 'text-gray' );
39
+ color: color.u-color( 'text-gray' );
34
40
  position: relative;
35
41
  transition: 200ms ease color;
36
42
  margin: 0;
37
- padding: u-spacing( -3 ) 0;
43
+ padding: spacing.u-spacing( -3 ) 0;
38
44
  line-height: 1.4;
39
45
 
40
46
  /* Styles for active item dot. */
@@ -51,28 +57,28 @@ nav.secondary-navigation {
51
57
  border-radius: 50%;
52
58
  transition: 200ms ease opacity;
53
59
 
54
- @include u-responsive-narrow {
60
+ @include globals.u-responsive-narrow {
55
61
  display: none;
56
62
  }
57
63
  }
58
64
 
59
65
  &:hover {
60
- color: u-color( 'link' );
66
+ color: color.u-color( 'link' );
61
67
  text-decoration: none;
62
68
 
63
69
  &::before{
64
- background: u-color( 'text-gray' );
70
+ background: color.u-color( 'text-gray' );
65
71
  opacity: 1;
66
72
  }
67
73
  }
68
74
 
69
75
  &.secondary-navigation__current-position {
70
- color: u-color( 'link' );
76
+ color: color.u-color( 'link' );
71
77
  -webkit-text-stroke-width: thin;
72
78
 
73
79
  &::before {
74
80
  opacity: 1;
75
- background: u-color( 'link' );
81
+ background: color.u-color( 'link' );
76
82
  }
77
83
  }
78
84
  }
@@ -81,10 +87,10 @@ nav.secondary-navigation {
81
87
  > ol {
82
88
  border-left: 1px solid #eee;
83
89
  padding-left: 1em;
84
- margin-left: u-spacing( -3 );
90
+ margin-left: spacing.u-spacing( -3 );
85
91
  padding-top: 0;
86
92
 
87
- @include u-responsive-narrow {
93
+ @include globals.u-responsive-narrow {
88
94
  border-left: 0;
89
95
  padding-left: 0;
90
96
  }
@@ -96,7 +102,7 @@ nav.secondary-navigation {
96
102
 
97
103
  ol {
98
104
  margin: 0;
99
- margin-left: u-spacing( 0 );
105
+ margin-left: spacing.u-spacing( 0 );
100
106
 
101
107
  // We need to move dot to the left, because of left margin of nested list.
102
108
  a.secondary-navigation__current-position::before,
@@ -117,30 +123,30 @@ nav.secondary-navigation {
117
123
 
118
124
 
119
125
  nav.api-secondary-navigation {
120
- @include u-baseline-margin( 0 );
121
- background: u-color( 'background-hue-light' );
122
- padding-left: 2*u-spacing( 0 );
123
- padding-right: u-spacing( 0 );
124
- padding-bottom: u-spacing( 4 );
125
-
126
- @include u-responsive-narrow {
127
- padding-top: u-spacing( 4 );
126
+ @include font.u-baseline-margin( 0 );
127
+ background: color.u-color( 'background-hue-light' );
128
+ padding-left: 2*spacing.u-spacing( 0 );
129
+ padding-right: spacing.u-spacing( 0 );
130
+ padding-bottom: spacing.u-spacing( 4 );
131
+
132
+ @include globals.u-responsive-narrow {
133
+ padding-top: spacing.u-spacing( 4 );
128
134
  }
129
135
 
130
- @include u-responsive-wide {
136
+ @include globals.u-responsive-wide {
131
137
  position: fixed;
132
- top: $u-top-height;
138
+ top: globals.$u-top-height;
133
139
  right: 0;
134
- height: calc( 100vh - #{$u-top-height} - 50px );
140
+ height: calc( 100vh - #{globals.$u-top-height} - 50px );
135
141
  overflow-y: auto;
136
- width: $u-sidebar-width;
137
- background-color: u-color( 'background-bright' );
138
- border-left: 1px solid u-color( 'background-hue' );
139
- padding-top: u-spacing( 4 ) * 2;
142
+ width: globals.$u-sidebar-width;
143
+ background-color: color.u-color( 'background-bright' );
144
+ border-left: 1px solid color.u-color( 'background-hue' );
145
+ padding-top: spacing.u-spacing( 4 ) * 2;
140
146
  }
141
147
 
142
148
  h3 {
143
- margin-bottom: math.div( u-spacing( 0 ), 3 );
149
+ margin-bottom: math.div( spacing.u-spacing( 0 ), 3 );
144
150
  padding-top: 0;
145
151
  }
146
152
  }
@@ -1,6 +1,8 @@
1
1
  // Copyright (c) 2017-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  // For licensing, see LICENSE.md or http://ckeditor.com/license
3
3
 
4
+ @use 'helpers/color';
5
+
4
6
  .toggler {
5
7
  &--collapsed,
6
8
  &--expanded {
@@ -17,13 +19,13 @@
17
19
  &::before {
18
20
  margin-left: 1px;
19
21
  border-width: 4px 0 4px 6px;
20
- border-color: transparent transparent transparent u-color( 'toggler' );
22
+ border-color: transparent transparent transparent color.u-color( 'toggler' );
21
23
 
22
24
  }
23
25
 
24
26
  &:hover {
25
27
  &::before {
26
- border-color: transparent transparent transparent u-color( 'toggler', -8% );
28
+ border-color: transparent transparent transparent color.u-color( 'toggler', -8% );
27
29
  }
28
30
  }
29
31
  }
@@ -32,12 +34,12 @@
32
34
  &::before {
33
35
  margin-top: 1px;
34
36
  border-width: 6px 4px 0 4px;
35
- border-color: u-color( 'toggler' ) transparent transparent transparent;
37
+ border-color: color.u-color( 'toggler' ) transparent transparent transparent;
36
38
  }
37
39
 
38
40
  &:hover {
39
41
  &::before {
40
- border-color: u-color( 'toggler', -8% ) transparent transparent transparent;
42
+ border-color: color.u-color( 'toggler', -8% ) transparent transparent transparent;
41
43
  }
42
44
  }
43
45
  }