@bimdata/design-system 2.0.0-rc.36 → 2.0.0-rc.38
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/package.json +16 -17
- package/src/BIMDataComponents/BIMDataIcon/Icon.vue +0 -7
- package/src/BIMDataComponents/BIMDataIcon/_BIMDataIcon.scss +3 -0
- package/src/BIMDataComponents/BIMDataInput/BIMDataInput.vue +8 -2
- package/src/BIMDataComponents/BIMDataSlider/BIMDataSlider.vue +101 -0
- package/src/BIMDataComponents/BIMDataSlider/_BIMDataSlider.scss +80 -0
- package/src/BIMDataComponents/index.js +1 -0
- package/src/assets/css/utilities/_colors.css +57 -4
- package/src/assets/css/variables.css +25 -18
- package/src/assets/iconsColors.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bimdata/design-system",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.38",
|
|
4
4
|
"main": "./src/BIMDataComponents/index.js",
|
|
5
5
|
"module": "./src/BIMDataComponents/index.js",
|
|
6
6
|
"files": [
|
|
@@ -17,26 +17,25 @@
|
|
|
17
17
|
"semantic-release": "semantic-release"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@bimdata/typescript-fetch-api-client": "9.11.0",
|
|
21
20
|
"@semantic-release/changelog": "^6.0.3",
|
|
22
|
-
"@semantic-release/commit-analyzer": "^10.0.
|
|
21
|
+
"@semantic-release/commit-analyzer": "^10.0.4",
|
|
23
22
|
"@semantic-release/git": "^10.0.1",
|
|
24
|
-
"@semantic-release/github": "^9.0.
|
|
25
|
-
"@semantic-release/npm": "^
|
|
26
|
-
"@semantic-release/release-notes-generator": "^11.0.
|
|
27
|
-
"@vitejs/plugin-vue": "^4.
|
|
28
|
-
"conventional-changelog-eslint": "^
|
|
29
|
-
"eslint": "^8.
|
|
30
|
-
"eslint-config-prettier": "^
|
|
31
|
-
"eslint-plugin-prettier": "^
|
|
32
|
-
"eslint-plugin-vue": "^9.
|
|
33
|
-
"prettier": "^
|
|
23
|
+
"@semantic-release/github": "^9.0.6",
|
|
24
|
+
"@semantic-release/npm": "^11.0.0",
|
|
25
|
+
"@semantic-release/release-notes-generator": "^11.0.7",
|
|
26
|
+
"@vitejs/plugin-vue": "^4.3.4",
|
|
27
|
+
"conventional-changelog-eslint": "^5.0.0",
|
|
28
|
+
"eslint": "^8.49.0",
|
|
29
|
+
"eslint-config-prettier": "^9.0.0",
|
|
30
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
31
|
+
"eslint-plugin-vue": "^9.17.0",
|
|
32
|
+
"prettier": "^3.0.3",
|
|
34
33
|
"prismjs": "^1.29.0",
|
|
35
|
-
"sass": "^1.
|
|
36
|
-
"semantic-release": "^
|
|
37
|
-
"vite": "^4.
|
|
34
|
+
"sass": "^1.67.0",
|
|
35
|
+
"semantic-release": "^22.0.0",
|
|
36
|
+
"vite": "^4.4.9",
|
|
38
37
|
"vue": "^3.3.4",
|
|
39
|
-
"vue-router": "^4.2.
|
|
38
|
+
"vue-router": "^4.2.4",
|
|
40
39
|
"vue3-clipboard": "^1.0.0"
|
|
41
40
|
}
|
|
42
41
|
}
|
|
@@ -31,13 +31,6 @@ const sizeToPixel = {
|
|
|
31
31
|
export default {
|
|
32
32
|
name: "BIMDataIcon",
|
|
33
33
|
props: {
|
|
34
|
-
// name: {
|
|
35
|
-
// type: String,
|
|
36
|
-
// required: true,
|
|
37
|
-
// validator(value) {
|
|
38
|
-
// return Object.keys(icons).includes(value);
|
|
39
|
-
// },
|
|
40
|
-
// },
|
|
41
34
|
color: {
|
|
42
35
|
type: String,
|
|
43
36
|
default: "default",
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
class="bimdata-input"
|
|
4
|
-
:class="{
|
|
4
|
+
:class="{
|
|
5
|
+
error,
|
|
6
|
+
success,
|
|
7
|
+
disabled,
|
|
8
|
+
loading,
|
|
9
|
+
'not-empty': modelValue != null,
|
|
10
|
+
}"
|
|
5
11
|
:style="style"
|
|
6
12
|
>
|
|
7
13
|
<input
|
|
@@ -40,7 +46,7 @@ export default {
|
|
|
40
46
|
},
|
|
41
47
|
props: {
|
|
42
48
|
modelValue: {
|
|
43
|
-
type: [String, Number
|
|
49
|
+
type: [String, Number],
|
|
44
50
|
default: "",
|
|
45
51
|
},
|
|
46
52
|
placeholder: {
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="bimdata-slider">
|
|
3
|
+
<input
|
|
4
|
+
ref="input"
|
|
5
|
+
class="bimdata-slider-input"
|
|
6
|
+
type="range"
|
|
7
|
+
:style="`--background-size: ${backgroundSize}%`"
|
|
8
|
+
:min="min"
|
|
9
|
+
:max="max"
|
|
10
|
+
:step="step"
|
|
11
|
+
:value="modelValue"
|
|
12
|
+
:disabled="disabled"
|
|
13
|
+
@input="onInput"
|
|
14
|
+
/>
|
|
15
|
+
<output
|
|
16
|
+
v-if="tooltip"
|
|
17
|
+
class="bimdata-slider-tooltip"
|
|
18
|
+
:style="{ left: tooltipPosition }"
|
|
19
|
+
>{{ modelValue }}</output
|
|
20
|
+
>
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
23
|
+
|
|
24
|
+
<script>
|
|
25
|
+
export default {
|
|
26
|
+
props: {
|
|
27
|
+
min: {
|
|
28
|
+
type: [Number, String],
|
|
29
|
+
default: null,
|
|
30
|
+
},
|
|
31
|
+
max: {
|
|
32
|
+
type: [Number, String],
|
|
33
|
+
default: null,
|
|
34
|
+
},
|
|
35
|
+
step: {
|
|
36
|
+
type: [Number, String],
|
|
37
|
+
default: null,
|
|
38
|
+
},
|
|
39
|
+
modelValue: {
|
|
40
|
+
type: Number,
|
|
41
|
+
default: 0,
|
|
42
|
+
},
|
|
43
|
+
disabled: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
default: false,
|
|
46
|
+
},
|
|
47
|
+
tooltip: {
|
|
48
|
+
type: Boolean,
|
|
49
|
+
default: false,
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
emits: ["update:modelValue"],
|
|
53
|
+
data() {
|
|
54
|
+
return {
|
|
55
|
+
backgroundSize: 0,
|
|
56
|
+
tooltipPosition: `calc(${this.modelValue}% + (${
|
|
57
|
+
8 - this.modelValue * 0.18
|
|
58
|
+
}px))`,
|
|
59
|
+
};
|
|
60
|
+
},
|
|
61
|
+
watch: {
|
|
62
|
+
modelValue() {
|
|
63
|
+
this.$nextTick(() => {
|
|
64
|
+
this.backgroundSize = this.getBackgroundSize();
|
|
65
|
+
if (this.tooltip) {
|
|
66
|
+
this.getTooltipPosition();
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
mounted() {
|
|
72
|
+
this.backgroundSize = this.getBackgroundSize();
|
|
73
|
+
},
|
|
74
|
+
methods: {
|
|
75
|
+
getBackgroundSize() {
|
|
76
|
+
const input = this.$refs.input;
|
|
77
|
+
|
|
78
|
+
if (!input) return null;
|
|
79
|
+
|
|
80
|
+
const min = +input.min || 0;
|
|
81
|
+
const max = +input.max || 100;
|
|
82
|
+
const value = +input.value;
|
|
83
|
+
|
|
84
|
+
const size = ((value - min) / (max - min)) * 100;
|
|
85
|
+
|
|
86
|
+
return size;
|
|
87
|
+
},
|
|
88
|
+
onInput(event) {
|
|
89
|
+
this.$emit("update:modelValue", +event.target.value);
|
|
90
|
+
},
|
|
91
|
+
getTooltipPosition() {
|
|
92
|
+
const min = this.min ? this.min : 0;
|
|
93
|
+
const max = this.max ? this.max : 100;
|
|
94
|
+
const newVal = Number(((this.modelValue - min) * 100) / (max - min));
|
|
95
|
+
this.tooltipPosition = `calc(${newVal}% + (${8 - newVal * 0.18}px))`;
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
};
|
|
99
|
+
</script>
|
|
100
|
+
|
|
101
|
+
<style scoped lang="scss" src="./_BIMDataSlider.scss"></style>
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
.bimdata-slider {
|
|
2
|
+
position: relative;
|
|
3
|
+
.bimdata-slider-input {
|
|
4
|
+
&::-webkit-slider-runnable-track {
|
|
5
|
+
height: 3px;
|
|
6
|
+
background: linear-gradient(
|
|
7
|
+
to right,
|
|
8
|
+
var(--color-primary),
|
|
9
|
+
var(--color-primary)
|
|
10
|
+
),
|
|
11
|
+
var(--color-silver);
|
|
12
|
+
background-size: var(--background-size, 0%) 100%;
|
|
13
|
+
background-repeat: no-repeat;
|
|
14
|
+
border-radius: 5px;
|
|
15
|
+
}
|
|
16
|
+
&::-webkit-slider-thumb {
|
|
17
|
+
width: 15px;
|
|
18
|
+
height: 15px;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
background: var(--color-primary);
|
|
21
|
+
border: solid var(--color-white) 1px;
|
|
22
|
+
border-radius: 50%;
|
|
23
|
+
margin-top: -6px;
|
|
24
|
+
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
|
|
25
|
+
}
|
|
26
|
+
&::-moz-range-progress {
|
|
27
|
+
background-color: var(--color-primary);
|
|
28
|
+
border-radius: 5px;
|
|
29
|
+
}
|
|
30
|
+
&::-moz-range-track {
|
|
31
|
+
background-color: var(--color-silver);
|
|
32
|
+
border-radius: 5px;
|
|
33
|
+
}
|
|
34
|
+
&::-moz-range-thumb {
|
|
35
|
+
width: 15px;
|
|
36
|
+
height: 15px;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
background: var(--color-primary);
|
|
39
|
+
border: solid var(--color-white) 1px;
|
|
40
|
+
border-radius: 50%;
|
|
41
|
+
margin-top: -6px;
|
|
42
|
+
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
&:hover {
|
|
46
|
+
.bimdata-slider-tooltip {
|
|
47
|
+
opacity: 1;
|
|
48
|
+
transition: opacity 0.2s ease-out;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
&-tooltip {
|
|
52
|
+
background: var(--color-primary);
|
|
53
|
+
color: var(--color-white);
|
|
54
|
+
padding: calc(var(--spacing-unit) / 2);
|
|
55
|
+
position: absolute;
|
|
56
|
+
border-radius: 4px;
|
|
57
|
+
bottom: calc(var(--spacing-unit) * 3);
|
|
58
|
+
left: 50%;
|
|
59
|
+
transform: translateX(-50%);
|
|
60
|
+
opacity: 0;
|
|
61
|
+
transition: opacity 0.2s ease-out;
|
|
62
|
+
&::after {
|
|
63
|
+
border: 5px solid transparent;
|
|
64
|
+
border-top-color: var(--color-primary);
|
|
65
|
+
bottom: 5px * -2;
|
|
66
|
+
content: "";
|
|
67
|
+
height: 0;
|
|
68
|
+
left: 50%;
|
|
69
|
+
position: absolute;
|
|
70
|
+
transform: translate(-50%);
|
|
71
|
+
width: 0;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
.bimdata-slider-input,
|
|
75
|
+
.bimdata-slider-input::-webkit-slider-runnable-track,
|
|
76
|
+
.bimdata-slider-input::-webkit-slider-thumb {
|
|
77
|
+
appearance: none;
|
|
78
|
+
-webkit-appearance: none;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -35,6 +35,7 @@ export { default as BIMDataSearchAutocomplete } from "./BIMDataSearchAutocomplet
|
|
|
35
35
|
export { default as BIMDataSelect } from "./BIMDataSelect/BIMDataSelect.vue";
|
|
36
36
|
export { default as BIMDataSimplePieChart } from "./BIMDataSimplePieChart/BIMDataSimplePieChart.vue";
|
|
37
37
|
export { default as BIMDataSpinner } from "./BIMDataSpinner/BIMDataSpinner.vue";
|
|
38
|
+
export { default as BIMDataSlider } from "./BIMDataSlider/BIMDataSlider.vue";
|
|
38
39
|
export { default as BIMDataTable } from "./BIMDataTable/BIMDataTable.vue";
|
|
39
40
|
export { default as BIMDataTabs } from "./BIMDataTabs/BIMDataTabs.vue";
|
|
40
41
|
export { default as BIMDataText } from "./BIMDataText/BIMDataText.vue";
|
|
@@ -2,29 +2,36 @@
|
|
|
2
2
|
.bg-primary {
|
|
3
3
|
background-color: var(--color-primary);
|
|
4
4
|
}
|
|
5
|
+
|
|
5
6
|
.bg-secondary {
|
|
6
7
|
background-color: var(--color-secondary);
|
|
7
8
|
}
|
|
8
9
|
|
|
9
|
-
/* background GREY SHADES
|
|
10
|
+
/* background GREY SHADES */
|
|
10
11
|
.bg-white {
|
|
11
12
|
background-color: var(--color-white);
|
|
12
13
|
}
|
|
14
|
+
|
|
13
15
|
.bg-silver-light {
|
|
14
16
|
background-color: var(--color-silver-light);
|
|
15
17
|
}
|
|
18
|
+
|
|
16
19
|
.bg-silver {
|
|
17
20
|
background-color: var(--color-silver);
|
|
18
21
|
}
|
|
22
|
+
|
|
19
23
|
.bg-silver-dark {
|
|
20
24
|
background-color: var(--color-silver-dark);
|
|
21
25
|
}
|
|
26
|
+
|
|
22
27
|
.bg-granite-light {
|
|
23
28
|
background-color: var(--color-granite-light);
|
|
24
29
|
}
|
|
30
|
+
|
|
25
31
|
.bg-granite {
|
|
26
32
|
background-color: var(--color-granite);
|
|
27
33
|
}
|
|
34
|
+
|
|
28
35
|
.bg-black {
|
|
29
36
|
background-color: var(--color-black);
|
|
30
37
|
}
|
|
@@ -33,40 +40,53 @@
|
|
|
33
40
|
.bg-success {
|
|
34
41
|
background-color: var(--color-success);
|
|
35
42
|
}
|
|
43
|
+
|
|
36
44
|
.bg-warning {
|
|
37
45
|
background-color: var(--color-warning);
|
|
38
46
|
}
|
|
47
|
+
|
|
39
48
|
.bg-high {
|
|
40
49
|
background-color: var(--color-high);
|
|
41
50
|
}
|
|
42
51
|
|
|
52
|
+
.bg-neutral {
|
|
53
|
+
background-color: var(--color-neutral);
|
|
54
|
+
}
|
|
55
|
+
|
|
43
56
|
/* color BRAND COLORS */
|
|
44
57
|
.color-primary {
|
|
45
58
|
color: var(--color-primary);
|
|
46
59
|
}
|
|
60
|
+
|
|
47
61
|
.color-secondary {
|
|
48
62
|
color: var(--color-secondary);
|
|
49
63
|
}
|
|
50
64
|
|
|
51
|
-
/* color GREY SHADES
|
|
65
|
+
/* color GREY SHADES */
|
|
52
66
|
.color-white {
|
|
53
67
|
color: var(--color-white);
|
|
54
68
|
}
|
|
69
|
+
|
|
55
70
|
.color-silver-light {
|
|
56
71
|
color: var(--color-silver-light);
|
|
57
72
|
}
|
|
73
|
+
|
|
58
74
|
.color-silver {
|
|
59
75
|
color: var(--color-silver);
|
|
60
76
|
}
|
|
77
|
+
|
|
61
78
|
.color-silver-dark {
|
|
62
79
|
color: var(--color-silver-dark);
|
|
63
80
|
}
|
|
81
|
+
|
|
64
82
|
.color-granite-light {
|
|
65
83
|
color: var(--color-granite-light);
|
|
66
84
|
}
|
|
85
|
+
|
|
67
86
|
.color-granite {
|
|
68
87
|
color: var(--color-granite);
|
|
69
88
|
}
|
|
89
|
+
|
|
70
90
|
.color-black {
|
|
71
91
|
color: var(--color-black);
|
|
72
92
|
}
|
|
@@ -75,40 +95,53 @@
|
|
|
75
95
|
.color-success {
|
|
76
96
|
color: var(--color-success);
|
|
77
97
|
}
|
|
98
|
+
|
|
78
99
|
.color-warning {
|
|
79
100
|
color: var(--color-warning);
|
|
80
101
|
}
|
|
102
|
+
|
|
81
103
|
.color-high {
|
|
82
104
|
color: var(--color-high);
|
|
83
105
|
}
|
|
84
106
|
|
|
107
|
+
.color-neutral {
|
|
108
|
+
color: var(--color-neutral);
|
|
109
|
+
}
|
|
110
|
+
|
|
85
111
|
/* fill BRAND COLORS */
|
|
86
112
|
.fill-primary {
|
|
87
113
|
fill: var(--color-primary);
|
|
88
114
|
}
|
|
115
|
+
|
|
89
116
|
.fill-secondary {
|
|
90
117
|
fill: var(--color-secondary);
|
|
91
118
|
}
|
|
92
119
|
|
|
93
|
-
/* fill GREY SHADES
|
|
120
|
+
/* fill GREY SHADES */
|
|
94
121
|
.fill-white {
|
|
95
122
|
fill: var(--color-white);
|
|
96
123
|
}
|
|
124
|
+
|
|
97
125
|
.fill-silver-light {
|
|
98
126
|
fill: var(--color-silver-light);
|
|
99
127
|
}
|
|
128
|
+
|
|
100
129
|
.fill-silver {
|
|
101
130
|
fill: var(--color-silver);
|
|
102
131
|
}
|
|
132
|
+
|
|
103
133
|
.fill-silver-dark {
|
|
104
134
|
fill: var(--color-silver-dark);
|
|
105
135
|
}
|
|
136
|
+
|
|
106
137
|
.fill-granite-light {
|
|
107
138
|
fill: var(--color-granite-light);
|
|
108
139
|
}
|
|
140
|
+
|
|
109
141
|
.fill-granite {
|
|
110
142
|
fill: var(--color-granite);
|
|
111
143
|
}
|
|
144
|
+
|
|
112
145
|
.fill-black {
|
|
113
146
|
fill: var(--color-black);
|
|
114
147
|
}
|
|
@@ -117,48 +150,61 @@
|
|
|
117
150
|
.fill-success {
|
|
118
151
|
fill: var(--color-success);
|
|
119
152
|
}
|
|
153
|
+
|
|
120
154
|
.fill-warning {
|
|
121
155
|
fill: var(--color-warning);
|
|
122
156
|
}
|
|
157
|
+
|
|
123
158
|
.fill-high {
|
|
124
159
|
fill: var(--color-high);
|
|
125
160
|
}
|
|
126
161
|
|
|
162
|
+
.fill-neutral {
|
|
163
|
+
fill: var(--color-neutral);
|
|
164
|
+
}
|
|
165
|
+
|
|
127
166
|
/* stroke BRAND COLORS */
|
|
128
167
|
.stroke-primary {
|
|
129
168
|
fill: transparent;
|
|
130
169
|
stroke: var(--color-primary);
|
|
131
170
|
}
|
|
171
|
+
|
|
132
172
|
.stroke-secondary {
|
|
133
173
|
fill: transparent;
|
|
134
174
|
stroke: var(--color-secondary);
|
|
135
175
|
}
|
|
136
176
|
|
|
137
|
-
/* stroke GREY SHADES
|
|
177
|
+
/* stroke GREY SHADES */
|
|
138
178
|
.stroke-white {
|
|
139
179
|
fill: transparent;
|
|
140
180
|
stroke: var(--color-white);
|
|
141
181
|
}
|
|
182
|
+
|
|
142
183
|
.stroke-silver-light {
|
|
143
184
|
fill: transparent;
|
|
144
185
|
stroke: var(--color-silver-light);
|
|
145
186
|
}
|
|
187
|
+
|
|
146
188
|
.stroke-silver {
|
|
147
189
|
fill: transparent;
|
|
148
190
|
stroke: var(--color-silver);
|
|
149
191
|
}
|
|
192
|
+
|
|
150
193
|
.stroke-silver-dark {
|
|
151
194
|
fill: transparent;
|
|
152
195
|
stroke: var(--color-silver-dark);
|
|
153
196
|
}
|
|
197
|
+
|
|
154
198
|
.stroke-granite-light {
|
|
155
199
|
fill: transparent;
|
|
156
200
|
stroke: var(--color-granite-light);
|
|
157
201
|
}
|
|
202
|
+
|
|
158
203
|
.stroke-granite {
|
|
159
204
|
fill: transparent;
|
|
160
205
|
stroke: var(--color-granite);
|
|
161
206
|
}
|
|
207
|
+
|
|
162
208
|
.stroke-black {
|
|
163
209
|
fill: transparent;
|
|
164
210
|
stroke: var(--color-black);
|
|
@@ -169,11 +215,18 @@
|
|
|
169
215
|
fill: transparent;
|
|
170
216
|
stroke: var(--color-success);
|
|
171
217
|
}
|
|
218
|
+
|
|
172
219
|
.stroke-warning {
|
|
173
220
|
fill: transparent;
|
|
174
221
|
stroke: var(--color-warning);
|
|
175
222
|
}
|
|
223
|
+
|
|
176
224
|
.stroke-high {
|
|
177
225
|
fill: transparent;
|
|
178
226
|
stroke: var(--color-high);
|
|
179
227
|
}
|
|
228
|
+
|
|
229
|
+
.stroke-neutral {
|
|
230
|
+
fill: transparent;
|
|
231
|
+
stroke: var(--color-neutral);
|
|
232
|
+
}
|
|
@@ -2,54 +2,61 @@ html {
|
|
|
2
2
|
/* base COLORS -------------------------------- */
|
|
3
3
|
/* --------------------------------
|
|
4
4
|
color PRIMARY & VARIANTS -------------------------------- */
|
|
5
|
-
--color-primary-lighter: rgba(248, 249, 250, 1);
|
|
6
|
-
--color-primary-light: rgba(67, 78, 105, 1);
|
|
7
5
|
--color-primary: rgba(47, 55, 74, 1);
|
|
6
|
+
--color-primary-light: rgba(67, 78, 105, 1);
|
|
7
|
+
--color-primary-lighter: rgba(248, 249, 250, 1);
|
|
8
8
|
--color-primary-dark: rgba(27, 32, 43, 1);
|
|
9
9
|
|
|
10
10
|
/* --------------------------------
|
|
11
11
|
color SECONDARY & VARIANTS -------------------------------- */
|
|
12
|
-
--color-secondary-lighter: rgba(255, 252, 242, 1);
|
|
13
|
-
--color-secondary-light: rgba(250, 212, 94, 1);
|
|
14
12
|
--color-secondary: rgba(249, 199, 44, 1);
|
|
13
|
+
--color-secondary-light: rgba(250, 212, 94, 1);
|
|
14
|
+
--color-secondary-lighter: rgba(255, 252, 242, 1);
|
|
15
15
|
--color-secondary-dark: rgba(235, 180, 7, 1);
|
|
16
16
|
|
|
17
17
|
/* --------------------------------
|
|
18
|
-
colors GREY SHADES
|
|
18
|
+
colors GREY SHADES -------------------------------- */
|
|
19
19
|
--color-white: rgba(255, 255, 255, 1);
|
|
20
|
-
--color-silver-light: rgba(247, 247, 247, 1);
|
|
21
20
|
--color-silver: rgba(216, 216, 216, 1);
|
|
21
|
+
--color-silver-light: rgba(247, 247, 247, 1);
|
|
22
22
|
--color-silver-dark: rgba(190, 190, 190, 1);
|
|
23
|
-
--color-granite-light: rgba(122, 122, 122, 1);
|
|
24
23
|
--color-granite: rgba(96, 96, 96, 1);
|
|
25
|
-
--color-
|
|
24
|
+
--color-granite-light: rgba(122, 122, 122, 1);
|
|
26
25
|
--color-black: rgba(0, 0, 0, 1);
|
|
27
|
-
|
|
28
|
-
/* --------------------------------
|
|
29
|
-
color TEXT -------------------------------- */
|
|
30
|
-
--color-text: rgba(47, 55, 74, 1);
|
|
26
|
+
--color-black-lighter: rgba(0, 0, 0, 0.1);
|
|
31
27
|
|
|
32
28
|
/* --------------------------------
|
|
33
29
|
color SUCCESS & VARIANTS -------------------------------- */
|
|
34
|
-
--color-success-lighter: rgba(226, 255, 239, 1);
|
|
35
|
-
--color-success-light: rgba(0, 200, 92, 1);
|
|
36
30
|
--color-success: rgba(0, 175, 80, 1);
|
|
31
|
+
--color-success-light: rgba(0, 200, 92, 1);
|
|
32
|
+
--color-success-lighter: rgba(226, 255, 239, 1);
|
|
37
33
|
--color-success-dark: rgba(0, 149, 68, 1);
|
|
38
34
|
|
|
39
35
|
/* --------------------------------
|
|
40
36
|
color WARNING & VARIANTS -------------------------------- */
|
|
41
|
-
--color-warning-lighter: rgba(255, 233, 204, 1);
|
|
42
|
-
--color-warning-light: rgba(255, 167, 51, 1);
|
|
43
37
|
--color-warning: rgba(255, 145, 0, 1);
|
|
38
|
+
--color-warning-light: rgba(255, 167, 51, 1);
|
|
39
|
+
--color-warning-lighter: rgba(255, 233, 204, 1);
|
|
44
40
|
--color-warning-dark: rgba(204, 116, 0, 1);
|
|
45
41
|
|
|
46
42
|
/* --------------------------------
|
|
47
43
|
color HIGH & VARIANTS -------------------------------- */
|
|
48
|
-
--color-high-lighter: rgba(255, 237, 234, 1);
|
|
49
|
-
--color-high-light: rgba(255, 104, 81, 1);
|
|
50
44
|
--color-high: rgba(255, 61, 30, 1);
|
|
45
|
+
--color-high-light: rgba(255, 104, 81, 1);
|
|
46
|
+
--color-high-lighter: rgba(255, 237, 234, 1);
|
|
51
47
|
--color-high-dark: rgba(234, 31, 0, 1);
|
|
52
48
|
|
|
49
|
+
/* --------------------------------
|
|
50
|
+
color NEUTRAL & VARIANTS -------------------------------- */
|
|
51
|
+
--color-neutral: rgba(32, 93, 189, 1);
|
|
52
|
+
--color-neutral-light: rgba(51, 117, 221, 1);
|
|
53
|
+
--color-neutral-lighter: rgba(240, 245, 255, 1);
|
|
54
|
+
--color-neutral-dark: rgba(25, 72, 145, 1);
|
|
55
|
+
|
|
56
|
+
/* --------------------------------
|
|
57
|
+
color TEXT -------------------------------- */
|
|
58
|
+
--color-text: rgba(47, 55, 74, 1);
|
|
59
|
+
|
|
53
60
|
/* base FONT SIZE -------------------------------- */
|
|
54
61
|
--font-size: 14px;
|
|
55
62
|
|