@inchurch/matcha-theme 21.3.3 → 22.0.0

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 (93) hide show
  1. package/abstracts/_colors.scss +236 -229
  2. package/abstracts/_elevation.scss +108 -108
  3. package/abstracts/_functions.scss +321 -321
  4. package/abstracts/_media-breakpoint.scss +26 -26
  5. package/abstracts/_theme-api.scss +219 -219
  6. package/abstracts/_typography.scss +128 -128
  7. package/base/_reset.scss +445 -432
  8. package/components/app-page-header.scss +260 -260
  9. package/components/matcha-accordion.scss +293 -293
  10. package/components/matcha-audio-player.scss +31 -31
  11. package/components/matcha-autocomplete.scss +145 -145
  12. package/components/matcha-avatar.scss +440 -301
  13. package/components/matcha-badge.scss +120 -120
  14. package/components/matcha-breadcrumb.scss +231 -231
  15. package/components/matcha-button-toggle.scss +384 -384
  16. package/components/matcha-buttons.scss +913 -913
  17. package/components/matcha-calendar.scss +218 -218
  18. package/components/matcha-cards.scss +230 -230
  19. package/components/matcha-chart-card.scss +53 -53
  20. package/components/matcha-checkbox.scss +255 -255
  21. package/components/matcha-chip.scss +292 -292
  22. package/components/matcha-color-pick.scss +34 -34
  23. package/components/matcha-command-palette.scss +316 -316
  24. package/components/matcha-crop.scss +406 -406
  25. package/components/matcha-date.scss +81 -81
  26. package/components/matcha-divider.scss +100 -100
  27. package/components/matcha-draggable.scss +23 -23
  28. package/components/matcha-drawer.scss +376 -376
  29. package/components/matcha-drop-image.scss +14 -14
  30. package/components/matcha-drop-list.scss +430 -430
  31. package/components/matcha-emoji.scss +69 -69
  32. package/components/matcha-empty-state.scss +230 -230
  33. package/components/matcha-file-uploader.scss +471 -471
  34. package/components/matcha-flag.scss +103 -103
  35. package/components/matcha-footer.scss +91 -91
  36. package/components/matcha-form-field.scss +606 -606
  37. package/components/matcha-form-section.scss +100 -100
  38. package/components/matcha-header.scss +135 -135
  39. package/components/matcha-highlight.scss +164 -164
  40. package/components/matcha-hint-text.scss +90 -90
  41. package/components/matcha-horizontal-tree.scss +316 -316
  42. package/components/matcha-icon.scss +98 -98
  43. package/components/matcha-image.scss +61 -61
  44. package/components/matcha-list.scss +211 -211
  45. package/components/matcha-menu.scss +99 -99
  46. package/components/matcha-modal.scss +210 -210
  47. package/components/matcha-nav.scss +581 -581
  48. package/components/matcha-notification.scss +413 -413
  49. package/components/matcha-option.scss +170 -170
  50. package/components/matcha-page-builder.scss +4196 -4196
  51. package/components/matcha-paginator.scss +689 -689
  52. package/components/matcha-panel.scss +194 -194
  53. package/components/matcha-profile-card.scss +50 -50
  54. package/components/matcha-progress-bar.scss +313 -313
  55. package/components/matcha-radio.scss +320 -320
  56. package/components/matcha-ripple.scss +7 -7
  57. package/components/matcha-scrollbar.scss +33 -33
  58. package/components/matcha-scrollbox-shadow.scss +120 -120
  59. package/components/matcha-section.scss +102 -102
  60. package/components/matcha-select-multiple.scss +56 -56
  61. package/components/matcha-select.scss +667 -667
  62. package/components/matcha-skeleton.scss +155 -155
  63. package/components/matcha-slide-toggle.scss +369 -369
  64. package/components/matcha-slider.scss +285 -285
  65. package/components/matcha-snack-bar.scss +259 -259
  66. package/components/matcha-spin.scss +164 -164
  67. package/components/matcha-spinner.scss +97 -97
  68. package/components/matcha-status-pill.scss +38 -18
  69. package/components/matcha-stepper.scss +376 -376
  70. package/components/matcha-table-cell.scss +74 -41
  71. package/components/matcha-table.scss +579 -578
  72. package/components/matcha-tabs.scss +600 -600
  73. package/components/matcha-text-editor.scss +105 -105
  74. package/components/matcha-time.scss +33 -33
  75. package/components/matcha-timepicker.scss +13 -13
  76. package/components/matcha-toolbar.scss +359 -359
  77. package/components/matcha-tooltip.scss +224 -224
  78. package/components/matcha-tree-view.scss +257 -212
  79. package/layout/matcha-page-layout.scss +778 -778
  80. package/main.scss +329 -329
  81. package/package.json +1 -1
  82. package/tokens/_animations-tokens.scss +37 -37
  83. package/tokens/_breakpoints-tokens.scss +35 -35
  84. package/tokens/_color-tokens.scss +274 -261
  85. package/tokens/_elevation-tokens.scss +33 -33
  86. package/tokens/_emit-tokens.scss +324 -324
  87. package/tokens/_material-palette.scss +1149 -1149
  88. package/tokens/_primitives.scss +98 -98
  89. package/tokens/_semantic-aliases.scss +120 -120
  90. package/tokens/_spacing-tokens.scss +94 -94
  91. package/tokens/_static-tokens.scss +137 -137
  92. package/tokens/_typography-tokens.scss +65 -65
  93. package/vendors/charts.scss +90 -90
