@trilogy-ds/styles 4.2.2-beta-3 → 4.2.2-beta-4

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.
Files changed (60) hide show
  1. package/dist/default/trilogy-mangled.css +1 -1
  2. package/dist/default/trilogy-partials.css +1 -1
  3. package/dist/default/trilogy.css +1 -1
  4. package/framework/src/_all.scss +2 -2
  5. package/framework/src/base/_all.scss +1 -1
  6. package/framework/src/base/_color.scss +0 -21
  7. package/framework/src/base/_elements.scss +1 -1
  8. package/framework/src/components/_card.scss +1 -1
  9. package/framework/src/components/_countdown.scss +1 -1
  10. package/framework/src/{elements/_all.scss → components/_index.scss} +26 -12
  11. package/framework/src/components/_modal.scss +4 -5
  12. package/framework/src/{elements → components}/_table.scss +1 -1
  13. package/framework/src/{elements/_paragraph.scss → components/_text.scss} +1 -13
  14. package/framework/src/components/_timeline.scss +1 -1
  15. package/framework/src/components/alert/_index.scss +2 -0
  16. package/framework/src/{elements → components/input}/_form.scss +1 -1
  17. package/framework/src/components/input/_index.scss +4 -0
  18. package/framework/src/components/progress/_index.scss +2 -0
  19. package/framework/src/{elements → components/progress}/_progress.scss +1 -1
  20. package/framework/src/elements/_index.scss +5 -0
  21. package/framework/src/elements/_other.scss +0 -4
  22. package/framework/src/trilogy-mangled.scss +2 -2
  23. package/framework/src/trilogy.scss +2 -2
  24. package/framework/src/utilities/_derived-variables.scss +0 -92
  25. package/framework/src/utilities/_initial-variables.scss +1 -111
  26. package/framework/src/utilities/variables/_animation.scss +2 -0
  27. package/framework/src/utilities/{_colors.scss → variables/_color.scss} +37 -0
  28. package/framework/src/utilities/variables/_font.scss +97 -0
  29. package/framework/src/utilities/variables/_index.scss +6 -0
  30. package/framework/src/utilities/variables/_responsiveness.scss +7 -0
  31. package/framework/src/utilities/variables/_shadow.scss +3 -0
  32. package/framework/src/utilities/variables/_zindex.scss +14 -0
  33. package/package.json +1 -1
  34. package/framework/src/components/_all.scss +0 -24
  35. /package/framework/src/{elements → components}/_autocomplete.scss +0 -0
  36. /package/framework/src/{elements → components}/_badge.scss +0 -0
  37. /package/framework/src/{elements → components}/_box.scss +0 -0
  38. /package/framework/src/{elements → components}/_button.scss +0 -0
  39. /package/framework/src/{elements → components}/_checkbox.scss +0 -0
  40. /package/framework/src/{elements → components}/_chips.scss +0 -0
  41. /package/framework/src/{elements → components}/_container.scss +0 -0
  42. /package/framework/src/{elements → components}/_icon.scss +0 -0
  43. /package/framework/src/{elements → components}/_image.scss +0 -0
  44. /package/framework/src/{elements → components}/_link.scss +0 -0
  45. /package/framework/src/{elements → components}/_list.scss +0 -0
  46. /package/framework/src/{elements → components}/_loader.scss +0 -0
  47. /package/framework/src/{elements → components}/_radio.scss +0 -0
  48. /package/framework/src/{elements → components}/_select.scss +0 -0
  49. /package/framework/src/{elements → components}/_sticker.scss +0 -0
  50. /package/framework/src/{elements → components}/_switch.scss +0 -0
  51. /package/framework/src/{elements → components}/_tag.scss +0 -0
  52. /package/framework/src/{elements → components}/_textarea.scss +0 -0
  53. /package/framework/src/{elements → components}/_title.scss +0 -0
  54. /package/framework/src/{elements → components/alert}/_alert.scss +0 -0
  55. /package/framework/src/{elements → components/alert}/_toaster.scss +0 -0
  56. /package/framework/src/{elements → components/input}/_entry.scss +0 -0
  57. /package/framework/src/{elements → components/input}/_input-gauge.scss +0 -0
  58. /package/framework/src/{elements → components/input}/_input-icons.scss +0 -0
  59. /package/framework/src/components/{_progress-radial.scss → progress/_progress-radial.scss} +0 -0
  60. /package/framework/src/{components → elements}/_plus-symbol.scss +0 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  @import "utilities/all";
