@trilogy-ds/styles 4.17.0 → 4.18.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.
- package/dist/default/trilogy-mangled.css +1 -1
- package/dist/default/trilogy-partials.css +1 -1
- package/dist/default/trilogy.css +1 -1
- package/framework/src/components/_button.scss +1 -0
- package/framework/src/components/_otp.scss +1 -1
- package/framework/src/components/_prompt.scss +1 -0
- package/framework/src/components/_table.scss +14 -0
- package/framework/src/components/_textarea.scss +0 -5
- package/framework/src/components/input/_form.scss +1 -1
- package/framework/src/components/progress/_progress-radial.scss +10 -0
- package/framework/src/utilities/mixins/_mixins.scss +1 -1
- package/framework/src/utilities/variables/_color.scss +10 -0
- package/framework/src/utilities/variables/_index.scss +1 -0
- package/framework/src/utilities/variables/_sizes.scss +1 -0
- package/package.json +1 -1
|
@@ -131,6 +131,20 @@
|
|
|
131
131
|
border-width: 0 0 1px;
|
|
132
132
|
color: getColor('font');
|
|
133
133
|
}
|
|
134
|
+
|
|
135
|
+
&[class*="has-background"] {
|
|
136
|
+
th {
|
|
137
|
+
background-color: transparent;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
@each $name in $colors-all {
|
|
142
|
+
&.is-#{$name} tr {
|
|
143
|
+
th {
|
|
144
|
+
color: getColor($name);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
134
148
|
}
|
|
135
149
|
|
|
136
150
|
tfoot {
|
|
@@ -11,6 +11,8 @@ $suffix: '';
|
|
|
11
11
|
*/
|
|
12
12
|
$colors: (
|
|
13
13
|
'background': [#fff, 'white', 'main'],
|
|
14
|
+
'brand': [#ccd5f8, 'brand', 'white'],
|
|
15
|
+
'brand-fade': [#e8eef8, 'brand-fade', 'white'],
|
|
14
16
|
'stroke':[ #727272, 'stroke', 'white' ],
|
|
15
17
|
'stroke-fade':[ #cadbe8, 'stroke-fade', 'white' ],
|
|
16
18
|
'transparent': ['transparent', 'transparent', 'transparent'],
|
|
@@ -35,6 +37,7 @@ $colors: (
|
|
|
35
37
|
) !default;
|
|
36
38
|
|
|
37
39
|
$fade-colors: (
|
|
40
|
+
'brand': 'brand-fade',
|
|
38
41
|
'main': 'main-fade',
|
|
39
42
|
'success': 'success-fade',
|
|
40
43
|
'info':'info-fade',
|
|
@@ -47,6 +50,8 @@ $fade-colors: (
|
|
|
47
50
|
@function getColor( $name ) {
|
|
48
51
|
@if global-variable-exists(suffix-theme) {
|
|
49
52
|
@return var(--color-#{nth(map-get($colors, $name), 2)}-#{$suffix-theme});
|
|
53
|
+
} @else if $name == 'white' {
|
|
54
|
+
@return var(--color-white);
|
|
50
55
|
} @else {
|
|
51
56
|
@return var(--color-#{nth(map-get($colors,$name),2)});
|
|
52
57
|
}
|
|
@@ -84,3 +89,8 @@ $colors-brand-functionnal: (
|
|
|
84
89
|
$colors-feedback: (
|
|
85
90
|
'success', 'error', 'warning', 'info'
|
|
86
91
|
);
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
$colors-all: (
|
|
95
|
+
"white", "main", "main-fade" , "accent", "accent-fade", "font", "font-placeholder", "success", "success-fade", "info", "info-fade", "warning", "warning-fade", "error", "error-fade", "disabled", "disabled-fade", "neutral", "neutral-fade", "stroke", "stroke-fade"
|
|
96
|
+
);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
$size-inputs: 48px;
|