@@ -1,137 +1,137 @@
1
- // =============================================================================
2
- // DOCUMENTO GERADO AUTOMATICAMENTE — NÃO EDITE À MÃO.
3
- // Fonte: tokens/matcha/primitives/global.json (Figma · Tokens Studio)
4
- // Gerador: scripts/matcha-tokens/gen-static.js (gate: gen-static.js --check)
5
- // Para mudar um valor: edite a fonte e rode o gerador (não edite este arquivo).
6
- // =============================================================================
7
- // Tokens NÃO-cor (mode-agnostic). matcha-static-tokens() emite declarações CRUAS
8
- // (sem seletor): o caller define o escopo (hoje dentro do tema via _emit-tokens.scss;
9
- // :root mode-agnostic no Track B). Curados sem fonte Figma (avatar, scrim, matcha/text/*
10
- // compostos, leading/tracking, aliases) ficam no _emit-tokens.scss — backlog matcha-theme-008.
11
-
12
- @mixin matcha-static-tokens() {
13
- --matcha-font-family: Manrope, sans-serif;
14
- --matcha-font-size-2xs: 10px;
15
- --matcha-font-size-xs: 12px;
16
- --matcha-font-size-sm: 14px;
17
- --matcha-font-size-md: 16px;
18
- --matcha-font-size-lg: 18px;
19
- --matcha-font-size-xl: 20px;
20
- --matcha-font-size-2xl: 24px;
21
- --matcha-font-size-3xl: 32px;
22
- --matcha-font-size-3xs: 8px;
23
- --matcha-font-size-4xl: 36px;
24
- --matcha-font-size-5xl: 48px;
25
- --matcha-font-size-6xl: 60px;
26
- --matcha-font-size-7xl: 72px;
27
- --matcha-weight-normal: 400;
28
- --matcha-weight-medium: 500;
29
- --matcha-weight-semi-bold: 600;
30
- --matcha-weight-bold: 700;
31
- --matcha-weight-black: 900;
32
- --matcha-weight-extrabold: 800;
33
- --matcha-weight-extralight: 200;
34
- --matcha-weight-light: 300;
35
- --matcha-easing-standard: cubic-bezier(0.4, 0.0, 0.2, 1);
36
- --matcha-easing-emphasized: cubic-bezier(0.2, 0.0, 0, 1.0);
37
- --matcha-easing-decelerated: cubic-bezier(0.0, 0.0, 0.2, 1);
38
- --matcha-easing-accelerated: cubic-bezier(0.4, 0.0, 1, 1);
39
- --matcha-space-100: 8px;
40
- --matcha-space-150: 12px;
41
- --matcha-space-200: 16px;
42
- --matcha-space-250: 20px;
43
- --matcha-space-300: 24px;
44
- --matcha-space-400: 32px;
45
- --matcha-space-500: 40px;
46
- --matcha-space-600: 48px;
47
- --matcha-space-800: 64px;
48
- --matcha-space-1000: 80px;
49
- --matcha-space-1200: 96px;
50
- --matcha-space-050: 4px;
51
- --matcha-space-075: 6px;
52
- --matcha-space-025: 2px;
53
- --matcha-radius-none: 0;
54
- --matcha-radius-sm: 2px;
55
- --matcha-radius-md: 4px;
56
- --matcha-radius-lg: 8px;
57
- --matcha-radius-xl: 16px;
58
- --matcha-radius-pill: 9999px;
59
- --matcha-radius-2xl: 12px;
60
- --matcha-radius-3xs: 6px;
61
- --matcha-radius-3xl: 24px;
62
- --matcha-border-hairline: 1px;
63
- --matcha-border-thin: 2px;
64
- --matcha-border-medium: 4px;
65
- --matcha-border-thick: 8px;
66
- --matcha-opacity-hover: 0.04;
67
- --matcha-opacity-subtle: 0.1;
68
- --matcha-opacity-medium: 0.2;
69
- --matcha-opacity-strong: 0.3;
70
- --matcha-opacity-disabled: 0.38;
71
- --matcha-opacity-secondary: 0.54;
72
- --matcha-opacity-high: 0.87;
73
- --matcha-duration-instant: 80ms;
74
- --matcha-duration-fast: 200ms;
75
- --matcha-duration-normal: 400ms;
76
- --matcha-duration-slow: 600ms;
77
- --matcha-line-height-none: 1;
78
- --matcha-line-height-tight: 1.2;
79
- --matcha-line-height-normal: 1.5;
80
- --matcha-line-height-relaxed: 1.75;
81
- --matcha-letter-spacing-tight: -0.5px;
82
- --matcha-letter-spacing-normal: 0px;
83
- --matcha-letter-spacing-wide: 0.5px;
84
- --matcha-letter-spacing-wider: 1px;
85
- --matcha-z-base: 1;
86
- --matcha-z-dropdown: 100;
87
- --matcha-z-sticky: 200;
88
- --matcha-z-popover: 300;
89
- --matcha-z-tooltip: 400;
90
- --matcha-z-modal-bg: 998;
91
- --matcha-z-modal: 999;
92
- --matcha-z-overlay: 1000;
93
- --matcha-grid-frame-notebook: 1360px;
94
- --matcha-grid-frame-wide: 1920px;
95
- --matcha-grid-frame-mobile: 375px;
96
- --matcha-grid-frame-tablet: 768px;
97
- --matcha-grid-sidebar-rail: 72px;
98
- --matcha-grid-sidebar-submenu: 216px;
99
- --matcha-grid-sidebar-gap: 16px;
100
- --matcha-grid-sidebar-total: 304px;
101
- --matcha-grid-col-painel-full: 72px;
102
- --matcha-grid-col-painel-rail: 88px;
103
- --matcha-grid-col-painel-compact: 96px;
104
- --matcha-grid-col-wide-full: 120px;
105
- --matcha-grid-col-wide-rail: 112px;
106
- --matcha-grid-col-public-mobile: 80px;
107
- --matcha-grid-col-public-tablet: 64px;
108
- --matcha-grid-col-public-desktop: 80px;
109
- --matcha-grid-gutter-compact: 8px;
110
- --matcha-grid-gutter-default: 16px;
111
- --matcha-grid-gutter-wide: 16px;
112
- --matcha-grid-content-painel-full: 1040px;
113
- --matcha-grid-content-painel-rail: 1232px;
114
- --matcha-grid-header-height: 56px;
115
- --matcha-grid-offset-wide-full: 304px;
116
- --matcha-grid-offset-wide-rail: 248px;
117
- --matcha-grid-offset-painel-full: 304px;
118
- --matcha-grid-offset-painel-rail: 96px;
119
- --matcha-grid-offset-painel-compact: 24px;
120
- --matcha-grid-max-content-width: 1600px;
121
- --matcha-grid-content-wide-full: 1616px;
122
- --matcha-grid-content-wide-rail: 1520px;
123
- --matcha-icon-size-sm: 16px;
124
- --matcha-icon-size-md: 24px;
125
- --matcha-icon-size-lg: 32px;
126
- --matcha-icon-size-xl: 48px;
127
- --matcha-state-layer-hover: 0.08;
128
- --matcha-state-layer-active: 0.16;
129
- --matcha-state-layer-pressed: 0.12;
130
- --matcha-state-layer-subtle: 0.04;
131
- --matcha-bp-xs: 480px;
132
- --matcha-bp-sm: 640px;
133
- --matcha-bp-md: 768px;
134
- --matcha-bp-lg: 1024px;
135
- --matcha-bp-xl: 1280px;
136
- --matcha-bp-2xl: 1536px;
137
- }
1
+ // =============================================================================
2
+ // DOCUMENTO GERADO AUTOMATICAMENTE — NÃO EDITE À MÃO.
3
+ // Fonte: tokens/matcha/primitives/global.json (Figma · Tokens Studio)
4
+ // Gerador: scripts/matcha-tokens/gen-static.js (gate: gen-static.js --check)
5
+ // Para mudar um valor: edite a fonte e rode o gerador (não edite este arquivo).
6
+ // =============================================================================
7
+ // Tokens NÃO-cor (mode-agnostic). matcha-static-tokens() emite declarações CRUAS
8
+ // (sem seletor): o caller define o escopo (hoje dentro do tema via _emit-tokens.scss;
9
+ // :root mode-agnostic no Track B). Curados sem fonte Figma (avatar, scrim, matcha/text/*
10
+ // compostos, leading/tracking, aliases) ficam no _emit-tokens.scss — backlog matcha-theme-008.
11
+
12
+ @mixin matcha-static-tokens() {
13
+ --matcha-font-family: Manrope, sans-serif;
14
+ --matcha-font-size-2xs: 10px;
15
+ --matcha-font-size-xs: 12px;
16
+ --matcha-font-size-sm: 14px;
17
+ --matcha-font-size-md: 16px;
18
+ --matcha-font-size-lg: 18px;
19
+ --matcha-font-size-xl: 20px;
20
+ --matcha-font-size-2xl: 24px;
21
+ --matcha-font-size-3xl: 32px;
22
+ --matcha-font-size-3xs: 8px;
23
+ --matcha-font-size-4xl: 36px;
24
+ --matcha-font-size-5xl: 48px;
25
+ --matcha-font-size-6xl: 60px;
26
+ --matcha-font-size-7xl: 72px;
27
+ --matcha-weight-normal: 400;
28
+ --matcha-weight-medium: 500;
29
+ --matcha-weight-semi-bold: 600;
30
+ --matcha-weight-bold: 700;
31
+ --matcha-weight-black: 900;
32
+ --matcha-weight-extrabold: 800;
33
+ --matcha-weight-extralight: 200;
34
+ --matcha-weight-light: 300;
35
+ --matcha-easing-standard: cubic-bezier(0.4, 0.0, 0.2, 1);
36
+ --matcha-easing-emphasized: cubic-bezier(0.2, 0.0, 0, 1.0);
37
+ --matcha-easing-decelerated: cubic-bezier(0.0, 0.0, 0.2, 1);
38
+ --matcha-easing-accelerated: cubic-bezier(0.4, 0.0, 1, 1);
39
+ --matcha-space-100: 8px;
40
+ --matcha-space-150: 12px;
41
+ --matcha-space-200: 16px;
42
+ --matcha-space-250: 20px;
43
+ --matcha-space-300: 24px;
44
+ --matcha-space-400: 32px;
45
+ --matcha-space-500: 40px;
46
+ --matcha-space-600: 48px;
47
+ --matcha-space-800: 64px;
48
+ --matcha-space-1000: 80px;
49
+ --matcha-space-1200: 96px;
50
+ --matcha-space-050: 4px;
51
+ --matcha-space-075: 6px;
52
+ --matcha-space-025: 2px;
53
+ --matcha-radius-none: 0;
54
+ --matcha-radius-sm: 2px;
55
+ --matcha-radius-md: 4px;
56
+ --matcha-radius-lg: 8px;
57
+ --matcha-radius-xl: 16px;
58
+ --matcha-radius-pill: 9999px;
59
+ --matcha-radius-2xl: 12px;
60
+ --matcha-radius-3xs: 6px;
61
+ --matcha-radius-3xl: 24px;
62
+ --matcha-border-hairline: 1px;
63
+ --matcha-border-thin: 2px;
64
+ --matcha-border-medium: 4px;
65
+ --matcha-border-thick: 8px;
66
+ --matcha-opacity-hover: 0.04;
67
+ --matcha-opacity-subtle: 0.1;
68
+ --matcha-opacity-medium: 0.2;
69
+ --matcha-opacity-strong: 0.3;
70
+ --matcha-opacity-disabled: 0.38;
71
+ --matcha-opacity-secondary: 0.54;
72
+ --matcha-opacity-high: 0.87;
73
+ --matcha-duration-instant: 80ms;
74
+ --matcha-duration-fast: 200ms;
75
+ --matcha-duration-normal: 400ms;
76
+ --matcha-duration-slow: 600ms;
77
+ --matcha-line-height-none: 1;
78
+ --matcha-line-height-tight: 1.2;
79
+ --matcha-line-height-normal: 1.5;
80
+ --matcha-line-height-relaxed: 1.75;
81
+ --matcha-letter-spacing-tight: -0.5px;
82
+ --matcha-letter-spacing-normal: 0px;
83
+ --matcha-letter-spacing-wide: 0.5px;
84
+ --matcha-letter-spacing-wider: 1px;
85
+ --matcha-z-base: 1;
86
+ --matcha-z-dropdown: 100;
87
+ --matcha-z-sticky: 200;
88
+ --matcha-z-popover: 300;
89
+ --matcha-z-tooltip: 400;
90
+ --matcha-z-modal-bg: 998;
91
+ --matcha-z-modal: 999;
92
+ --matcha-z-overlay: 1000;
93
+ --matcha-grid-frame-notebook: 1360px;
94
+ --matcha-grid-frame-wide: 1920px;
95
+ --matcha-grid-frame-mobile: 375px;
96
+ --matcha-grid-frame-tablet: 768px;
97
+ --matcha-grid-sidebar-rail: 72px;
98
+ --matcha-grid-sidebar-submenu: 216px;
99
+ --matcha-grid-sidebar-gap: 16px;
100
+ --matcha-grid-sidebar-total: 304px;
101
+ --matcha-grid-col-painel-full: 72px;
102
+ --matcha-grid-col-painel-rail: 88px;
103
+ --matcha-grid-col-painel-compact: 96px;
104
+ --matcha-grid-col-wide-full: 120px;
105
+ --matcha-grid-col-wide-rail: 112px;
106
+ --matcha-grid-col-public-mobile: 80px;
107
+ --matcha-grid-col-public-tablet: 64px;
108
+ --matcha-grid-col-public-desktop: 80px;
109
+ --matcha-grid-gutter-compact: 8px;
110
+ --matcha-grid-gutter-default: 16px;
111
+ --matcha-grid-gutter-wide: 16px;
112
+ --matcha-grid-content-painel-full: 1040px;
113
+ --matcha-grid-content-painel-rail: 1232px;
114
+ --matcha-grid-header-height: 56px;
115
+ --matcha-grid-offset-wide-full: 304px;
116
+ --matcha-grid-offset-wide-rail: 248px;
117
+ --matcha-grid-offset-painel-full: 304px;
118
+ --matcha-grid-offset-painel-rail: 96px;
119
+ --matcha-grid-offset-painel-compact: 24px;
120
+ --matcha-grid-max-content-width: 1600px;
121
+ --matcha-grid-content-wide-full: 1616px;
122
+ --matcha-grid-content-wide-rail: 1520px;
123
+ --matcha-icon-size-sm: 16px;
124
+ --matcha-icon-size-md: 24px;
125
+ --matcha-icon-size-lg: 32px;
126
+ --matcha-icon-size-xl: 48px;
127
+ --matcha-state-layer-hover: 0.08;
128
+ --matcha-state-layer-active: 0.16;
129
+ --matcha-state-layer-pressed: 0.12;
130
+ --matcha-state-layer-subtle: 0.04;
131
+ --matcha-bp-xs: 480px;
132
+ --matcha-bp-sm: 640px;
133
+ --matcha-bp-md: 768px;
134
+ --matcha-bp-lg: 1024px;
135
+ --matcha-bp-xl: 1280px;
136
+ --matcha-bp-2xl: 1536px;
137
+ }
@@ -1,65 +1,65 @@
1
- // =============================================================================
2
- // Typography Tokens — Aligned with Figma matcha/text/* (Manrope)
3
- // =============================================================================
4
-
5
- // ── Font Family ──
6
- $font-family-base: 'Manrope, "Helvetica Neue", Arial, sans-serif';
7
- $font-family-mono: '"JetBrains Mono", "Fira Code", "Consolas", monospace';
8
-
9
- // ── Font Sizes (matches Figma scale) ──
10
- $font-size-2xs: 10px;
11
- $font-size-xs: 11px;
12
- $font-size-sm: 12px;
13
- $font-size-md: 14px;
14
- $font-size-lg: 16px;
15
- $font-size-xl: 18px;
16
- $font-size-2xl: 20px;
17
- $font-size-3xl: 24px;
18
- $font-size-4xl: 32px;
19
- $font-size-5xl: 40px;
20
- $font-size-base: 16px;
21
-
22
- // ── Font Weights (Manrope supports 200-800) ──
23
- $font-weight-regular: 400;
24
- $font-weight-medium: 500;
25
- $font-weight-semibold: 600;
26
- $font-weight-bold: 700;
27
- $font-weight-extrabold: 800;
28
-
29
- // ── Line Heights (matches Figma styles) ──
30
- $line-height-xs: 14px;
31
- $line-height-sm: 16px;
32
- $line-height-md: 20px;
33
- $line-height-lg: 22px;
34
- $line-height-xl: 24px;
35
- $line-height-2xl: 28px;
36
- $line-height-3xl: 32px;
37
- $line-height-4xl: 40px;
38
- $line-height-5xl: 48px;
39
-
40
- // ── Legacy aliases (retrocompatibility) ──
41
- $size-font-xxsmall: $font-size-2xs;
42
- $size-font-xsmall: $font-size-sm;
43
- $size-font-small: $font-size-md;
44
- $size-font-medium: $font-size-lg;
45
- $size-font-big: $font-size-xl;
46
- $size-font-large: $font-size-2xl;
47
- $size-font-xlarge: $font-size-3xl;
48
- $size-font-xxlarge: $font-size-4xl;
49
- $size-font-2-xxlarge: $font-size-5xl;
50
- $size-font-base: $font-size-base;
51
- $size-font-weight-thin: 100;
52
- $size-font-weight-extra-light: 200;
53
- $size-font-weight-light: 300;
54
- $size-font-weight-normal: $font-weight-regular;
55
- $size-font-weight-medium: $font-weight-medium;
56
- $size-font-weight-semi-bold: $font-weight-semibold;
57
- $size-font-weight-bold: $font-weight-bold;
58
- $size-font-weight-extra-bold: $font-weight-extrabold;
59
- $size-font-weight-black: 900;
60
- $size-line-height-minimum: 32px;
61
- $size-line-height-small: 40px;
62
- $size-line-height-medium: 48px;
63
- $size-line-height-large: 56px;
64
- $size-line-height-xlarge: 64px;
65
- $size-line-height-xxlarge: 72px;
1
+ // =============================================================================
2
+ // Typography Tokens — Aligned with Figma matcha/text/* (Manrope)
3
+ // =============================================================================
4
+
5
+ // ── Font Family ──
6
+ $font-family-base: 'Manrope, "Helvetica Neue", Arial, sans-serif';
7
+ $font-family-mono: '"JetBrains Mono", "Fira Code", "Consolas", monospace';
8
+
9
+ // ── Font Sizes (matches Figma scale) ──
10
+ $font-size-2xs: 10px;
11
+ $font-size-xs: 11px;
12
+ $font-size-sm: 12px;
13
+ $font-size-md: 14px;
14
+ $font-size-lg: 16px;
15
+ $font-size-xl: 18px;
16
+ $font-size-2xl: 20px;
17
+ $font-size-3xl: 24px;
18
+ $font-size-4xl: 32px;
19
+ $font-size-5xl: 40px;
20
+ $font-size-base: 16px;
21
+
22
+ // ── Font Weights (Manrope supports 200-800) ──
23
+ $font-weight-regular: 400;
24
+ $font-weight-medium: 500;
25
+ $font-weight-semibold: 600;
26
+ $font-weight-bold: 700;
27
+ $font-weight-extrabold: 800;
28
+
29
+ // ── Line Heights (matches Figma styles) ──
30
+ $line-height-xs: 14px;
31
+ $line-height-sm: 16px;
32
+ $line-height-md: 20px;
33
+ $line-height-lg: 22px;
34
+ $line-height-xl: 24px;
35
+ $line-height-2xl: 28px;
36
+ $line-height-3xl: 32px;
37
+ $line-height-4xl: 40px;
38
+ $line-height-5xl: 48px;
39
+
40
+ // ── Legacy aliases (retrocompatibility) ──
41
+ $size-font-xxsmall: $font-size-2xs;
42
+ $size-font-xsmall: $font-size-sm;
43
+ $size-font-small: $font-size-md;
44
+ $size-font-medium: $font-size-lg;
45
+ $size-font-big: $font-size-xl;
46
+ $size-font-large: $font-size-2xl;
47
+ $size-font-xlarge: $font-size-3xl;
48
+ $size-font-xxlarge: $font-size-4xl;
49
+ $size-font-2-xxlarge: $font-size-5xl;
50
+ $size-font-base: $font-size-base;
51
+ $size-font-weight-thin: 100;
52
+ $size-font-weight-extra-light: 200;
53
+ $size-font-weight-light: 300;
54
+ $size-font-weight-normal: $font-weight-regular;
55
+ $size-font-weight-medium: $font-weight-medium;
56
+ $size-font-weight-semi-bold: $font-weight-semibold;
57
+ $size-font-weight-bold: $font-weight-bold;
58
+ $size-font-weight-extra-bold: $font-weight-extrabold;
59
+ $size-font-weight-black: 900;
60
+ $size-line-height-minimum: 32px;
61
+ $size-line-height-small: 40px;
62
+ $size-line-height-medium: 48px;
63
+ $size-line-height-large: 56px;
64
+ $size-line-height-xlarge: 64px;
65
+ $size-line-height-xxlarge: 72px;
@@ -1,90 +1,90 @@
1
- @use "../abstracts/elevation" as *;
2
- @mixin vendor-chart($theme) {
3
- // theme-agnóstico: cores via var(--matcha-color-*) (runtime). $theme mantido só
4
- // na assinatura por retrocompat dos call sites (removido na limpeza de params).
5
-
6
- // Fixer wrappers
7
- .matcha-card,
8
- .matcha-card-flat,
9
- .matcha-section {
10
-
11
- //Google Chart
12
- google-chart {
13
- width: 100% !important;
14
- max-width: 100% !important;
15
- min-width: 100% !important;
16
- height: 100%;
17
- }
18
-
19
- google-chart * {
20
- max-width: 100% !important;
21
- }
22
- }
23
-
24
- #ngxcharts {
25
- ngx-charts-chart {
26
- svg {
27
- height: 400px;
28
- width: 400px;
29
-
30
- g {}
31
- }
32
- }
33
- }
34
-
35
- .chart-legend {
36
- background-color: transparent;
37
- padding: 0;
38
- width: 200px !important;
39
- min-width: 200px;
40
- max-width: 300px;
41
- display: -webkit-box;
42
- display: flex;
43
- right: 0;
44
-
45
- div {
46
- width: 100% !important;
47
- }
48
-
49
- .legend-labels {
50
- background: transparent !important;
51
-
52
- .active {
53
- .legend-label-text {
54
- color: var(--matcha-color-text-label);
55
- }
56
- }
57
- }
58
-
59
- .legend-label-color {
60
- border-radius: 12px !important;
61
- }
62
-
63
- .legend-label-text {
64
- font-weight: normal;
65
- font-size: 16px !important;
66
- line-height: 20px;
67
- color: var(--matcha-color-fg);
68
- }
69
- }
70
-
71
- // Large devices (tablets and small monitors, 1024px and up < 1440px)
72
- @media (min-width: 1024px) {
73
- .chart-legend {
74
- margin: 0 24px 0 0;
75
- border-radius: 8px;
76
- position: absolute;
77
- background-color: var(--matcha-color-surface-bg-alpha);
78
- @include elevation(1);
79
- }
80
- }
81
-
82
- .pie-chart {
83
- .pie-label {
84
- fill: var(--matcha-color-text-label);
85
- font-size: 16px !important;
86
- line-height: 20px;
87
- padding: 8px;
88
- }
89
- }
90
- }
1
+ @use "../abstracts/elevation" as *;
2
+ @mixin vendor-chart($theme) {
3
+ // theme-agnóstico: cores via var(--matcha-color-*) (runtime). $theme mantido só
4
+ // na assinatura por retrocompat dos call sites (removido na limpeza de params).
5
+
6
+ // Fixer wrappers
7
+ .matcha-card,
8
+ .matcha-card-flat,
9
+ .matcha-section {
10
+
11
+ //Google Chart
12
+ google-chart {
13
+ width: 100% !important;
14
+ max-width: 100% !important;
15
+ min-width: 100% !important;
16
+ height: 100%;
17
+ }
18
+
19
+ google-chart * {
20
+ max-width: 100% !important;
21
+ }
22
+ }
23
+
24
+ #ngxcharts {
25
+ ngx-charts-chart {
26
+ svg {
27
+ height: 400px;
28
+ width: 400px;
29
+
30
+ g {}
31
+ }
32
+ }
33
+ }
34
+
35
+ .chart-legend {
36
+ background-color: transparent;
37
+ padding: 0;
38
+ width: 200px !important;
39
+ min-width: 200px;
40
+ max-width: 300px;
41
+ display: -webkit-box;
42
+ display: flex;
43
+ right: 0;
44
+
45
+ div {
46
+ width: 100% !important;
47
+ }
48
+
49
+ .legend-labels {
50
+ background: transparent !important;
51
+
52
+ .active {
53
+ .legend-label-text {
54
+ color: var(--matcha-color-text-label);
55
+ }
56
+ }
57
+ }
58
+
59
+ .legend-label-color {
60
+ border-radius: 12px !important;
61
+ }
62
+
63
+ .legend-label-text {
64
+ font-weight: normal;
65
+ font-size: 16px !important;
66
+ line-height: 20px;
67
+ color: var(--matcha-color-fg);
68
+ }
69
+ }
70
+
71
+ // Large devices (tablets and small monitors, 1024px and up < 1440px)
72
+ @media (min-width: 1024px) {
73
+ .chart-legend {
74
+ margin: 0 24px 0 0;
75
+ border-radius: 8px;
76
+ position: absolute;
77
+ background-color: var(--matcha-color-surface-bg-alpha);
78
+ @include elevation(1);
79
+ }
80
+ }
81
+
82
+ .pie-chart {
83
+ .pie-label {
84
+ fill: var(--matcha-color-text-label);
85
+ font-size: 16px !important;
86
+ line-height: 20px;
87
+ padding: 8px;
88
+ }
89
+ }
90
+ }