pacem-less 0.40.5-bithynia → 0.40.5-byblos

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/pacem/pacem.less CHANGED
@@ -287,6 +287,10 @@ each(@_colors, {
287
287
 
288
288
  });
289
289
 
290
+ --@{PCSS}-color-disabled-button: @color_button_back_disabled;
291
+ .ChannelizeColor(disabled-button, @color_button_back_disabled);
292
+ --@{PCSS}-color-disabled-button-inverse: @color_button_fore_disabled;
293
+ .ChannelizeColor(disabled-button-inverse, @color_button_fore_disabled);
290
294
  --@{PCSS}-color-border: @color_border;
291
295
  // spacing + sizing
292
296
  --@{PCSS}-grid-cell: @grid_cell;
@@ -172,7 +172,7 @@
172
172
  @color_primary_inv: @color_light;
173
173
  @color_secondary: #5e7881;
174
174
  @color_secondary_inv: #fff;
175
- @color_disabled: @color_watermark;
175
+ @color_disabled: #6f717d;// @color_watermark;
176
176
  @color_disabled_inv: @color_default;
177
177
  @color_title: @color_accent;
178
178
  @color_title_inv: transparent;
@@ -211,6 +211,8 @@
211
211
  @color_button_border_dark: fade(@color_dark, 0);
212
212
  @color_button_back: @color_lightblue;
213
213
  @color_button_fore: @color_light;
214
+ @color_button_fore_disabled: @color_button_fore; // then disabled opacity will be applied: 0.4
215
+ @color_button_back_disabled: @color_button_back;
214
216
  @button_hover_percentage: 5;
215
217
  @button_fontfamily: @font_std;
216
218
  @button_fontsize: 1.1rem * @font_rem_factor;
@@ -27,6 +27,7 @@
27
27
  @color_success_inv: #fff;
28
28
  @color_codeblock_back: #f6f6f6; // f7f8fc;
29
29
 
30
+ @color_disabled: @color_watermark;
30
31
  @color_warning: #c6b800;
31
32
  @shadows: false;
32
33
  @gradients: false;
@@ -422,8 +422,8 @@ input.@{PCSS}-button[disabled]:hover {
422
422
  @{P}-button:focus {
423
423
  // color: inherit;
424
424
  &.@{PCSS}-disabled {
425
- @_fore: ~"var(--@{PCSS}-color-disabled-container-inverse-rgb)";
426
- @_back: ~"var(--@{PCSS}-color-disabled-container)";
425
+ @_fore: ~"var(--@{PCSS}-color-disabled-button-inverse-rgb)";
426
+ @_back: ~"var(--@{PCSS}-color-disabled-button)";
427
427
  //color: fade(@color_button_fore, 30);
428
428
  //background-color: @color_button_back;
429
429
  color: rgba(@_fore, .4);
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.40.5-bithynia",
2
+ "version": "0.40.5-byblos",
3
3
  "name": "pacem-less",
4
4
  "homepage": "https://js.pacem.it",
5
5
  "repository": {