@trilogy-ds/styles 0.0.1-beta-74 → 0.0.1-beta-76
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/base/_color.scss +13 -13
- package/framework/src/base/_generic.scss +1 -1
- package/framework/src/base/_helpers.scss +3 -3
- package/framework/src/components/_card.scss +1 -1
- package/framework/src/components/_divider.scss +1 -1
- package/framework/src/components/_fab.scss +10 -2
- package/framework/src/components/_modal.scss +1 -1
- package/framework/src/components/_pagination.scss +6 -3
- package/framework/src/components/_plus-symbol.scss +1 -1
- package/framework/src/components/_price.scss +2 -2
- package/framework/src/components/_segmented-control.scss +2 -2
- package/framework/src/components/_stepper.scss +2 -2
- package/framework/src/components/_timeline.scss +9 -12
- package/framework/src/elements/_alert.scss +1 -1
- package/framework/src/elements/_all.scss +0 -1
- package/framework/src/elements/_autocomplete.scss +3 -3
- package/framework/src/elements/_box.scss +1 -1
- package/framework/src/elements/_button.scss +2 -2
- package/framework/src/elements/_chips.scss +1 -1
- package/framework/src/elements/_form.scss +4 -4
- package/framework/src/elements/_other.scss +0 -37
- package/framework/src/elements/_progress.scss +3 -3
- package/framework/src/elements/_switch.scss +4 -4
- package/framework/src/elements/_table.scss +10 -10
- package/framework/src/elements/_tag.scss +3 -3
- package/framework/src/elements/_toaster.scss +2 -2
- package/framework/src/grid/_columns.scss +1 -1
- package/framework/src/layout/_section.scss +0 -17
- package/framework/src/theming/buttons_partial.scss +1 -1
- package/framework/src/theming/common_partials.scss +1 -1
- package/framework/src/utilities/_all.scss +1 -1
- package/framework/src/utilities/_background.scss +2 -2
- package/framework/src/utilities/_colors.scss +23 -0
- package/framework/src/utilities/_initial-variables.scss +1 -29
- package/framework/src/utilities/_mixins.scss +13 -6
- package/package.json +1 -1
- package/framework/src/elements/_dot.scss +0 -6
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
$suffix: '';
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
All color variables are defined here
|
|
5
|
+
@string slug name used in classname (You can use your brand name)
|
|
6
|
+
@color A valid css color value
|
|
7
|
+
@invert The slug name of the best inverted color
|
|
8
|
+
@hover A valid css color value (a variant color for the hover case)
|
|
9
|
+
@visited A valid css color value (a variant color for the pressed case) -- optional
|
|
10
|
+
@background A valid css color value (a variant color for background) -- optional
|
|
11
|
+
*/
|
|
12
|
+
$colors: (
|
|
13
|
+
'background': [#fff, #E9E9E9, 'white', 'main'],
|
|
14
|
+
'main':[ #3d5d7e, #eff2f8, 'main', 'white'],
|
|
15
|
+
'alternate':[ #da641b, #bb5118,'accent', 'white'],
|
|
16
|
+
'font':[ #3d5d7e, #BBC6CD, 'main', 'white'],
|
|
17
|
+
'success':[ #007B52, #cae8ca,'success', 'white'],
|
|
18
|
+
'info':[ #1A688A, #c8dbec, 'info','white'],
|
|
19
|
+
'warning':[ #FFBB33, #ecdbc6,'warning', 'white'],
|
|
20
|
+
'error':[ #D42D02,#eecccc,'error', 'white'],
|
|
21
|
+
'disabled':[ #646464, #D1D1D1,'disabled', 'white'],
|
|
22
|
+
'neutral':[ #707070, #F4F4F4,'grey', 'white' ],
|
|
23
|
+
) !default;
|
|
@@ -1,33 +1,5 @@
|
|
|
1
1
|
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
|
|
2
|
-
|
|
3
|
-
$suffix: '';
|
|
4
|
-
|
|
5
|
-
/*
|
|
6
|
-
All color variables are defined here
|
|
7
|
-
@string slug name used in classname (You can use your brand name)
|
|
8
|
-
@color A valid css color value
|
|
9
|
-
@invert The slug name of the best inverted color
|
|
10
|
-
@hover A valid css color value (a variant color for the hover case)
|
|
11
|
-
@visited A valid css color value (a variant color for the pressed case) -- optional
|
|
12
|
-
@background A valid css color value (a variant color for background) -- optional
|
|
13
|
-
*/
|
|
14
|
-
$colors: (
|
|
15
|
-
'background': ['white', #fff, 'main', #E9E9E9],
|
|
16
|
-
'main':['main', #3d5d7e, 'white', #eff2f8],
|
|
17
|
-
'alternate':['accent', #da641b, 'white', #bb5118],
|
|
18
|
-
'font':['main', #3d5d7e, 'white', #BBC6CD],
|
|
19
|
-
'success':['success', #007B52, 'white', #cae8ca],
|
|
20
|
-
'info':['info', #1A688A, 'white', #c8dbec],
|
|
21
|
-
'warning':['warning', #FFBB33, 'white', #ecdbc6],
|
|
22
|
-
'error':['error', #D42D02, 'white',#eecccc],
|
|
23
|
-
/* Grey disabled // BG : bg-disabled */
|
|
24
|
-
'disabled':['disabled', #646464, 'white', #D1D1D1],
|
|
25
|
-
'hovered': ['hovered', #24374a, 'font',#e4eaed],
|
|
26
|
-
/* grey , BG : grey-lighter */
|
|
27
|
-
'neutral':['grey', #707070, 'white', #F4F4F4 ],
|
|
28
|
-
/* grey dark , BG : grey-light */
|
|
29
|
-
'neutral-dark':['grey-dark', #646464, 'white', #E9E9E9 ]
|
|
30
|
-
) !default;
|
|
2
|
+
@import "colors";
|
|
31
3
|
|
|
32
4
|
$hoverSelector: "&:hover:not([disabled]):not([aria-disabled=true])";
|
|
33
5
|
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
|
|
148
148
|
@mixin spinner {
|
|
149
149
|
animation: spinAround 500ms infinite linear;
|
|
150
|
-
border: 2px solid
|
|
150
|
+
border: 2px solid getFadeColor('neutral');
|
|
151
151
|
border-radius: 290486px;
|
|
152
152
|
border-right-color: transparent;
|
|
153
153
|
border-top-color: transparent;
|
|
@@ -365,7 +365,7 @@
|
|
|
365
365
|
@include control;
|
|
366
366
|
height: 56px;
|
|
367
367
|
background-color: getColor('background');
|
|
368
|
-
border-color:
|
|
368
|
+
border-color: getFadeColor('font');
|
|
369
369
|
color: getColor('font');
|
|
370
370
|
|
|
371
371
|
@include placeholder {
|
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
&:disabled:checked {
|
|
420
420
|
& ~ label.#{$type}-label {
|
|
421
421
|
&:after {
|
|
422
|
-
background-color:
|
|
422
|
+
background-color: getFadeColor('disabled');
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
425
|
}
|
|
@@ -606,7 +606,15 @@
|
|
|
606
606
|
}
|
|
607
607
|
|
|
608
608
|
@mixin hoverRules {
|
|
609
|
-
background-color:
|
|
609
|
+
background-color: getFadeColor('neutral');
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
@mixin hoverRulesOnOdd {
|
|
613
|
+
background: linear-gradient(
|
|
614
|
+
to top,
|
|
615
|
+
rgba(0, 0, 0, 0.25),
|
|
616
|
+
rgba(0, 0, 0, 0.25)
|
|
617
|
+
) getFadeColor('neutral');
|
|
610
618
|
}
|
|
611
619
|
|
|
612
620
|
@mixin hover {
|
|
@@ -618,7 +626,6 @@
|
|
|
618
626
|
}
|
|
619
627
|
}
|
|
620
628
|
|
|
621
|
-
|
|
622
629
|
@mixin disabledRulesWithoutBG {
|
|
623
630
|
border-color: transparent !important;
|
|
624
631
|
box-shadow: none !important;
|
|
@@ -628,6 +635,6 @@
|
|
|
628
635
|
}
|
|
629
636
|
|
|
630
637
|
@mixin disabledRules {
|
|
631
|
-
background-color:
|
|
638
|
+
background-color: getFadeColor('disabled') !important;
|
|
632
639
|
@include disabledRulesWithoutBG;
|
|
633
640
|
}
|
package/package.json
CHANGED