@soyfri/template 1.0.6 → 1.0.8
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/README.md +10 -2
- package/dist/assets/sass/_init.scss +23 -19
- package/dist/assets/sass/components/components.scss +3 -3
- package/dist/assets/sass/core/base/_functions.scss +5 -5
- package/dist/assets/sass/core/base/_mixins.scss +6 -6
- package/dist/assets/sass/core/base/functions/_get.scss +23 -20
- package/dist/assets/sass/core/base/functions/_math.scss +2 -1
- package/dist/assets/sass/core/base/functions/_set.scss +16 -13
- package/dist/assets/sass/core/base/functions/_theme-colors.scss +5 -3
- package/dist/assets/sass/core/components/_bootstrap-icon.scss +2 -1
- package/dist/assets/sass/core/components/_buttons.scss +2 -2
- package/dist/assets/sass/core/components/_card.scss +2 -1
- package/dist/assets/sass/core/components/_fixed.scss +2 -1
- package/dist/assets/sass/core/components/_forms.scss +8 -8
- package/dist/assets/sass/core/components/_helpers.scss +7 -7
- package/dist/assets/sass/core/components/_menu.scss +2 -2
- package/dist/assets/sass/core/components/_mixins.scss +8 -8
- package/dist/assets/sass/core/components/_scroll.scss +2 -1
- package/dist/assets/sass/core/components/_stepper.scss +3 -3
- package/dist/assets/sass/core/components/_svg-icon.scss +2 -1
- package/dist/assets/sass/core/components/_symbol.scss +2 -1
- package/dist/assets/sass/core/components/_tables.scss +2 -1
- package/dist/assets/sass/core/components/_utilities.scss +2 -1
- package/dist/assets/sass/core/components/_variables-dark.scss +2 -1
- package/dist/assets/sass/core/components/_variables.scss +8 -7
- package/dist/assets/sass/core/components/buttons/_theme.scss +4 -3
- package/dist/assets/sass/core/components/components.scss +72 -63
- package/dist/assets/sass/core/components/helpers/_background.scss +2 -1
- package/dist/assets/sass/core/components/helpers/_flex.scss +2 -1
- package/dist/assets/sass/core/components/menu/_base.scss +2 -1
- package/dist/assets/sass/core/components/mixins/_menu.scss +4 -2
- package/dist/assets/sass/core/components/wizard.scss +1 -1
- package/dist/assets/sass/core/layout/base/_layout.scss +25 -25
- package/dist/assets/sass/core/vendors/plugins/_mixins.scss +1 -1
- package/dist/assets/sass/core/vendors/plugins/_plugins.angular.scss +7 -7
- package/dist/assets/sass/core/vendors/plugins/_plugins.react.scss +7 -7
- package/dist/assets/sass/core/vendors/plugins/_plugins.scss +29 -29
- package/dist/assets/sass/core/vendors/plugins/_plugins.vue.scss +7 -7
- package/dist/assets/sass/core/vendors/plugins/_variables-dark.scss +5 -4
- package/dist/assets/sass/core/vendors/plugins/_variables.scss +5 -4
- package/dist/assets/sass/layout/_layout.scss +13 -13
- package/dist/assets/sass/layout/_variables.custom.scss +3 -2
- package/dist/assets/sass/style.react.scss +8 -4
- package/dist/assets/sass/style.scss +5 -5
- package/dist/partials/index.d.ts +0 -1
- package/dist/partials/index.js +1 -1
- package/dist/partials/widgets/charts/ChartsWidget1.js +2 -10
- package/dist/partials/widgets/charts/ChartsWidget2.js +2 -10
- package/dist/partials/widgets/charts/ChartsWidget3.js +2 -10
- package/dist/partials/widgets/charts/ChartsWidget4.js +2 -10
- package/dist/partials/widgets/charts/ChartsWidget5.js +2 -10
- package/dist/partials/widgets/charts/ChartsWidget6.js +2 -10
- package/dist/partials/widgets/charts/ChartsWidget7.js +2 -10
- package/dist/partials/widgets/charts/ChartsWidget8.js +2 -10
- package/dist/partials/widgets/mixed/MixedWidget10.js +2 -10
- package/dist/partials/widgets/mixed/MixedWidget11.js +2 -10
- package/dist/partials/widgets/mixed/MixedWidget13.js +2 -10
- package/dist/partials/widgets/mixed/MixedWidget2.js +2 -10
- package/dist/partials/widgets/mixed/MixedWidget3.js +2 -10
- package/dist/partials/widgets/mixed/MixedWidget6.js +2 -10
- package/dist/partials/widgets/mixed/MixedWidget8.js +2 -10
- package/dist/partials/widgets/mixed/MixedWidget9.js +2 -10
- package/dist/partials/widgets/statistics/StatisticsWidget3.js +2 -10
- package/dist/partials/widgets/statistics/StatisticsWidget4.js +0 -8
- package/package.json +29 -33
package/README.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
## Description
|
|
4
4
|
This package contains a Metronic template specifically designed for FRI frontend projects. It provides a set of pre-built components, styles, and utilities to streamline frontend development.
|
|
5
5
|
|
|
6
|
+
## Build
|
|
7
|
+
|
|
8
|
+
At this point, if the dependencies are updated, the whole project can break, be careful.
|
|
9
|
+
|
|
10
|
+
```sh
|
|
11
|
+
npm install
|
|
12
|
+
```
|
|
13
|
+
|
|
6
14
|
## Installation
|
|
7
15
|
```bash
|
|
8
16
|
npm install @soyfri/template
|
|
@@ -12,8 +20,8 @@ yarn add @soyfri/template
|
|
|
12
20
|
|
|
13
21
|
## Requirements
|
|
14
22
|
### Peer Dependencies
|
|
15
|
-
- React >=
|
|
16
|
-
- React DOM >=
|
|
23
|
+
- React >=19.0.0
|
|
24
|
+
- React DOM >=19.0.0
|
|
17
25
|
|
|
18
26
|
## Usage
|
|
19
27
|
|
|
@@ -4,29 +4,33 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
// Custom functions & mixins
|
|
7
|
-
@
|
|
8
|
-
@
|
|
9
|
-
@
|
|
10
|
-
@
|
|
7
|
+
@use "./core/base/functions" as *; // Use 'as *' to make functions globally accessible
|
|
8
|
+
@use "./core/base/mixins" as *; // Use 'as *' to make mixins globally accessible
|
|
9
|
+
@use "./core/components/mixins" as *; // Use 'as *' to make mixins globally accessible
|
|
10
|
+
@use "./core/vendors/plugins/mixins" as *; // Use 'as *' to make mixins globally accessible
|
|
11
11
|
|
|
12
12
|
// Custom variables
|
|
13
|
-
@
|
|
14
|
-
@
|
|
15
|
-
@
|
|
16
|
-
@
|
|
13
|
+
@use "components/variables.custom" as *; // Use 'as *' to make variables globally accessible
|
|
14
|
+
@use "./core/components/variables" as *; // Use 'as *' to make variables globally accessible
|
|
15
|
+
@use "./core/components/variables-dark" as *; // Use 'as *' to make variables globally accessible
|
|
16
|
+
@use "components/variables.override" as *; // Use 'as *' to make variables globally accessible
|
|
17
17
|
|
|
18
|
-
// Bootstrap
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
@
|
|
24
|
-
@
|
|
18
|
+
// Bootstrap initialization
|
|
19
|
+
// Bootstrap modules are designed to be used with `@use`.
|
|
20
|
+
// By default, many of their core components and utilities are exposed globally
|
|
21
|
+
// once their respective modules are `@use`-ed. We'll use `as *` for consistency,
|
|
22
|
+
// assuming you want their functions, variables, and mixins widely available.
|
|
23
|
+
@use "bootstrap/scss/functions" as *;
|
|
24
|
+
@use "bootstrap/scss/variables" as *;
|
|
25
|
+
@use "bootstrap/scss/variables-dark" as *;
|
|
26
|
+
@use "bootstrap/scss/maps" as *;
|
|
27
|
+
@use "bootstrap/scss/mixins" as *;
|
|
28
|
+
@use "bootstrap/scss/utilities" as *;
|
|
25
29
|
|
|
26
30
|
// 3rd-Party plugins variables
|
|
27
|
-
@
|
|
28
|
-
@
|
|
31
|
+
@use "./core/vendors/plugins/variables" as *; // Use 'as *' to make variables globally accessible
|
|
32
|
+
@use "./core/vendors/plugins/variables-dark" as *; // Use 'as *' to make variables globally accessible
|
|
29
33
|
|
|
30
34
|
// Custom layout variables
|
|
31
|
-
@
|
|
32
|
-
@
|
|
35
|
+
@use "./core/layout/base/variables" as *; // Use 'as *' to make variables globally accessible
|
|
36
|
+
@use "layout/variables.custom" as *; // Use 'as *' to make variables globally accessible
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
// Import Dependencies
|
|
6
|
-
@
|
|
7
|
-
@
|
|
8
|
-
@
|
|
9
|
-
@
|
|
10
|
-
@
|
|
6
|
+
@use "functions/get";
|
|
7
|
+
@use "functions/set";
|
|
8
|
+
@use "functions/math";
|
|
9
|
+
@use "functions/valueif";
|
|
10
|
+
@use "functions/theme-colors";
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
// Import Dependencies
|
|
6
|
-
@
|
|
7
|
-
@
|
|
8
|
-
@
|
|
9
|
-
@
|
|
10
|
-
@
|
|
11
|
-
@
|
|
6
|
+
@use "mixins/property";
|
|
7
|
+
@use "mixins/browsers";
|
|
8
|
+
@use "mixins/fixes";
|
|
9
|
+
@use "mixins/reset";
|
|
10
|
+
@use "mixins/placeholder";
|
|
11
|
+
@use "mixins/breakpoints";
|
|
@@ -1,32 +1,35 @@
|
|
|
1
|
+
@use "sass:list";
|
|
2
|
+
@use "sass:map";
|
|
3
|
+
@use "sass:meta";
|
|
1
4
|
//
|
|
2
5
|
// Get
|
|
3
6
|
//
|
|
4
7
|
|
|
5
8
|
@function get($map, $keys...) {
|
|
6
|
-
@if length($keys) == 1 {
|
|
7
|
-
$keys: nth($keys, 1);
|
|
9
|
+
@if list.length($keys) == 1 {
|
|
10
|
+
$keys: list.nth($keys, 1);
|
|
8
11
|
}
|
|
9
12
|
|
|
10
|
-
@if type-of($map) != 'map' or $map == null {
|
|
13
|
+
@if meta.type-of($map) != 'map' or $map == null {
|
|
11
14
|
//@return false;
|
|
12
15
|
}
|
|
13
16
|
|
|
14
|
-
$warn: "#{nth($keys, 1)}";
|
|
15
|
-
$length: length($keys);
|
|
16
|
-
$get: map
|
|
17
|
+
$warn: "#{list.nth($keys, 1)}";
|
|
18
|
+
$length: list.length($keys);
|
|
19
|
+
$get: map.get($map, list.nth($keys, 1));
|
|
17
20
|
|
|
18
21
|
@if $length > 1 {
|
|
19
22
|
@for $i from 2 through $length {
|
|
20
|
-
@if $get != null and type-of($get) == 'map' {
|
|
21
|
-
$warn: $warn + "->#{nth($keys, $i)}";
|
|
22
|
-
$get: map
|
|
23
|
+
@if $get != null and meta.type-of($get) == 'map' {
|
|
24
|
+
$warn: $warn + "->#{list.nth($keys, $i)}";
|
|
25
|
+
$get: map.get($get, list.nth($keys, $i));
|
|
23
26
|
|
|
24
27
|
@if $get == null {
|
|
25
28
|
@return null;
|
|
26
29
|
}
|
|
27
30
|
}
|
|
28
31
|
@else {
|
|
29
|
-
@return get-warning($warn, $get, nth($keys, $i));
|
|
32
|
+
@return get-warning($warn, $get, list.nth($keys, $i));
|
|
30
33
|
}
|
|
31
34
|
}
|
|
32
35
|
}
|
|
@@ -35,23 +38,23 @@
|
|
|
35
38
|
}
|
|
36
39
|
|
|
37
40
|
@function has($map, $keys...) {
|
|
38
|
-
@if length($keys) == 1 {
|
|
39
|
-
$keys: nth($keys, 1);
|
|
41
|
+
@if list.length($keys) == 1 {
|
|
42
|
+
$keys: list.nth($keys, 1);
|
|
40
43
|
}
|
|
41
44
|
|
|
42
|
-
@if type-of($map) != 'map' or $map == null {
|
|
45
|
+
@if meta.type-of($map) != 'map' or $map == null {
|
|
43
46
|
//@return false;
|
|
44
47
|
}
|
|
45
48
|
|
|
46
|
-
$warn: "#{nth($keys, 1)}";
|
|
47
|
-
$length: length($keys);
|
|
48
|
-
$get: map
|
|
49
|
+
$warn: "#{list.nth($keys, 1)}";
|
|
50
|
+
$length: list.length($keys);
|
|
51
|
+
$get: map.get($map, list.nth($keys, 1));
|
|
49
52
|
|
|
50
53
|
@if $length > 1 {
|
|
51
54
|
@for $i from 2 through $length {
|
|
52
|
-
@if $get != null and type-of($get) == 'map' {
|
|
53
|
-
$warn: $warn + "->#{nth($keys, $i)}";
|
|
54
|
-
$get: map
|
|
55
|
+
@if $get != null and meta.type-of($get) == 'map' {
|
|
56
|
+
$warn: $warn + "->#{list.nth($keys, $i)}";
|
|
57
|
+
$get: map.get($get, list.nth($keys, $i));
|
|
55
58
|
|
|
56
59
|
@if $get == null {
|
|
57
60
|
@return false;
|
|
@@ -75,7 +78,7 @@
|
|
|
75
78
|
@if $get == null {
|
|
76
79
|
@warn "Map has no value for key search `#{$warn}`";
|
|
77
80
|
}
|
|
78
|
-
@else if type-of($get) != 'map' {
|
|
81
|
+
@else if meta.type-of($get) != 'map' {
|
|
79
82
|
@warn "Non-map value found for key search `#{$warn}`, cannot search for key `#{$key}`";
|
|
80
83
|
}
|
|
81
84
|
@return null;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
@use "sass:list";
|
|
2
|
+
@use "sass:map";
|
|
3
|
+
@use "sass:meta";
|
|
1
4
|
/// Deep set function to set a value in nested maps
|
|
2
5
|
|
|
3
6
|
@function set($map, $keys, $value) {
|
|
@@ -6,36 +9,36 @@
|
|
|
6
9
|
|
|
7
10
|
// If the last key is a map already
|
|
8
11
|
// Warn the user we will be overriding it with $value
|
|
9
|
-
@if type-of(nth($keys, -1)) == "map" {
|
|
12
|
+
@if meta.type-of(list.nth($keys, -1)) == "map" {
|
|
10
13
|
@warn "The last key you specified is a map; it will be overrided with `#{$value}`.";
|
|
11
14
|
}
|
|
12
15
|
|
|
13
16
|
// If $keys is a single key
|
|
14
17
|
// Just merge and return
|
|
15
|
-
@if length($keys) == 1 {
|
|
16
|
-
@return map
|
|
18
|
+
@if list.length($keys) == 1 {
|
|
19
|
+
@return map.merge($map, ($keys: $value));
|
|
17
20
|
}
|
|
18
21
|
|
|
19
22
|
// Loop from the first to the second to last key from $keys
|
|
20
23
|
// Store the associated map to this key in the $maps list
|
|
21
24
|
// If the key doesn't exist, throw an error
|
|
22
|
-
@for $i from 1 through length($keys) - 1 {
|
|
23
|
-
$current-key: nth($keys, $i);
|
|
24
|
-
$current-map: nth($maps, -1);
|
|
25
|
-
$current-get: map
|
|
25
|
+
@for $i from 1 through list.length($keys) - 1 {
|
|
26
|
+
$current-key: list.nth($keys, $i);
|
|
27
|
+
$current-map: list.nth($maps, -1);
|
|
28
|
+
$current-get: map.get($current-map, $current-key);
|
|
26
29
|
@if $current-get == null {
|
|
27
30
|
@error "Key `#{$key}` doesn't exist at current level in map.";
|
|
28
31
|
}
|
|
29
|
-
$maps: append($maps, $current-get);
|
|
32
|
+
$maps: list.append($maps, $current-get);
|
|
30
33
|
}
|
|
31
34
|
|
|
32
35
|
// Loop from the last map to the first one
|
|
33
36
|
// Merge it with the previous one
|
|
34
|
-
@for $i from length($maps) through 1 {
|
|
35
|
-
$current-map: nth($maps, $i);
|
|
36
|
-
$current-key: nth($keys, $i);
|
|
37
|
-
$current-val: if($i == length($maps), $value, $result);
|
|
38
|
-
$result: map
|
|
37
|
+
@for $i from list.length($maps) through 1 {
|
|
38
|
+
$current-map: list.nth($maps, $i);
|
|
39
|
+
$current-key: list.nth($keys, $i);
|
|
40
|
+
$current-val: if($i == list.length($maps), $value, $result);
|
|
41
|
+
$result: map.merge($current-map, ($current-key: $current-val));
|
|
39
42
|
}
|
|
40
43
|
|
|
41
44
|
// Return result
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
+
@use "functions/get";
|
|
2
|
+
|
|
1
3
|
//
|
|
2
4
|
// Bootstrap extended functions
|
|
3
5
|
//
|
|
4
6
|
|
|
5
7
|
@function theme-inverse-color($key: "primary") {
|
|
6
|
-
@return get($theme-inverse-colors, $key);
|
|
8
|
+
@return get.get($theme-inverse-colors, $key);
|
|
7
9
|
}
|
|
8
10
|
|
|
9
11
|
@function theme-active-color($key: "primary") {
|
|
10
|
-
@return get($theme-active-colors, $key);
|
|
12
|
+
@return get.get($theme-active-colors, $key);
|
|
11
13
|
}
|
|
12
14
|
|
|
13
15
|
@function theme-light-color($key: "primary") {
|
|
14
|
-
@return get($theme-light-colors, $key);
|
|
16
|
+
@return get.get($theme-light-colors, $key);
|
|
15
17
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use "sass:map";
|
|
1
2
|
//
|
|
2
3
|
// Card
|
|
3
4
|
//
|
|
@@ -211,7 +212,7 @@
|
|
|
211
212
|
|
|
212
213
|
// Responsive stretch heights
|
|
213
214
|
.card {
|
|
214
|
-
@each $breakpoint in map
|
|
215
|
+
@each $breakpoint in map.keys($grid-breakpoints) {
|
|
215
216
|
@include media-breakpoint-up($breakpoint) {
|
|
216
217
|
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
|
217
218
|
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
// Import Dependencies
|
|
6
|
-
@
|
|
7
|
-
@
|
|
8
|
-
@
|
|
9
|
-
@
|
|
10
|
-
@
|
|
11
|
-
@
|
|
12
|
-
@
|
|
13
|
-
@
|
|
6
|
+
@use "forms/labels";
|
|
7
|
+
@use "forms/form-control";
|
|
8
|
+
@use "forms/floating-labels";
|
|
9
|
+
@use "forms/form-select";
|
|
10
|
+
@use "forms/form-check";
|
|
11
|
+
@use "forms/input-group";
|
|
12
|
+
@use "forms/floating-labels";
|
|
13
|
+
@use "forms/required";
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
// Import Dependencies
|
|
6
|
-
@
|
|
7
|
-
@
|
|
8
|
-
@
|
|
9
|
-
@
|
|
10
|
-
@
|
|
11
|
-
@
|
|
12
|
-
@
|
|
6
|
+
@use "helpers/background";
|
|
7
|
+
@use "helpers/borders";
|
|
8
|
+
@use "helpers/flex";
|
|
9
|
+
@use "helpers/shadow";
|
|
10
|
+
@use "helpers/text";
|
|
11
|
+
@use "helpers/opacity";
|
|
12
|
+
@use "helpers/transform";
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
// Import Dependencies
|
|
6
|
-
@
|
|
7
|
-
@
|
|
8
|
-
@
|
|
9
|
-
@
|
|
10
|
-
@
|
|
11
|
-
@
|
|
12
|
-
@
|
|
13
|
-
@
|
|
6
|
+
@use "mixins/menu";
|
|
7
|
+
@use "mixins/buttons";
|
|
8
|
+
@use "mixins/ki";
|
|
9
|
+
@use "mixins/symbol";
|
|
10
|
+
@use "mixins/svg-icon";
|
|
11
|
+
@use "mixins/svg-bg-icon";
|
|
12
|
+
@use "mixins/scroll";
|
|
13
|
+
@use "mixins/shape";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use "sass:map";
|
|
1
2
|
//
|
|
2
3
|
// Scroll
|
|
3
4
|
//
|
|
@@ -80,7 +81,7 @@
|
|
|
80
81
|
}
|
|
81
82
|
|
|
82
83
|
// Utilities
|
|
83
|
-
@each $breakpoint in map
|
|
84
|
+
@each $breakpoint in map.keys($grid-breakpoints) {
|
|
84
85
|
@include media-breakpoint-up($breakpoint) {
|
|
85
86
|
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
|
86
87
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use "sass:map";
|
|
1
2
|
//
|
|
2
3
|
// SVG Icon
|
|
3
4
|
//
|
|
@@ -15,7 +16,7 @@
|
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
// Responsive icon sizes
|
|
18
|
-
@each $breakpoint in map
|
|
19
|
+
@each $breakpoint in map.keys($grid-breakpoints) {
|
|
19
20
|
@include media-breakpoint-up($breakpoint) {
|
|
20
21
|
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
|
21
22
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use "sass:map";
|
|
1
2
|
//
|
|
2
3
|
// symbol
|
|
3
4
|
//
|
|
@@ -69,7 +70,7 @@
|
|
|
69
70
|
// Sizes
|
|
70
71
|
@include symbol-size(get($symbol-sizes, default));
|
|
71
72
|
|
|
72
|
-
@each $breakpoint in map
|
|
73
|
+
@each $breakpoint in map.keys($grid-breakpoints) {
|
|
73
74
|
@include media-breakpoint-up($breakpoint) {
|
|
74
75
|
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
|
75
76
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use "sass:map";
|
|
1
2
|
//
|
|
2
3
|
// Table
|
|
3
4
|
//
|
|
@@ -197,7 +198,7 @@
|
|
|
197
198
|
}
|
|
198
199
|
|
|
199
200
|
// Cell gutters
|
|
200
|
-
@each $breakpoint in map
|
|
201
|
+
@each $breakpoint in map.keys($grid-breakpoints) {
|
|
201
202
|
@include media-breakpoint-up($breakpoint) {
|
|
202
203
|
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
|
203
204
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use "sass:color";
|
|
1
2
|
// Bootstrap color system
|
|
2
3
|
|
|
3
4
|
//
|
|
@@ -321,7 +322,7 @@ $rating-color-active-dark: #FFAD0F !default;
|
|
|
321
322
|
// Keenthemes ribbon component
|
|
322
323
|
$ribbon-label-box-shadow-dark: 0px -1px 5px 0px rgba($white, 0.1) !default;
|
|
323
324
|
$ribbon-label-bg-dark: $primary !default;
|
|
324
|
-
$ribbon-label-border-color-dark:
|
|
325
|
+
$ribbon-label-border-color-dark: color.adjust($primary, $lightness: -20%) !default;
|
|
325
326
|
$ribbon-clip-bg-dark: $light !default;
|
|
326
327
|
|
|
327
328
|
// Engage panel
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use "sass:color";
|
|
1
2
|
//
|
|
2
3
|
// Bootstrap & Custom Variables
|
|
3
4
|
// Safely override any variable in _variables.custom.scss
|
|
@@ -1257,7 +1258,7 @@ $rating-color-active: #FFAD0F !default;
|
|
|
1257
1258
|
// Keenthemes ribbon component
|
|
1258
1259
|
$ribbon-label-box-shadow: 0px -1px 5px 0px rgba($dark, 0.1) !default;
|
|
1259
1260
|
$ribbon-label-bg: $primary !default;
|
|
1260
|
-
$ribbon-label-border-color:
|
|
1261
|
+
$ribbon-label-border-color: color.adjust($primary, $lightness: -20%) !default;
|
|
1261
1262
|
$ribbon-clip-bg: $dark !default;
|
|
1262
1263
|
|
|
1263
1264
|
// Keenthemes fixed component
|
|
@@ -1278,36 +1279,36 @@ $social-colors: (
|
|
|
1278
1279
|
base: #3b5998,
|
|
1279
1280
|
inverse: #ffffff,
|
|
1280
1281
|
light: rgba(#3b5998, 0.1),
|
|
1281
|
-
active:
|
|
1282
|
+
active: color.adjust(#3b5998, $lightness: -7.5%)
|
|
1282
1283
|
),
|
|
1283
1284
|
google: (
|
|
1284
1285
|
base: #dd4b39,
|
|
1285
1286
|
inverse: #ffffff,
|
|
1286
1287
|
light: rgba(#dd4b39, 0.1),
|
|
1287
|
-
active:
|
|
1288
|
+
active: color.adjust(#dd4b39, $lightness: -7.5%)
|
|
1288
1289
|
),
|
|
1289
1290
|
twitter: (
|
|
1290
1291
|
base: #1da1f2,
|
|
1291
1292
|
inverse: #ffffff,
|
|
1292
1293
|
light: rgba(#1da1f2, 0.1),
|
|
1293
|
-
active:
|
|
1294
|
+
active: color.adjust(#1da1f2, $lightness: -7.5%)
|
|
1294
1295
|
),
|
|
1295
1296
|
instagram: (
|
|
1296
1297
|
base: #e1306c,
|
|
1297
1298
|
inverse: #ffffff,
|
|
1298
1299
|
light: rgba(#e1306c, 0.1),
|
|
1299
|
-
active:
|
|
1300
|
+
active: color.adjust(#e1306c, $lightness: -7.5%)
|
|
1300
1301
|
),
|
|
1301
1302
|
youtube: (
|
|
1302
1303
|
base: #ff0000,
|
|
1303
1304
|
inverse: #ffffff,
|
|
1304
1305
|
light: rgba(#ff0000, 0.1),
|
|
1305
|
-
active:
|
|
1306
|
+
active: color.adjust(#ff0000, $lightness: -7.5%)
|
|
1306
1307
|
),
|
|
1307
1308
|
linkedin: (
|
|
1308
1309
|
base: #0077b5,
|
|
1309
1310
|
inverse: #ffffff,
|
|
1310
1311
|
light: rgba(#0077b5, 0.1),
|
|
1311
|
-
active:
|
|
1312
|
+
active: color.adjust(#0077b5, $lightness: -7.5%)
|
|
1312
1313
|
)
|
|
1313
1314
|
) !default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use "sass:color";
|
|
1
2
|
//
|
|
2
3
|
// Buttons Theme
|
|
3
4
|
//
|
|
@@ -298,10 +299,10 @@
|
|
|
298
299
|
$icon-color: $gray-800-dark,
|
|
299
300
|
$border-color: null,
|
|
300
301
|
$bg-color: $gray-400-dark,
|
|
301
|
-
$color-active:
|
|
302
|
-
$icon-color-active:
|
|
302
|
+
$color-active: color.adjust($gray-800-dark, $lightness: 3%),
|
|
303
|
+
$icon-color-active: color.adjust($gray-800-dark, $lightness: 3%),
|
|
303
304
|
$border-color-active: null,
|
|
304
|
-
$bg-color-active:
|
|
305
|
+
$bg-color-active: color.adjust($gray-400-dark, $lightness: 3%),
|
|
305
306
|
);
|
|
306
307
|
}
|
|
307
308
|
}
|