4
4
  @import "base/all";
5
- @import "elements/all";
6
- @import "components/all";
5
+ @import "elements";
6
+ @import "components";
7
7
  @import "grid/all";
8
8
  @import "layout/all";
@@ -1,7 +1,7 @@
1
1
  @charset "utf-8";
2
2
 
3
- @import "reset";
4
3
  @import "color";
4
+ @import "reset";
5
5
  @import "generic";
6
6
  @import "fonts";
7
7
  @import "helpers";
@@ -1,28 +1,7 @@
1
1
  @use "sass:map";
2
2
 
3
- @function getColor( $name ) {
4
- @return var(--color-#{nth(map-get($colors,$name),2)});
5
- }
6
-
7
- @function getColorValue( $name ) {
8
- @return #{nth(map-get($colors,$name),1)}
9
- }
10
-
11
- @function getColorBrandName( $name ) {
12
- @return #{nth(map-get($colors,$name),2)}
13
- }
14
-
15
3
  :root {
16
4
  @each $name, $color in $colors {
17
5
  --color-#{nth($color,2)}: #{nth($color,1)};
18
6
  }
19
7
  }
20
-
21
- @function invertColor ($colorName) {
22
- @return var(--color-#{nth(map-get($colors,$colorName),3)})
23
- }
24
-
25
- @function fadeColor ($colorName) {
26
- $name: map-get($fade-colors,$colorName);
27
- @return getColor($name);
28
- }
@@ -6,7 +6,7 @@ body {
6
6
  @extend .main-wrap;
7
7
  @extend .body-wrap;
8
8
  @extend .reset-wrap;
9
- font-family: $family-sans-serif;
9
+ font-family: $family-primary;
10
10
  }
11
11
 
12
12
  header {
@@ -56,7 +56,7 @@
56
56
 
57
57
  &.is-strong {
58
58
  .title {
59
- font-family: $family-serif;
59
+ font-family: $family-secondary;
60
60
  font-size: 24px !important;
61
61
  }
62
62
  }
@@ -6,7 +6,7 @@
6
6
  color: getColor('font');
7
7
 
8
8
  .count {
9
- font-family: $family-sans-serif;
9
+ font-family: $family-primary;
10
10
  font-size: $text-14;
11
11
  font-weight: 400;
12
12
  list-style-type: none;
@@ -1,32 +1,46 @@
1
1
  @charset "utf-8";
2
2
  @import '../utilities/spacing';
3
3
 
4
+ @import 'accordion';
4
5
  @import 'alert';
5
6
  @import 'autocomplete';
7
+ @import 'autolayout';
6
8
  @import 'badge';
7
9
  @import 'box';
10
+ @import 'breadcrumb';
8
11
  @import 'button';
9
- @import 'chips';
12
+ @import 'card';
10
13
  @import 'checkbox';
14
+ @import 'chips';
11
15
  @import 'container';
12
- @import 'entry';
13
- @import 'form';
16
+ @import 'countdown';
17
+ @import 'divider';
18
+ @import 'fab';
14
19
  @import 'icon';
15
20
  @import 'image';
16
- @import 'loader';
21
+ @import 'input';
17
22
  @import 'link';
18
23
  @import 'list';
19
- @import 'toaster';
24
+ @import 'loader';
25
+ @import 'modal';
26
+ @import 'otp';
27
+ @import 'pagination';
28
+ @import 'popover';
29
+ @import 'price';
30
+ @import 'product-tour';
20
31
  @import 'progress';
21
- @import 'paragraph';
22
32
  @import 'radio';
33
+ @import 'range';
34
+ @import 'scroll-view';
35
+ @import 'segmented-control';
36
+ @import 'select';
37
+ @import 'stepper';
38
+ @import 'sticker';
23
39
  @import 'switch';
24
40
  @import 'table';
41
+ @import 'tabs';
25
42
  @import 'tag';
26
- @import 'title';
27
- @import 'other';
28
- @import 'select';
29
- @import 'sticker';
43
+ @import 'text';
30
44
  @import 'textarea';
31
- @import 'input-gauge';
32
- @import 'input-icons';
45
+ @import 'timeline';
46
+ @import 'title';
@@ -48,13 +48,12 @@ body:has(.modal.is-active) {
48
48
  }
49
49
  }
50
50
 
51
- // gestion des tailles
52
51
  @include tablet {
53
52
  justify-content: center;
54
- @each $dimension in $dimensions-extended {
55
- &.is-#{$dimension} {
53
+ @each $name, $dimension in $modal-dimensions {
54
+ &.is-#{$name} {
56
55
  .modal-content {
57
- width: map-get($modal-dimensions, $dimension);
56
+ width: $dimension;
58
57
  }
59
58
  }
60
59
  }
@@ -110,7 +109,7 @@ body:has(.modal.is-active) {
110
109
  .modal-header {
111
110
  padding: $spacing-5;
112
111
  color: getColor('font');
113
- font-family: $family-sans-serif;
112
+ font-family: $family-primary;
114
113
  font-size: $size-3;
115
114
  font-weight: $weight-semibold;
116
115
  line-height: 1.1;
@@ -204,7 +204,7 @@
204
204
  .subtable {
205
205
  background-color: getColor('neutral-fade');
206
206
  border-radius: var(--radius);
207
- padding: $box-padding * 2;
207
+ padding: 25px;
208
208
 
209
209
  @include mobile() {
210
210
  padding: 15px;
@@ -1,16 +1,4 @@
1
- $text-levels: (
2
- ($text-16, $text-20, $text-16),
3
- ($text-14, $text-18, $text-16),
4
- ($text-12, $text-15, $text-16),
5
- ($text-10, $text-12, $text-16)
6
- );
7
- $text-levels-mobile: (
8
- ($text-16, $text-20, $text-8),
9
- ($text-14, $text-18, $text-8),
10
- ($text-12, $text-15, $text-8),
11
- ($text-10, $text-12, $text-8)
12
- );
13
-
1
+ @import "../utilities/variables/_font.scss";
14
2
 
15
3
  .text {
16
4
  @each $text-level in $text-levels {
@@ -140,7 +140,7 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
140
140
  .heading {
141
141
  font-size: $text-12;
142
142
  color: getColor('font');
143
- font-family: $family-sans-serif;
143
+ font-family: $family-primary;
144
144
  text-transform: none;
145
145
  letter-spacing: 0;
146
146
  line-height: 15px;
@@ -0,0 +1,2 @@
1
+ @import "alert";
2
+ @import "toaster";
@@ -281,7 +281,7 @@ $label-weight: $weight-bold;
281
281
  position: absolute;
282
282
  bottom: 5px;
283
283
  right: 16px;
284
- font-size: $size-xsmall;
284
+ font-size: $text-10;
285
285
  }
286
286
 
287
287
  .is-error ~ .textarea-counter {
@@ -0,0 +1,4 @@
1
+ @import "entry";
2
+ @import "form";
3
+ @import "input-gauge";
4
+ @import "input-icons";
@@ -0,0 +1,2 @@
1
+ @import "progress";
2
+ @import "progress-radial";
@@ -1,6 +1,6 @@
1
1
  @use "sass:math";
2
2
 
3
- @import "../base/color";
3
+ @import "../../base/color";
4
4
 
5
5
  $progressbar-height: 10px;
6
6
  $progressbar-small: 5px;
@@ -0,0 +1,5 @@
1
+ @charset "utf-8";
2
+ @import '../utilities/spacing';
3
+
4
+ @import 'other';
5
+ @import 'plus-symbol';
@@ -1,7 +1,3 @@
1
- .block {
2
- @include block;
3
- }
4
-
5
1
  .delete {
6
2
  @include delete;
7
3
  }
@@ -8,7 +8,7 @@
8
8
  @import "base/loading";
9
9
  @import "base/elements";
10
10
 
11
- @import "elements/all";
12
- @import "components/all";
11
+ @import "elements";
12
+ @import "components";
13
13
  @import "grid/all";
14
14
  @import "layout/all";
@@ -2,7 +2,7 @@
2
2
 
3
3
  @import "utilities/all";
4
4
  @import "base/all";
5
- @import "elements/all";
6
- @import "components/all";
5
+ @import "elements";
6
+ @import "components";
7
7
  @import "grid/all";
8
8
  @import "layout/all";
@@ -1,93 +1 @@
1
1
  @import './initial-variables';
2
-
3
- // Typography
4
- $family-primary: $family-sans-serif !default;
5
- $family-secondary: $family-serif !default;
6
- $family-code: $family-monospace !default;
7
-
8
- $size-xsmall: $text-10 !default;
9
- $size-small: $text-13 !default;
10
- $size-normal: $text-16 !default;
11
- $size-medium: $text-16 !default;
12
- $size-large: $text-24 !default;
13
-
14
-
15
- // Brand Color
16
- $colors-brand: (
17
- 'background', 'main', 'accent'
18
- );
19
-
20
- // Brand Color Functionnal
21
- $colors-brand-functionnal: (
22
- 'background', 'main', 'accent', 'info', 'success', 'error', 'warning', 'neutral'
23
- );
24
-
25
- $colors-feedback: (
26
- 'success', 'error', 'warning', 'info'
27
- );
28
-
29
- // Gestion des z-index
30
- $zindex: (
31
- subzero: -1,
32
- void: 0,
33
- tiny: 1,
34
- small: 10,
35
- medium: 100,
36
- large: 1000,
37
- dropdown: 5000,
38
- sticky: 6000,
39
- fixed: 7000,
40
- modal: 8000,
41
- popover: 9000,
42
- tooltip: 9999,
43
- );
44
-
45
- // Gestion des tailles de police
46
- $sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 $size-7 $size-8;
47
- $sizes-desktop: $size-1-desktop $size-2-desktop $size-3-desktop $size-4-desktop $size-5-desktop $size-6-desktop $size-7-desktop $size-8-desktop;
48
- $sizes-fluid: (
49
- ($size-1, $size-1-desktop),
50
- ($size-2, $size-2-desktop),
51
- ($size-3, $size-3-desktop),
52
- ($size-4, $size-4-desktop),
53
- ($size-5, $size-5-desktop),
54
- ($size-6, $size-6-desktop),
55
- ($size-7, $size-7-desktop),
56
- ($size-8, $size-8-desktop)
57
- );
58
- $sizes-desktop-interim: $size-7-desktop $size-6-desktop $size-5-desktop $size-4-desktop $size-3-desktop $size-2-desktop $size-1-desktop;
59
- $sizes-fluid-interim: (
60
- ($size-7, $size-7-desktop),
61
- ($size-6, $size-6-desktop),
62
- ($size-5, $size-5-desktop),
63
- ($size-4, $size-4-desktop),
64
- ($size-3, $size-3-desktop),
65
- ($size-2, $size-2-desktop),
66
- ($size-1, $size-1-desktop)
67
- );
68
-
69
- // Gestion des déclinaisons de tailles utilisables par les composants (préfixées par is-)
70
- $dimension-xxsmall: 'xxsmall';
71
- $dimension-xsmall: 'xsmall';
72
- $dimension-small: 'small';
73
- $dimension-medium: 'medium';
74
- $dimension-large: 'large';
75
- $dimension-xlarge: 'xlarge';
76
- $dimension-xxlarge: 'xxlarge';
77
-
78
- $dimensions-limited: $dimension-small $dimension-medium $dimension-large;
79
- $dimensions-extended: $dimension-xsmall $dimension-small $dimension-medium $dimension-large $dimension-xlarge;
80
- $dimensions-all: $dimension-xxsmall $dimension-xsmall $dimension-small $dimension-medium $dimension-large $dimension-xlarge $dimension-xxlarge;
81
-
82
- $shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
83
- $focus-shadow: 0 1px 3px 0 rgba(69, 69, 69, 0.15),
84
- 0 2px 20px -3px rgba(69, 69, 69, 0.3);
85
-
86
- $box-padding-mobile: 15px !default;
87
- $box-padding: 12.5px !default;
88
- $column-gap-mobile: 8px !default;
89
- $column-gap-tablet-desktop: 12px !default;
90
- $row-gap-mobile: 8px !default;
91
- $row-gap-tablet-desktop: 12px !default;
92
-
93
- $control-border-width: 1px !default;
@@ -1,118 +1,8 @@
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
- @import "colors";
1
+ @import './variables';
3
2
 
4
3
  $hoverSelector: "&:hover:not([disabled]):not([aria-disabled=true])";
5
4
 
6
- // Typography OS-regular
7
- $family-sans-serif: 'Poppins Read', BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif !default;
8
- $family-serif: 'Poppins Speak', 'Poppins', 'Arial Black', 'Arial Bold', serif !default;
9
- $family-monospace: monospace !default;
10
- $render-mode: optimizeLegibility !default;
11
-
12
- $font-ratio: 1 !default;
13
- $font-convert-to-px: false !default;
14
-
15
- $text-8: 8px !default;
16
- $text-9: 9px !default;
17
- $text-10: 10px !default;
18
- $text-11: 11px !default;
19
- $text-12: 12px !default;
20
- $text-13: 13px !default;
21
- $text-14: 14px !default;
22
- $text-15: 15px !default;
23
- $text-16: 16px !default;
24
- $text-17: 17px !default;
25
- $text-18: 18px !default;
26
- $text-19: 19px !default;
27
- $text-20: 20px !default;
28
- $text-22: 22px !default;
29
- $text-24: 24px !default;
30
- $text-26: 26px !default;
31
- $text-27: 27px !default;
32
- $text-28: 28px !default;
33
- $text-29: 29px !default;
34
- $text-32: 32px !default;
35
- $text-34: 34px !default;
36
- $text-35: 35px !default;
37
- $text-36: 36px !default;
38
- $text-38: 38px !default;
39
- $text-39: 39px !default;
40
- $text-40: 40px !default;
41
- $text-42: 42px !default;
42
- $text-44: 44px !default;
43
- $text-46: 46px !default;
44
- $text-48: 48px !default;
45
- $text-50: 50px !default;
46
- $text-54: 54px !default;
47
- $text-56: 56px !default;
48
- $text-58: 58px !default;
49
- $text-60: 60px !default;
50
- $text-64: 64px !default;
51
- $text-80: 80px !default;
52
-
53
-
54
- $size-1: 32px;
55
- $size-2: $text-28;
56
- $size-3: $text-24;
57
- $size-4: $text-20;
58
- $size-5: $text-18;
59
- $size-6: 14px !default;
60
- $size-7: $text-12;
61
- $size-8: $text-11;
62
-
63
- $size-1-desktop: $text-48;
64
- $size-2-desktop: $text-38;
65
- $size-3-desktop: $text-28;
66
- $size-4-desktop: $text-24;
67
- $size-5-desktop: $text-18;
68
- $size-6-desktop: 14px !default;
69
- $size-7-desktop: $text-12;
70
- $size-8-desktop: $text-11;
71
-
72
- $weight-extrathin: 400 !default;
73
- $weight-thin: 400 !default;
74
- $weight-light: 400 !default;
75
- $weight-normal: 400 !default;
76
- $weight-medium: 500 !default;
77
- $weight-semibold: 600 !default;
78
- $weight-bold: 600 !default;
79
- $weight-extrabold: 600 !default;
80
- $weight-black: 600 !default;
81
-
82
- // Responsiveness
83
- // The container horizontal gap, which acts as the offset for breakpoints
84
- $gap: 20px !default;
85
-
86
- // 960, 1152, and 1344 have been chosen because they are divisible by both 12 and 16
87
- $tablet: 768px !default;
88
-
89
- // 960px container + 3rem
90
- //$desktop: 960px + 2 * $gap !default;
91
- $desktop: 984px + 2 * $gap !default;
92
-
93
- // 1152px container + 3rem
94
- $widescreen: 1200px + 2 * $gap !default;
95
- $widescreen-enabled: true !default;
96
-
97
- // 1348px container + 3rem
98
- $fullhd: 1348px + 2 * $gap !default;
99
- $fullhd-enabled: true !default;
100
-
101
- // Miscellaneous
102
- $easing: ease-out !default;
103
- $speed: 86ms !default;
104
-
105
5
  // Radius
106
6
  $radius-small: 4px !default;
107
7
  $radius: 8px !default;
108
8
 
109
- // Flags
110
- $variable-columns: true !default;
111
-
112
- // Animations
113
- $animation-duration: 0.3s;
114
- $animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
115
-
116
- // Logo sizes
117
- $logo-width: 150px;
118
- $logo-width-desktop: 200px;
@@ -0,0 +1,2 @@
1
+ $animation-duration: 0.3s;
2
+ $animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
@@ -39,3 +39,40 @@ $fade-colors: (
39
39
  'disabled': 'disabled-fade',
40
40
  'neutral': 'neutral-fade',
41
41
  ) !default;
42
+
43
+ @function getColor( $name ) {
44
+ @return var(--color-#{nth(map-get($colors,$name),2)});
45
+ }
46
+
47
+ @function getColorValue( $name ) {
48
+ @return #{nth(map-get($colors,$name),1)}
49
+ }
50
+
51
+ @function getColorBrandName( $name ) {
52
+ @return #{nth(map-get($colors,$name),2)}
53
+ }
54
+
55
+
56
+
57
+ @function invertColor ($colorName) {
58
+ @return var(--color-#{nth(map-get($colors,$colorName),3)})
59
+ }
60
+
61
+ @function fadeColor ($colorName) {
62
+ $name: map-get($fade-colors,$colorName);
63
+ @return getColor($name);
64
+ }
65
+
66
+ // Brand Color
67
+ $colors-brand: (
68
+ 'background', 'main', 'accent'
69
+ );
70
+
71
+ // Brand Color Functionnal
72
+ $colors-brand-functionnal: (
73
+ 'background', 'main', 'accent', 'info', 'success', 'error', 'warning', 'neutral'
74
+ );
75
+
76
+ $colors-feedback: (
77
+ 'success', 'error', 'warning', 'info'
78
+ );
@@ -0,0 +1,97 @@
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
+ // Typography OS-regular
4
+ $family-primary: 'Poppins Read', BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif !default;
5
+ $family-secondary: 'Poppins Speak', 'Poppins', 'Arial Black', 'Arial Bold', serif !default;
6
+ $family-code: monospace !default;
7
+ $render-mode: optimizeLegibility !default;
8
+
9
+ $font-ratio: 1 !default;
10
+ $font-convert-to-px: false !default;
11
+
12
+ $weight-extrathin: 400 !default;
13
+ $weight-thin: 400 !default;
14
+ $weight-light: 400 !default;
15
+ $weight-normal: 400 !default;
16
+ $weight-medium: 500 !default;
17
+ $weight-semibold: 600 !default;
18
+ $weight-bold: 600 !default;
19
+ $weight-extrabold: 600 !default;
20
+ $weight-black: 600 !default;
21
+
22
+ $text-8: 8px !default;
23
+ $text-9: 9px !default;
24
+ $text-10: 10px !default;
25
+ $text-11: 11px !default;
26
+ $text-12: 12px !default;
27
+ $text-13: 13px !default;
28
+ $text-14: 14px !default;
29
+ $text-15: 15px !default;
30
+ $text-16: 16px !default;
31
+ $text-17: 17px !default;
32
+ $text-18: 18px !default;
33
+ $text-19: 19px !default;
34
+ $text-20: 20px !default;
35
+ $text-22: 22px !default;
36
+ $text-24: 24px !default;
37
+ $text-26: 26px !default;
38
+ $text-27: 27px !default;
39
+ $text-28: 28px !default;
40
+ $text-29: 29px !default;
41
+ $text-32: 32px !default;
42
+ $text-34: 34px !default;
43
+ $text-35: 35px !default;
44
+ $text-36: 36px !default;
45
+ $text-38: 38px !default;
46
+ $text-39: 39px !default;
47
+ $text-40: 40px !default;
48
+ $text-42: 42px !default;
49
+ $text-44: 44px !default;
50
+ $text-46: 46px !default;
51
+ $text-48: 48px !default;
52
+ $text-50: 50px !default;
53
+ $text-54: 54px !default;
54
+ $text-56: 56px !default;
55
+ $text-58: 58px !default;
56
+ $text-60: 60px !default;
57
+ $text-64: 64px !default;
58
+ $text-80: 80px !default;
59
+
60
+ $size-1: $text-32;
61
+ $size-2: $text-28;
62
+ $size-3: $text-24;
63
+ $size-4: $text-20;
64
+ $size-5: $text-18;
65
+ $size-6: $text-14;
66
+ $size-7: $text-12;
67
+ $size-8: $text-11;
68
+ $size-1-desktop: $text-48;
69
+ $size-2-desktop: $text-38;
70
+ $size-3-desktop: $text-28;
71
+ $size-4-desktop: $text-24;
72
+ $size-5-desktop: $text-18;
73
+ $size-6-desktop: $text-14;
74
+ $size-7-desktop: $text-12;
75
+ $size-8-desktop: $text-11;
76
+
77
+
78
+ $sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 $size-7 $size-8;
79
+
80
+ $size-small: $text-13 !default;
81
+ $size-normal: $text-16 !default;
82
+ $size-medium: $text-16 !default;
83
+ $size-large: $text-24 !default;
84
+
85
+ /* Real Text level ! */
86
+ $text-levels: (
87
+ ($text-16, $text-20, $text-16),
88
+ ($text-14, $text-18, $text-16),
89
+ ($text-12, $text-15, $text-16),
90
+ ($text-10, $text-12, $text-16)
91
+ );
92
+ $text-levels-mobile: (
93
+ ($text-16, $text-20, $text-8),
94
+ ($text-14, $text-18, $text-8),
95
+ ($text-12, $text-15, $text-8),
96
+ ($text-10, $text-12, $text-8)
97
+ );
@@ -0,0 +1,6 @@
1
+ @import "animation";
2
+ @import "color";
3
+ @import "font";
4
+ @import "responsiveness";
5
+ @import "shadow";
6
+ @import "zindex";
@@ -0,0 +1,7 @@
1
+ // The container horizontal gap, which acts as the offset for breakpoints
2
+ $gap: 20px !default;
3
+
4
+ $tablet: 768px !default;
5
+ $desktop: 984px + 2 * $gap !default;
6
+ $widescreen: 1200px + 2 * $gap !default;
7
+ $fullhd: 1348px + 2 * $gap !default;
@@ -0,0 +1,3 @@
1
+ $shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
2
+ $focus-shadow: 0 1px 3px 0 rgba(69, 69, 69, 0.15),
3
+ 0 2px 20px -3px rgba(69, 69, 69, 0.3);
@@ -0,0 +1,14 @@
1
+ $zindex: (
2
+ subzero: -1,
3
+ void: 0,
4
+ tiny: 1,
5
+ small: 10,
6
+ medium: 100,
7
+ large: 1000,
8
+ dropdown: 5000,
9
+ sticky: 6000,
10
+ fixed: 7000,
11
+ modal: 8000,
12
+ popover: 9000,
13
+ tooltip: 9999,
14
+ );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trilogy-ds/styles",
3
- "version": "4.2.2-beta-3",
3
+ "version": "4.2.2-beta-4",
4
4
  "author": "Bouygues Telecom",
5
5
  "license": "UNLICENSED",
6
6
  "files": [