@aotearoan/neon 19.0.2 → 21.0.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.
- package/dist/common/enums/NeonButtonStyle.cjs.js +1 -1
- package/dist/common/enums/NeonButtonStyle.cjs.js.map +1 -1
- package/dist/common/enums/NeonButtonStyle.es.js +1 -1
- package/dist/common/enums/NeonButtonStyle.es.js.map +1 -1
- package/dist/common/enums/NeonDropdownStyle.cjs.js +1 -1
- package/dist/common/enums/NeonDropdownStyle.cjs.js.map +1 -1
- package/dist/common/enums/NeonDropdownStyle.es.js +2 -2
- package/dist/common/enums/NeonDropdownStyle.es.js.map +1 -1
- package/dist/common/enums/NeonMode.cjs.js +1 -1
- package/dist/common/enums/NeonMode.cjs.js.map +1 -1
- package/dist/common/enums/NeonMode.es.js +1 -1
- package/dist/common/enums/NeonMode.es.js.map +1 -1
- package/dist/common/icons/light-mode-sunny.svg.cjs.js +26 -0
- package/dist/common/icons/light-mode-sunny.svg.cjs.js.map +1 -0
- package/dist/common/icons/light-mode-sunny.svg.es.js +29 -0
- package/dist/common/icons/light-mode-sunny.svg.es.js.map +1 -0
- package/dist/common/utils/NeonModeUtils.cjs.js +1 -1
- package/dist/common/utils/NeonModeUtils.cjs.js.map +1 -1
- package/dist/common/utils/NeonModeUtils.es.js +38 -43
- package/dist/common/utils/NeonModeUtils.es.js.map +1 -1
- package/dist/common/utils/RegisterIcons.cjs.js +1 -1
- package/dist/common/utils/RegisterIcons.cjs.js.map +1 -1
- package/dist/common/utils/RegisterIcons.es.js +23 -22
- package/dist/common/utils/RegisterIcons.es.js.map +1 -1
- package/dist/components/feedback/dialog/NeonDialog.vue.cjs.js +1 -1
- package/dist/components/feedback/dialog/NeonDialog.vue.cjs.js.map +1 -1
- package/dist/components/feedback/dialog/NeonDialog.vue.es.js +6 -5
- package/dist/components/feedback/dialog/NeonDialog.vue.es.js.map +1 -1
- package/dist/components/feedback/note/NeonNote.vue.cjs.js +1 -1
- package/dist/components/feedback/note/NeonNote.vue.cjs.js.map +1 -1
- package/dist/components/feedback/note/NeonNote.vue.es.js +1 -0
- package/dist/components/feedback/note/NeonNote.vue.es.js.map +1 -1
- package/dist/components/navigation/mobile-menu/NeonMobileMenu.cjs.js +2 -0
- package/dist/components/navigation/mobile-menu/NeonMobileMenu.cjs.js.map +1 -0
- package/dist/components/navigation/mobile-menu/NeonMobileMenu.es.js +44 -0
- package/dist/components/navigation/mobile-menu/NeonMobileMenu.es.js.map +1 -0
- package/dist/components/navigation/mobile-menu/NeonMobileMenu.vue.cjs.js +2 -0
- package/dist/components/navigation/mobile-menu/NeonMobileMenu.vue.cjs.js.map +1 -0
- package/dist/components/navigation/mobile-menu/NeonMobileMenu.vue.es.js +57 -0
- package/dist/components/navigation/mobile-menu/NeonMobileMenu.vue.es.js.map +1 -0
- package/dist/components/presentation/dropdown/NeonDropdown.cjs.js +1 -1
- package/dist/components/presentation/dropdown/NeonDropdown.cjs.js.map +1 -1
- package/dist/components/presentation/dropdown/NeonDropdown.es.js +44 -40
- package/dist/components/presentation/dropdown/NeonDropdown.es.js.map +1 -1
- package/dist/components/presentation/dropdown/NeonDropdown.vue.cjs.js +1 -1
- package/dist/components/presentation/dropdown/NeonDropdown.vue.cjs.js.map +1 -1
- package/dist/components/presentation/dropdown/NeonDropdown.vue.es.js +9 -9
- package/dist/components/presentation/dropdown/NeonDropdown.vue.es.js.map +1 -1
- package/dist/components/presentation/icon/NeonIcon.cjs.js.map +1 -1
- package/dist/components/presentation/icon/NeonIcon.es.js.map +1 -1
- package/dist/components/presentation/tabs/NeonTabs.cjs.js +1 -1
- package/dist/components/presentation/tabs/NeonTabs.cjs.js.map +1 -1
- package/dist/components/presentation/tabs/NeonTabs.es.js +13 -19
- package/dist/components/presentation/tabs/NeonTabs.es.js.map +1 -1
- package/dist/components/presentation/tabs/NeonTabs.vue.cjs.js +1 -1
- package/dist/components/presentation/tabs/NeonTabs.vue.cjs.js.map +1 -1
- package/dist/components/presentation/tabs/NeonTabs.vue.es.js +6 -6
- package/dist/components/presentation/tabs/NeonTabs.vue.es.js.map +1 -1
- package/dist/components/user-input/button/NeonButton.vue.cjs.js +1 -1
- package/dist/components/user-input/button/NeonButton.vue.cjs.js.map +1 -1
- package/dist/components/user-input/button/NeonButton.vue.es.js +12 -12
- package/dist/components/user-input/button/NeonButton.vue.es.js.map +1 -1
- package/dist/components/user-input/field/NeonField.vue.cjs.js +1 -1
- package/dist/components/user-input/field/NeonField.vue.cjs.js.map +1 -1
- package/dist/components/user-input/field/NeonField.vue.es.js +1 -1
- package/dist/components/user-input/field/NeonField.vue.es.js.map +1 -1
- package/dist/components/user-input/file/NeonFile.vue.cjs.js +1 -1
- package/dist/components/user-input/file/NeonFile.vue.cjs.js.map +1 -1
- package/dist/components/user-input/file/NeonFile.vue.es.js +1 -0
- package/dist/components/user-input/file/NeonFile.vue.es.js.map +1 -1
- package/dist/components/user-input/input/NeonInput.cjs.js +1 -1
- package/dist/components/user-input/input/NeonInput.cjs.js.map +1 -1
- package/dist/components/user-input/input/NeonInput.es.js +17 -17
- package/dist/components/user-input/input/NeonInput.es.js.map +1 -1
- package/dist/components/user-input/select/NeonSelect.cjs.js +1 -1
- package/dist/components/user-input/select/NeonSelect.cjs.js.map +1 -1
- package/dist/components/user-input/select/NeonSelect.es.js +75 -69
- package/dist/components/user-input/select/NeonSelect.es.js.map +1 -1
- package/dist/components/user-input/select/NeonSelect.vue.cjs.js +1 -1
- package/dist/components/user-input/select/NeonSelect.vue.cjs.js.map +1 -1
- package/dist/components/user-input/select/NeonSelect.vue.es.js +29 -21
- package/dist/components/user-input/select/NeonSelect.vue.es.js.map +1 -1
- package/dist/neon.cjs.js +1 -1
- package/dist/neon.es.js +96 -96
- package/dist/src/common/enums/NeonButtonStyle.d.ts +6 -1
- package/dist/src/common/enums/NeonDropdownStyle.d.ts +5 -2
- package/dist/src/common/enums/NeonMode.d.ts +3 -1
- package/dist/src/common/models/NeonMenuItem.d.ts +2 -2
- package/dist/src/common/utils/NeonModeUtils.d.ts +17 -21
- package/dist/src/components/feedback/linear-progress/NeonLinearProgress.d.ts +2 -6
- package/dist/src/components/navigation/dropdown-menu/NeonDropdownMenu.d.ts +5 -0
- package/dist/src/components/navigation/menu/NeonMenu.d.ts +9 -4
- package/dist/src/components/navigation/mobile-menu/NeonMobileMenu.d.ts +2630 -0
- package/dist/src/components/navigation/mobile-menu/NeonMobileMenu.vue.d.ts +2 -0
- package/dist/src/components/presentation/dropdown/NeonDropdown.d.ts +16 -16
- package/dist/src/components/presentation/icon/NeonIcon.d.ts +1 -1
- package/dist/src/components/presentation/tabs/NeonTabs.d.ts +2 -19
- package/dist/src/components/user-input/date-picker/NeonDatePicker.d.ts +21 -2
- package/dist/src/components/user-input/file/NeonFile.d.ts +8 -24
- package/dist/src/components/user-input/filter-list/NeonFilterList.d.ts +4 -12
- package/dist/src/components/user-input/input/NeonInput.d.ts +8 -2
- package/dist/src/components/user-input/search/NeonSearch.d.ts +77 -42
- package/dist/src/components/user-input/select/NeonSelect.d.ts +133 -203
- package/dist/src/neon.d.ts +1 -1
- package/package.json +1 -1
- package/src/sass/color-variables.scss +6 -4
- package/src/sass/components/_action-menu.scss +1 -1
- package/src/sass/components/_alert-container.scss +2 -2
- package/src/sass/components/_badge.scss +2 -2
- package/src/sass/components/_button.scss +25 -1
- package/src/sass/components/_card-list.scss +2 -2
- package/src/sass/components/_date-picker.scss +7 -7
- package/src/sass/components/_dropdown-menu.scss +2 -2
- package/src/sass/components/_expansion-panel.scss +2 -2
- package/src/sass/components/_filter-list.scss +6 -6
- package/src/sass/components/_icon.scss +1 -1
- package/src/sass/components/_image-carousel.scss +2 -1
- package/src/sass/components/_input.scss +11 -11
- package/src/sass/components/_label.scss +1 -1
- package/src/sass/components/_linear-progress.scss +1 -1
- package/src/sass/components/_list.scss +2 -2
- package/src/sass/components/_menu.scss +1 -1
- package/src/sass/components/_mobile-menu.scss +110 -0
- package/src/sass/components/_note.scss +1 -1
- package/src/sass/components/_notification-counter.scss +2 -2
- package/src/sass/components/_number.scss +2 -2
- package/src/sass/components/_range-slider.scss +1 -1
- package/src/sass/components/_search.scss +2 -2
- package/src/sass/components/_select.scss +16 -2
- package/src/sass/components/_slider.scss +1 -1
- package/src/sass/components/_stepper.scss +3 -3
- package/src/sass/components/_switch.scss +1 -1
- package/src/sass/components/_tabs.scss +46 -81
- package/src/sass/components/_toggle.scss +3 -3
- package/src/sass/components/_tooltip.scss +7 -7
- package/src/sass/components/_tree-menu.scss +6 -6
- package/src/sass/components/components.scss +1 -0
- package/src/sass/global/_base-html.scss +23 -15
- package/src/sass/global/_table.scss +4 -4
- package/src/sass/global/_typography.scss +2 -1
- package/src/sass/includes/_dependencies.scss +1 -0
- package/src/sass/includes/_outline.scss +1 -1
- package/src/sass/includes/_typography.scss +1 -1
- package/src/sass/palette.scss +6 -9
- package/src/sass/theme.scss +4 -0
- package/src/sass/variables.scss +63 -55
- package/dist/common/enums/NeonTabsStyle.cjs.js +0 -2
- package/dist/common/enums/NeonTabsStyle.cjs.js.map +0 -1
- package/dist/common/enums/NeonTabsStyle.es.js +0 -5
- package/dist/common/enums/NeonTabsStyle.es.js.map +0 -1
- package/dist/src/common/enums/NeonTabsStyle.d.ts +0 -9
|
@@ -107,7 +107,7 @@ $neon-width-slider-tooltip: 201rem;
|
|
|
107
107
|
font-size: var(--neon-font-size-s);
|
|
108
108
|
font-variant: tabular-nums;
|
|
109
109
|
line-height: 1;
|
|
110
|
-
font-weight: var(--neon-font-weight-bold);
|
|
110
|
+
font-weight: var(--neon-font-weight-semi-bold);
|
|
111
111
|
letter-spacing: 0;
|
|
112
112
|
padding: var(--neon-space-8);
|
|
113
113
|
border-radius: var(--neon-border-radius-slider-tooltip);
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
&--active,
|
|
91
91
|
&--has-value {
|
|
92
92
|
.neon-stepper__step-title {
|
|
93
|
-
color: var(--neon-color-text-
|
|
93
|
+
color: var(--neon-color-text-primary);
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.neon-stepper__step-title {
|
|
105
|
-
font-weight: var(--neon-font-weight-bold);
|
|
105
|
+
font-weight: var(--neon-font-weight-semi-bold);
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
}
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
|
|
119
119
|
.neon-stepper__step--active, {
|
|
120
120
|
.neon-stepper__step-title {
|
|
121
|
-
font-weight: var(--neon-font-weight-bold);
|
|
121
|
+
font-weight: var(--neon-font-weight-semi-bold);
|
|
122
122
|
color: var(--neon-color-#{$color});
|
|
123
123
|
}
|
|
124
124
|
}
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
display: flex;
|
|
42
42
|
flex-direction: row;
|
|
43
43
|
align-items: center;
|
|
44
|
-
font-weight: var(--neon-font-weight-
|
|
44
|
+
font-weight: var(--neon-font-weight-medium);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.neon-tabs__menu-item {
|
|
@@ -66,14 +66,14 @@
|
|
|
66
66
|
outline: none;
|
|
67
67
|
height: 100%;
|
|
68
68
|
align-items: center;
|
|
69
|
-
color: var(--neon-color-text-
|
|
69
|
+
color: var(--neon-color-text-primary);
|
|
70
70
|
|
|
71
71
|
.neon-svg--stroke {
|
|
72
|
-
stroke: var(--neon-color-text-
|
|
72
|
+
stroke: var(--neon-color-text-primary);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.neon-svg--fill {
|
|
76
|
-
fill: var(--neon-color-text-
|
|
76
|
+
fill: var(--neon-color-text-primary);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
&:before {
|
|
@@ -90,102 +90,67 @@
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
font-size: var(--neon-font-size-m);
|
|
93
|
+
&.neon-tabs--s {
|
|
94
|
+
.neon-tabs__menu-items {
|
|
95
|
+
height: var(--neon-size-s);
|
|
96
|
+
font-size: var(--neon-font-size-m);
|
|
98
97
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&.neon-tabs--m {
|
|
108
|
-
.neon-tabs__menu-items {
|
|
109
|
-
height: var(--neon-size-m);
|
|
110
|
-
font-size: var(--neon-font-size-l);
|
|
111
|
-
|
|
112
|
-
svg {
|
|
113
|
-
width: var(--neon-font-size-l);
|
|
114
|
-
height: var(--neon-font-size-l);
|
|
115
|
-
margin-right: calc(2 * var(--neon-base-space));
|
|
116
|
-
}
|
|
98
|
+
svg {
|
|
99
|
+
width: var(--neon-font-size-m);
|
|
100
|
+
height: var(--neon-font-size-m);
|
|
101
|
+
margin-right: var(--neon-base-space);
|
|
117
102
|
}
|
|
118
103
|
}
|
|
104
|
+
}
|
|
119
105
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
106
|
+
&.neon-tabs--m {
|
|
107
|
+
.neon-tabs__menu-items {
|
|
108
|
+
height: var(--neon-size-m);
|
|
109
|
+
font-size: var(--neon-font-size-l);
|
|
124
110
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}
|
|
111
|
+
svg {
|
|
112
|
+
width: var(--neon-font-size-l);
|
|
113
|
+
height: var(--neon-font-size-l);
|
|
114
|
+
margin-right: calc(2 * var(--neon-base-space));
|
|
130
115
|
}
|
|
131
116
|
}
|
|
117
|
+
}
|
|
132
118
|
|
|
133
|
-
|
|
134
|
-
|
|
119
|
+
&.neon-tabs--l {
|
|
120
|
+
.neon-tabs__menu-items {
|
|
121
|
+
height: var(--neon-size-l);
|
|
122
|
+
font-size: var(--neon-font-size-l);
|
|
135
123
|
|
|
136
|
-
|
|
137
|
-
|
|
124
|
+
svg {
|
|
125
|
+
width: var(--neon-font-size-l);
|
|
126
|
+
height: var(--neon-font-size-l);
|
|
127
|
+
margin-right: calc(2 * var(--neon-base-space));
|
|
138
128
|
}
|
|
139
129
|
}
|
|
130
|
+
}
|
|
140
131
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
margin-left: calc(6 * var(--neon-base-space));
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
&-container {
|
|
147
|
-
flex-direction: row;
|
|
148
|
-
}
|
|
132
|
+
.neon-tabs__menu-items--underlined {
|
|
133
|
+
border-bottom: var(--neon-border-width-tabs) var(--neon-border-style) var(--neon-border-color-tabs-underline);
|
|
149
134
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
margin-left: var(--neon-base-space);
|
|
153
|
-
margin-right: var(--neon-base-space);
|
|
154
|
-
width: calc(100% - 2 * var(--neon-base-space));
|
|
155
|
-
}
|
|
156
|
-
}
|
|
135
|
+
.neon-tabs__menu-item-container:before {
|
|
136
|
+
bottom: calc(-1 * var(--neon-border-width-tabs));
|
|
157
137
|
}
|
|
158
138
|
}
|
|
159
139
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
.neon-tabs__menu-items--underlined {
|
|
164
|
-
border-top: var(--neon-border-width-tabs) var(--neon-border-style) var(--neon-border-color-tabs-underline);
|
|
165
|
-
|
|
166
|
-
.neon-tabs__menu-item-container:before {
|
|
167
|
-
top: calc(-1 * (var(--neon-border-width-tabs) + var(--neon-border-width)));
|
|
168
|
-
}
|
|
140
|
+
.neon-tabs__menu-item {
|
|
141
|
+
& + .neon-tabs__menu-item {
|
|
142
|
+
margin-left: calc(6 * var(--neon-base-space));
|
|
169
143
|
}
|
|
170
144
|
|
|
171
|
-
|
|
172
|
-
|
|
145
|
+
&-container {
|
|
146
|
+
flex-direction: row;
|
|
147
|
+
}
|
|
173
148
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
width: 100
|
|
179
|
-
padding-top: calc(3 * var(--neon-base-space));
|
|
180
|
-
padding-bottom: calc(2 * var(--neon-base-space));
|
|
181
|
-
font-weight: var(--neon-font-weight-semi-bold);
|
|
182
|
-
font-size: var(--neon-font-size-xs);
|
|
183
|
-
line-height: 1.26;
|
|
184
|
-
|
|
185
|
-
.neon-icon {
|
|
186
|
-
width: auto;
|
|
187
|
-
height: 24rem;
|
|
188
|
-
}
|
|
149
|
+
.neon-tabs__menu-item-container:focus {
|
|
150
|
+
&:before {
|
|
151
|
+
margin-left: var(--neon-base-space);
|
|
152
|
+
margin-right: var(--neon-base-space);
|
|
153
|
+
width: calc(100% - 2 * var(--neon-base-space));
|
|
189
154
|
}
|
|
190
155
|
}
|
|
191
156
|
}
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
$toggle-color: var(--neon-color-#{$color}) !default;
|
|
43
43
|
|
|
44
44
|
@if ($color == high-contrast) {
|
|
45
|
-
$toggle-rgb: var(--neon-rgb-text);
|
|
46
|
-
$toggle-color: var(--neon-color-text);
|
|
45
|
+
$toggle-rgb: var(--neon-rgb-text-secondary);
|
|
46
|
+
$toggle-color: var(--neon-color-text-secondary);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
@include svg.color-with-svg(rgba($toggle-rgb, var(--neon-opacity-toggle-color)));
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
&.neon-toggle__label--checked {
|
|
106
|
-
color: var(--neon-color-text);
|
|
106
|
+
color: var(--neon-color-text-secondary);
|
|
107
107
|
|
|
108
108
|
.neon-toggle__radio-button {
|
|
109
109
|
border: var(--neon-border-width-radio-button) var(--neon-border-style) var(--neon-color-#{$color});
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
font-size: var(--neon-font-size-xs);
|
|
66
66
|
text-transform: none;
|
|
67
67
|
line-height: var(--neon-line-height-ratio);
|
|
68
|
-
font-weight: var(--neon-font-weight-
|
|
69
|
-
background: var(--neon-color-text);
|
|
68
|
+
font-weight: var(--neon-font-weight-medium);
|
|
69
|
+
background: var(--neon-color-text-secondary);
|
|
70
70
|
color: var(--neon-color-inverse);
|
|
71
71
|
border: var(--neon-border-width-tooltip) solid var(--neon-border-color);
|
|
72
72
|
box-shadow: var(--neon-box-shadow-tooltip);
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
.neon-tooltip__arrow {
|
|
98
98
|
top: calc(100% + var(--neon-space-4));
|
|
99
99
|
margin-top: -6rem;
|
|
100
|
-
border-top: 6rem solid var(--neon-color-text);
|
|
100
|
+
border-top: 6rem solid var(--neon-color-text-secondary);
|
|
101
101
|
z-index: var(--neon-z-index-above-2);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
.neon-tooltip__arrow {
|
|
111
111
|
bottom: calc(100% + var(--neon-space-4));
|
|
112
112
|
margin-bottom: -6rem;
|
|
113
|
-
border-bottom: 6rem solid var(--neon-color-text);
|
|
113
|
+
border-bottom: 6rem solid var(--neon-color-text-secondary);
|
|
114
114
|
z-index: var(--neon-z-index-above-2);
|
|
115
115
|
}
|
|
116
116
|
}
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
.neon-tooltip__arrow {
|
|
145
145
|
left: calc(100% + var(--neon-space-4));
|
|
146
146
|
margin-left: -6rem;
|
|
147
|
-
border-left: 6rem solid var(--neon-color-text);
|
|
147
|
+
border-left: 6rem solid var(--neon-color-text-secondary);
|
|
148
148
|
z-index: var(--neon-z-index-above-2);
|
|
149
149
|
}
|
|
150
150
|
}
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
.neon-tooltip__arrow {
|
|
162
162
|
right: calc(100% + var(--neon-space-4));
|
|
163
163
|
margin-right: -6rem;
|
|
164
|
-
border-right: 6rem solid var(--neon-color-text);
|
|
164
|
+
border-right: 6rem solid var(--neon-color-text-secondary);
|
|
165
165
|
z-index: var(--neon-z-index-above-2);
|
|
166
166
|
}
|
|
167
167
|
}
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
line-height: var(--neon-line-height-ratio);
|
|
200
200
|
font-weight: var(--neon-font-weight-normal);
|
|
201
201
|
background: var(--neon-color-inverse);
|
|
202
|
-
color: var(--neon-color-text);
|
|
202
|
+
color: var(--neon-color-text-secondary);
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
&__content-wrapper {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
&,
|
|
25
25
|
&:hover,
|
|
26
26
|
&:active {
|
|
27
|
-
color: var(--neon-color-text);
|
|
27
|
+
color: var(--neon-color-text-secondary);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
&.neon-link--exact-active {
|
|
@@ -53,15 +53,15 @@
|
|
|
53
53
|
|
|
54
54
|
.neon-tree-menu__section-link {
|
|
55
55
|
font-size: var(--neon-font-size-l);
|
|
56
|
-
font-weight: var(--neon-font-weight-bold);
|
|
56
|
+
font-weight: var(--neon-font-weight-semi-bold);
|
|
57
57
|
|
|
58
58
|
&:visited {
|
|
59
|
-
color: var(--neon-color-text);
|
|
59
|
+
color: var(--neon-color-text-secondary);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.neon-tree-menu__section {
|
|
64
|
-
color: var(--neon-color-text);
|
|
64
|
+
color: var(--neon-color-text-secondary);
|
|
65
65
|
|
|
66
66
|
& > .neon-tree-menu__link {
|
|
67
67
|
font-size: var(--neon-font-size-m);
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
font-weight: var(--neon-font-weight-normal);
|
|
91
91
|
font-size: var(--neon-font-size-s);
|
|
92
92
|
margin-bottom: var(--neon-space-2);
|
|
93
|
-
color: var(--neon-color-text);
|
|
93
|
+
color: var(--neon-color-text-secondary);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.neon-tree-menu__anchor {
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
margin-bottom: var(--neon-space-2);
|
|
99
99
|
padding-left: var(--neon-space-16);
|
|
100
100
|
font-size: var(--neon-font-size-s);
|
|
101
|
-
color: var(--neon-color-text);
|
|
101
|
+
color: var(--neon-color-text-secondary);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
body {
|
|
10
10
|
text-rendering: optimizeLegibility;
|
|
11
11
|
background-color: var(--neon-background-color);
|
|
12
|
-
color: var(--neon-color-text);
|
|
12
|
+
color: var(--neon-color-text-secondary);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
pre.neon--preformatted {
|
|
109
|
-
color: var(--neon-color-text-
|
|
109
|
+
color: var(--neon-color-text-secondary-dark);
|
|
110
110
|
background-color: var(--neon-background-color-pre);
|
|
111
111
|
|
|
112
112
|
&:not(.prism-editor__editor) {
|
|
@@ -155,8 +155,16 @@
|
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
.neon-color-text {
|
|
159
|
-
color: var(--neon-color-text);
|
|
158
|
+
.neon-color-text-primary {
|
|
159
|
+
color: var(--neon-color-text-primary);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.neon-color-text-secondary {
|
|
163
|
+
color: var(--neon-color-text-secondary);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.neon-color-text-tertiary {
|
|
167
|
+
color: var(--neon-color-text-tertiary);
|
|
160
168
|
}
|
|
161
169
|
|
|
162
170
|
.neon-color-inverse {
|
|
@@ -164,46 +172,46 @@
|
|
|
164
172
|
}
|
|
165
173
|
|
|
166
174
|
.neon-dark-text {
|
|
167
|
-
color: var(--neon-color-text-
|
|
175
|
+
color: var(--neon-color-text-secondary-light);
|
|
168
176
|
}
|
|
169
177
|
|
|
170
178
|
.neon-light-text {
|
|
171
|
-
color: var(--neon-color-text-
|
|
179
|
+
color: var(--neon-color-text-secondary-dark);
|
|
172
180
|
}
|
|
173
181
|
|
|
174
|
-
.neon-color-
|
|
182
|
+
.neon-color-low-contrast {
|
|
175
183
|
color: var(--neon-color-low-contrast);
|
|
176
184
|
}
|
|
177
185
|
|
|
178
|
-
.neon-color-
|
|
186
|
+
.neon-color-neutral {
|
|
179
187
|
color: var(--neon-color-neutral);
|
|
180
188
|
}
|
|
181
189
|
|
|
182
|
-
.neon-color-
|
|
190
|
+
.neon-color-high-contrast {
|
|
183
191
|
color: var(--neon-color-high-contrast);
|
|
184
192
|
}
|
|
185
193
|
|
|
186
|
-
.neon-color-
|
|
194
|
+
.neon-color-brand {
|
|
187
195
|
color: var(--neon-color-brand);
|
|
188
196
|
}
|
|
189
197
|
|
|
190
|
-
.neon-color-
|
|
198
|
+
.neon-color-primary {
|
|
191
199
|
color: var(--neon-color-primary);
|
|
192
200
|
}
|
|
193
201
|
|
|
194
|
-
.neon-color-
|
|
202
|
+
.neon-color-info {
|
|
195
203
|
color: var(--neon-color-info);
|
|
196
204
|
}
|
|
197
205
|
|
|
198
|
-
.neon-color-
|
|
206
|
+
.neon-color-success {
|
|
199
207
|
color: var(--neon-color-success);
|
|
200
208
|
}
|
|
201
209
|
|
|
202
|
-
.neon-color-
|
|
210
|
+
.neon-color-warn {
|
|
203
211
|
color: var(--neon-color-warn);
|
|
204
212
|
}
|
|
205
213
|
|
|
206
|
-
.neon-color-
|
|
214
|
+
.neon-color-error {
|
|
207
215
|
color: var(--neon-color-error);
|
|
208
216
|
}
|
|
209
217
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
table {
|
|
3
3
|
border-spacing: 0;
|
|
4
4
|
border-collapse: collapse;
|
|
5
|
-
border-bottom: var(--neon-border-width-table) var(--neon-border-style) var(--neon-label
|
|
5
|
+
border-bottom: var(--neon-border-width-table) var(--neon-border-style) var(--neon-color-label);
|
|
6
6
|
|
|
7
7
|
thead {
|
|
8
8
|
tr {
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
height: var(--neon-size-m);
|
|
11
11
|
vertical-align: bottom;
|
|
12
12
|
font-size: var(--neon-font-size-s);
|
|
13
|
-
font-weight: var(--neon-font-weight-
|
|
13
|
+
font-weight: var(--neon-font-weight-medium);
|
|
14
14
|
text-transform: uppercase;
|
|
15
15
|
text-align: left;
|
|
16
16
|
padding: 0 var(--neon-space-24) 0 0;
|
|
17
17
|
letter-spacing: var(--neon-letter-spacing-m);
|
|
18
|
-
border-bottom: var(--neon-border-width-table) var(--neon-border-style) var(--neon-label
|
|
19
|
-
color: var(--neon-label
|
|
18
|
+
border-bottom: var(--neon-border-width-table) var(--neon-border-style) var(--neon-color-label);
|
|
19
|
+
color: var(--neon-color-label);
|
|
20
20
|
|
|
21
21
|
&.neon--number {
|
|
22
22
|
text-align: right;
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
em {
|
|
20
20
|
font-weight: var(--neon-font-weight-em);
|
|
21
|
+
margin-right: 1rem; // to account for the slanting text
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
strong {
|
|
@@ -140,6 +141,6 @@
|
|
|
140
141
|
h6,
|
|
141
142
|
.neon-h6,
|
|
142
143
|
.neon-color-heading {
|
|
143
|
-
color: var(--neon-color-
|
|
144
|
+
color: var(--neon-color-text-primary);
|
|
144
145
|
}
|
|
145
146
|
}
|
|
@@ -128,6 +128,7 @@
|
|
|
128
128
|
NeonCardList: [NeonButton, NeonExpansionIndicator, NeonIcon, NeonLink, NeonCard, NeonCardBody, NeonInline, NeonStack],
|
|
129
129
|
NeonImageCarousel: [NeonButton, NeonLink],
|
|
130
130
|
NeonSwiper: [],
|
|
131
|
+
NeonMobileMenu: [NeonIcon, NeonLink],
|
|
131
132
|
);
|
|
132
133
|
|
|
133
134
|
$neon-flattened-components: [];
|
package/src/sass/palette.scss
CHANGED
|
@@ -3,15 +3,12 @@
|
|
|
3
3
|
This is why there are 2 color definitions the raw 'rgb' definition and the actual 'color' one
|
|
4
4
|
*/
|
|
5
5
|
.neon {
|
|
6
|
-
|
|
7
|
-
--neon-rgb-text-
|
|
8
|
-
--neon-rgb-text-
|
|
9
|
-
--neon-rgb-text-
|
|
10
|
-
--neon-rgb-text-
|
|
11
|
-
|
|
12
|
-
--neon-rgb-text-tertiary-dark: 114, 114, 114;
|
|
13
|
-
--neon-rgb-text-tertiary-light: 144, 144, 144;
|
|
14
|
-
|
|
6
|
+
--neon-rgb-text-primary-light: 20, 20, 20;
|
|
7
|
+
--neon-rgb-text-secondary-light: 51, 51, 51;
|
|
8
|
+
--neon-rgb-text-tertiary-light: 114, 114, 114;
|
|
9
|
+
--neon-rgb-text-primary-dark: 248, 248, 248;
|
|
10
|
+
--neon-rgb-text-secondary-dark: 221, 221, 221;
|
|
11
|
+
--neon-rgb-text-tertiary-dark: 166, 166, 166;
|
|
15
12
|
--neon-rgb-disabled-background-dark: 55, 55, 55;
|
|
16
13
|
--neon-rgb-disabled-border-dark: 65, 65, 65;
|
|
17
14
|
--neon-rgb-disabled-text-dark: 80, 80, 80;
|
package/src/sass/theme.scss
CHANGED