ads-nuxt 0.4.1 → 0.4.2

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 (76) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +574 -574
  3. package/app/app.config.ts +25 -25
  4. package/app/assets/ads/checkbox-check.svg +5 -5
  5. package/app/assets/ads/checkbox-minus.svg +5 -5
  6. package/app/assets/brand/farmarcas.svg +6 -6
  7. package/app/assets/brand/radar-symbol.svg +9 -9
  8. package/app/assets/brand/radar.svg +9 -9
  9. package/app/assets/css/ads-colors.css +257 -257
  10. package/app/assets/css/main.css +585 -585
  11. package/app/components/AdsBadge.vue +47 -47
  12. package/app/components/AdsBroadcast.vue +24 -24
  13. package/app/components/AdsButton.vue +547 -547
  14. package/app/components/AdsButtonGroup.vue +39 -39
  15. package/app/components/AdsButtonMenu.vue +48 -48
  16. package/app/components/AdsCard.vue +188 -188
  17. package/app/components/AdsCardHint.vue +56 -56
  18. package/app/components/AdsCardPeriod.vue +43 -43
  19. package/app/components/AdsCardVariation.vue +31 -31
  20. package/app/components/AdsCharttip.vue +79 -79
  21. package/app/components/AdsDatePicker.vue +509 -509
  22. package/app/components/AdsDropdownMenu.vue +30 -30
  23. package/app/components/AdsEmptyState.vue +61 -61
  24. package/app/components/AdsFeatureCard.vue +292 -292
  25. package/app/components/AdsFileCard.vue +98 -98
  26. package/app/components/AdsFooter.vue +25 -25
  27. package/app/components/AdsHeavyAccountCell.vue +59 -59
  28. package/app/components/AdsHeavyHeaderCell.vue +70 -70
  29. package/app/components/AdsHeavyTable.vue +135 -135
  30. package/app/components/AdsInput.vue +148 -148
  31. package/app/components/AdsLoading.vue +217 -217
  32. package/app/components/AdsMenuBar.vue +110 -110
  33. package/app/components/AdsMetricCard.vue +226 -226
  34. package/app/components/AdsModal.vue +160 -160
  35. package/app/components/AdsMonthPicker.vue +80 -80
  36. package/app/components/AdsNavbarApp.vue +67 -67
  37. package/app/components/AdsNavbarDesk.vue +67 -67
  38. package/app/components/AdsNotabilityPill.vue +24 -24
  39. package/app/components/AdsNumberInput.vue +173 -173
  40. package/app/components/AdsPanelCard.vue +99 -99
  41. package/app/components/AdsPill.vue +144 -144
  42. package/app/components/AdsProductTag.vue +80 -80
  43. package/app/components/AdsSearchInput.vue +122 -122
  44. package/app/components/AdsSegmentedTabs.vue +62 -62
  45. package/app/components/AdsSelect.vue +283 -283
  46. package/app/components/AdsSelectItem.vue +128 -128
  47. package/app/components/AdsSelectPanel.vue +221 -221
  48. package/app/components/AdsSideMenu.vue +101 -101
  49. package/app/components/AdsSmalltip.vue +44 -44
  50. package/app/components/AdsStepper.vue +222 -222
  51. package/app/components/AdsTable.vue +172 -172
  52. package/app/components/AdsTableHeaderCell.vue +80 -80
  53. package/app/components/AdsTableSkeleton.vue +113 -113
  54. package/app/components/AdsTableToolbar.vue +44 -44
  55. package/app/components/AdsTabs.vue +51 -51
  56. package/app/components/AdsTextarea.vue +116 -116
  57. package/app/components/AdsToast.vue +184 -184
  58. package/app/components/AdsTooltip.vue +73 -73
  59. package/app/components/ProgressBarLoading.vue +235 -235
  60. package/app/composables/useOverlayLoading.ts +88 -88
  61. package/app/constants/ads-color-swatches.ts +240 -240
  62. package/app/locale/pt-br.ts +6 -6
  63. package/app/plugins/ads-toast.client.ts +24 -24
  64. package/app/theme/ads-theme.ts +374 -374
  65. package/app/theme/ads-tokens.ts +391 -391
  66. package/app/types/overlay-loading.types.ts +32 -32
  67. package/app/utils/ads-filter-select.ts +191 -191
  68. package/app/utils/ads-table.ts +416 -416
  69. package/app/utils/calendar-date.ts +163 -163
  70. package/app/utils/category-role.ts +45 -45
  71. package/app/utils/money.ts +77 -77
  72. package/app/utils/notability.ts +8 -8
  73. package/app/utils/parser.ts +134 -134
  74. package/app/utils/percentage.ts +54 -54
  75. package/nuxt.config.ts +31 -31
  76. package/package.json +57 -57
@@ -1,240 +1,240 @@
1
- export type AdsColorSwatch = {
2
- step: string;
3
- hex: string;
4
- /** bg-ads-<grupo>-<passo> */
5
- surface: string;
6
- /** text-ads-<grupo>-<passo> */
7
- text: string;
8
- /** border-ads-<grupo>-<passo> */
9
- border: string;
10
- };
11
-
12
- export type AdsColorGroup = {
13
- name: string;
14
- slug: string;
15
- swatches: AdsColorSwatch[];
16
- };
17
-
18
- /** Classes completas (bg, text, border) para o Tailwind enxergar cada amostra. */
19
- export const adsColorGroups: AdsColorGroup[] = [
20
- {
21
- name: "Radar",
22
- slug: "radar",
23
- swatches: [
24
- { step: "25", hex: "#e4f2ff", surface: "bg-ads-radar-25", text: "text-ads-radar-25", border: "border-ads-radar-25" },
25
- { step: "50", hex: "#c7e4ff", surface: "bg-ads-radar-50", text: "text-ads-radar-50", border: "border-ads-radar-50" },
26
- { step: "100", hex: "#89c9ff", surface: "bg-ads-radar-100", text: "text-ads-radar-100", border: "border-ads-radar-100" },
27
- { step: "200", hex: "#50b3ff", surface: "bg-ads-radar-200", text: "text-ads-radar-200", border: "border-ads-radar-200" },
28
- { step: "400", hex: "#0091ff", surface: "bg-ads-radar-400", text: "text-ads-radar-400", border: "border-ads-radar-400" },
29
- { step: "500", hex: "#006ff7", surface: "bg-ads-radar-500", text: "text-ads-radar-500", border: "border-ads-radar-500" },
30
- { step: "600", hex: "#074ac6", surface: "bg-ads-radar-600", text: "text-ads-radar-600", border: "border-ads-radar-600" },
31
- { step: "800", hex: "#00389e", surface: "bg-ads-radar-800", text: "text-ads-radar-800", border: "border-ads-radar-800" },
32
- ],
33
- },
34
- {
35
- name: "Radar Base",
36
- slug: "radar-base",
37
- swatches: [
38
- { step: "100", hex: "#3f4457", surface: "bg-ads-radar-base-100", text: "text-ads-radar-base-100", border: "border-ads-radar-base-100" },
39
- { step: "200", hex: "#2e3342", surface: "bg-ads-radar-base-200", text: "text-ads-radar-base-200", border: "border-ads-radar-base-200" },
40
- { step: "500", hex: "#212631", surface: "bg-ads-radar-base-500", text: "text-ads-radar-base-500", border: "border-ads-radar-base-500" },
41
- { step: "600", hex: "#1b2029", surface: "bg-ads-radar-base-600", text: "text-ads-radar-base-600", border: "border-ads-radar-base-600" },
42
- { step: "900", hex: "#161b22", surface: "bg-ads-radar-base-900", text: "text-ads-radar-base-900", border: "border-ads-radar-base-900" },
43
- ],
44
- },
45
- {
46
- name: "Neutro claro",
47
- slug: "neutro-claro",
48
- swatches: [
49
- { step: "0", hex: "#ffffff", surface: "bg-ads-neutro-claro-0", text: "text-ads-neutro-claro-0", border: "border-ads-neutro-claro-0" },
50
- { step: "10", hex: "#fafbfc", surface: "bg-ads-neutro-claro-10", text: "text-ads-neutro-claro-10", border: "border-ads-neutro-claro-10" },
51
- { step: "20", hex: "#f0f3f6", surface: "bg-ads-neutro-claro-20", text: "text-ads-neutro-claro-20", border: "border-ads-neutro-claro-20" },
52
- { step: "30", hex: "#e5e8eb", surface: "bg-ads-neutro-claro-30", text: "text-ads-neutro-claro-30", border: "border-ads-neutro-claro-30" },
53
- { step: "40", hex: "#d3d8dd", surface: "bg-ads-neutro-claro-40", text: "text-ads-neutro-claro-40", border: "border-ads-neutro-claro-40" },
54
- { step: "50", hex: "#c1c7d0", surface: "bg-ads-neutro-claro-50", text: "text-ads-neutro-claro-50", border: "border-ads-neutro-claro-50" },
55
- ],
56
- },
57
- {
58
- name: "Neutro médio",
59
- slug: "neutro-medio",
60
- swatches: [
61
- { step: "60", hex: "#b3bac5", surface: "bg-ads-neutro-medio-60", text: "text-ads-neutro-medio-60", border: "border-ads-neutro-medio-60" },
62
- { step: "70", hex: "#a5adba", surface: "bg-ads-neutro-medio-70", text: "text-ads-neutro-medio-70", border: "border-ads-neutro-medio-70" },
63
- { step: "80", hex: "#97a0af", surface: "bg-ads-neutro-medio-80", text: "text-ads-neutro-medio-80", border: "border-ads-neutro-medio-80" },
64
- { step: "90", hex: "#8993a4", surface: "bg-ads-neutro-medio-90", text: "text-ads-neutro-medio-90", border: "border-ads-neutro-medio-90" },
65
- { step: "100", hex: "#7a869a", surface: "bg-ads-neutro-medio-100", text: "text-ads-neutro-medio-100", border: "border-ads-neutro-medio-100" },
66
- { step: "200", hex: "#6b778c", surface: "bg-ads-neutro-medio-200", text: "text-ads-neutro-medio-200", border: "border-ads-neutro-medio-200" },
67
- { step: "300", hex: "#5e6c84", surface: "bg-ads-neutro-medio-300", text: "text-ads-neutro-medio-300", border: "border-ads-neutro-medio-300" },
68
- { step: "400", hex: "#505f79", surface: "bg-ads-neutro-medio-400", text: "text-ads-neutro-medio-400", border: "border-ads-neutro-medio-400" },
69
- ],
70
- },
71
- {
72
- name: "Neutro escuro",
73
- slug: "neutro-escuro",
74
- swatches: [
75
- { step: "500", hex: "#42526e", surface: "bg-ads-neutro-escuro-500", text: "text-ads-neutro-escuro-500", border: "border-ads-neutro-escuro-500" },
76
- { step: "600", hex: "#344563", surface: "bg-ads-neutro-escuro-600", text: "text-ads-neutro-escuro-600", border: "border-ads-neutro-escuro-600" },
77
- { step: "700", hex: "#253858", surface: "bg-ads-neutro-escuro-700", text: "text-ads-neutro-escuro-700", border: "border-ads-neutro-escuro-700" },
78
- { step: "800", hex: "#172b4d", surface: "bg-ads-neutro-escuro-800", text: "text-ads-neutro-escuro-800", border: "border-ads-neutro-escuro-800" },
79
- { step: "900", hex: "#061938", surface: "bg-ads-neutro-escuro-900", text: "text-ads-neutro-escuro-900", border: "border-ads-neutro-escuro-900" },
80
- ],
81
- },
82
- {
83
- name: "Sucesso",
84
- slug: "sucesso",
85
- swatches: [
86
- { step: "100", hex: "#c3ffe6", surface: "bg-ads-sucesso-100", text: "text-ads-sucesso-100", border: "border-ads-sucesso-100" },
87
- { step: "200", hex: "#7fffcb", surface: "bg-ads-sucesso-200", text: "text-ads-sucesso-200", border: "border-ads-sucesso-200" },
88
- { step: "300", hex: "#32feaa", surface: "bg-ads-sucesso-300", text: "text-ads-sucesso-300", border: "border-ads-sucesso-300" },
89
- { step: "400", hex: "#06eb8f", surface: "bg-ads-sucesso-400", text: "text-ads-sucesso-400", border: "border-ads-sucesso-400" },
90
- { step: "500", hex: "#15c57e", surface: "bg-ads-sucesso-500", text: "text-ads-sucesso-500", border: "border-ads-sucesso-500" },
91
- { step: "600", hex: "#1c9f6a", surface: "bg-ads-sucesso-600", text: "text-ads-sucesso-600", border: "border-ads-sucesso-600" },
92
- { step: "700", hex: "#157850", surface: "bg-ads-sucesso-700", text: "text-ads-sucesso-700", border: "border-ads-sucesso-700" },
93
- { step: "800", hex: "#0e5a3b", surface: "bg-ads-sucesso-800", text: "text-ads-sucesso-800", border: "border-ads-sucesso-800" },
94
- ],
95
- },
96
- {
97
- name: "Warning",
98
- slug: "warning",
99
- swatches: [
100
- { step: "100", hex: "#ffbdcd", surface: "bg-ads-warning-100", text: "text-ads-warning-100", border: "border-ads-warning-100" },
101
- { step: "200", hex: "#ff87a4", surface: "bg-ads-warning-200", text: "text-ads-warning-200", border: "border-ads-warning-200" },
102
- { step: "300", hex: "#ff507a", surface: "bg-ads-warning-300", text: "text-ads-warning-300", border: "border-ads-warning-300" },
103
- { step: "400", hex: "#ef164a", surface: "bg-ads-warning-400", text: "text-ads-warning-400", border: "border-ads-warning-400" },
104
- { step: "500", hex: "#dc0034", surface: "bg-ads-warning-500", text: "text-ads-warning-500", border: "border-ads-warning-500" },
105
- { step: "600", hex: "#c0012e", surface: "bg-ads-warning-600", text: "text-ads-warning-600", border: "border-ads-warning-600" },
106
- { step: "700", hex: "#9e062a", surface: "bg-ads-warning-700", text: "text-ads-warning-700", border: "border-ads-warning-700" },
107
- { step: "800", hex: "#840221", surface: "bg-ads-warning-800", text: "text-ads-warning-800", border: "border-ads-warning-800" },
108
- ],
109
- },
110
- {
111
- name: "Atenção",
112
- slug: "atencao",
113
- swatches: [
114
- { step: "100", hex: "#ffe7b9", surface: "bg-ads-atencao-100", text: "text-ads-atencao-100", border: "border-ads-atencao-100" },
115
- { step: "200", hex: "#ffdc82", surface: "bg-ads-atencao-200", text: "text-ads-atencao-200", border: "border-ads-atencao-200" },
116
- { step: "300", hex: "#ffca43", surface: "bg-ads-atencao-300", text: "text-ads-atencao-300", border: "border-ads-atencao-300" },
117
- { step: "400", hex: "#ffb905", surface: "bg-ads-atencao-400", text: "text-ads-atencao-400", border: "border-ads-atencao-400" },
118
- { step: "500", hex: "#e9a700", surface: "bg-ads-atencao-500", text: "text-ads-atencao-500", border: "border-ads-atencao-500" },
119
- { step: "600", hex: "#ce9300", surface: "bg-ads-atencao-600", text: "text-ads-atencao-600", border: "border-ads-atencao-600" },
120
- { step: "700", hex: "#ad7b00", surface: "bg-ads-atencao-700", text: "text-ads-atencao-700", border: "border-ads-atencao-700" },
121
- { step: "800", hex: "#7a5600", surface: "bg-ads-atencao-800", text: "text-ads-atencao-800", border: "border-ads-atencao-800" },
122
- ],
123
- },
124
- {
125
- name: "Innovation",
126
- slug: "innovation",
127
- swatches: [
128
- { step: "50", hex: "#f3f0ff", surface: "bg-ads-innovation-50", text: "text-ads-innovation-50", border: "border-ads-innovation-50" },
129
- { step: "100", hex: "#cabaff", surface: "bg-ads-innovation-100", text: "text-ads-innovation-100", border: "border-ads-innovation-100" },
130
- { step: "200", hex: "#b19aff", surface: "bg-ads-innovation-200", text: "text-ads-innovation-200", border: "border-ads-innovation-200" },
131
- { step: "300", hex: "#9e80ff", surface: "bg-ads-innovation-300", text: "text-ads-innovation-300", border: "border-ads-innovation-300" },
132
- { step: "400", hex: "#825cff", surface: "bg-ads-innovation-400", text: "text-ads-innovation-400", border: "border-ads-innovation-400" },
133
- { step: "500", hex: "#7349ff", surface: "bg-ads-innovation-500", text: "text-ads-innovation-500", border: "border-ads-innovation-500" },
134
- { step: "600", hex: "#613dda", surface: "bg-ads-innovation-600", text: "text-ads-innovation-600", border: "border-ads-innovation-600" },
135
- { step: "700", hex: "#4c30a8", surface: "bg-ads-innovation-700", text: "text-ads-innovation-700", border: "border-ads-innovation-700" },
136
- { step: "800", hex: "#3c287c", surface: "bg-ads-innovation-800", text: "text-ads-innovation-800", border: "border-ads-innovation-800" },
137
- ],
138
- },
139
- {
140
- name: "Oportunidade",
141
- slug: "oportunidade",
142
- swatches: [
143
- { step: "100", hex: "#c4f5ff", surface: "bg-ads-oportunidade-100", text: "text-ads-oportunidade-100", border: "border-ads-oportunidade-100" },
144
- { step: "200", hex: "#79e9ff", surface: "bg-ads-oportunidade-200", text: "text-ads-oportunidade-200", border: "border-ads-oportunidade-200" },
145
- { step: "300", hex: "#49d8f4", surface: "bg-ads-oportunidade-300", text: "text-ads-oportunidade-300", border: "border-ads-oportunidade-300" },
146
- { step: "400", hex: "#04c8ef", surface: "bg-ads-oportunidade-400", text: "text-ads-oportunidade-400", border: "border-ads-oportunidade-400" },
147
- { step: "500", hex: "#05b4d8", surface: "bg-ads-oportunidade-500", text: "text-ads-oportunidade-500", border: "border-ads-oportunidade-500" },
148
- { step: "600", hex: "#01a0bf", surface: "bg-ads-oportunidade-600", text: "text-ads-oportunidade-600", border: "border-ads-oportunidade-600" },
149
- { step: "700", hex: "#007a93", surface: "bg-ads-oportunidade-700", text: "text-ads-oportunidade-700", border: "border-ads-oportunidade-700" },
150
- { step: "800", hex: "#006478", surface: "bg-ads-oportunidade-800", text: "text-ads-oportunidade-800", border: "border-ads-oportunidade-800" },
151
- ],
152
- },
153
- {
154
- name: "Void",
155
- slug: "void",
156
- swatches: [
157
- { step: "100", hex: "#cfdef3", surface: "bg-ads-void-100", text: "text-ads-void-100", border: "border-ads-void-100" },
158
- { step: "200", hex: "#b4c5df", surface: "bg-ads-void-200", text: "text-ads-void-200", border: "border-ads-void-200" },
159
- { step: "300", hex: "#91a2bb", surface: "bg-ads-void-300", text: "text-ads-void-300", border: "border-ads-void-300" },
160
- { step: "400", hex: "#738298", surface: "bg-ads-void-400", text: "text-ads-void-400", border: "border-ads-void-400" },
161
- { step: "500", hex: "#556171", surface: "bg-ads-void-500", text: "text-ads-void-500", border: "border-ads-void-500" },
162
- { step: "600", hex: "#3c434e", surface: "bg-ads-void-600", text: "text-ads-void-600", border: "border-ads-void-600" },
163
- { step: "700", hex: "#282c34", surface: "bg-ads-void-700", text: "text-ads-void-700", border: "border-ads-void-700" },
164
- { step: "800", hex: "#0e1013", surface: "bg-ads-void-800", text: "text-ads-void-800", border: "border-ads-void-800" },
165
- ],
166
- },
167
- {
168
- name: "Gráfico C1",
169
- slug: "grafico-c1",
170
- swatches: [
171
- { step: "100", hex: "#f8b4ff", surface: "bg-ads-grafico-c1-100", text: "text-ads-grafico-c1-100", border: "border-ads-grafico-c1-100" },
172
- { step: "200", hex: "#f58eff", surface: "bg-ads-grafico-c1-200", text: "text-ads-grafico-c1-200", border: "border-ads-grafico-c1-200" },
173
- { step: "300", hex: "#ee60fb", surface: "bg-ads-grafico-c1-300", text: "text-ads-grafico-c1-300", border: "border-ads-grafico-c1-300" },
174
- { step: "400", hex: "#e837f9", surface: "bg-ads-grafico-c1-400", text: "text-ads-grafico-c1-400", border: "border-ads-grafico-c1-400" },
175
- { step: "500", hex: "#cc1fdd", surface: "bg-ads-grafico-c1-500", text: "text-ads-grafico-c1-500", border: "border-ads-grafico-c1-500" },
176
- { step: "600", hex: "#b121be", surface: "bg-ads-grafico-c1-600", text: "text-ads-grafico-c1-600", border: "border-ads-grafico-c1-600" },
177
- { step: "700", hex: "#951fa0", surface: "bg-ads-grafico-c1-700", text: "text-ads-grafico-c1-700", border: "border-ads-grafico-c1-700" },
178
- { step: "800", hex: "#76197e", surface: "bg-ads-grafico-c1-800", text: "text-ads-grafico-c1-800", border: "border-ads-grafico-c1-800" },
179
- ],
180
- },
181
- {
182
- name: "Gráfico C3",
183
- slug: "grafico-c3",
184
- swatches: [
185
- { step: "100", hex: "#ffb0b0", surface: "bg-ads-grafico-c3-100", text: "text-ads-grafico-c3-100", border: "border-ads-grafico-c3-100" },
186
- { step: "200", hex: "#ff8e8e", surface: "bg-ads-grafico-c3-200", text: "text-ads-grafico-c3-200", border: "border-ads-grafico-c3-200" },
187
- { step: "300", hex: "#ff7272", surface: "bg-ads-grafico-c3-300", text: "text-ads-grafico-c3-300", border: "border-ads-grafico-c3-300" },
188
- { step: "400", hex: "#f76565", surface: "bg-ads-grafico-c3-400", text: "text-ads-grafico-c3-400", border: "border-ads-grafico-c3-400" },
189
- { step: "500", hex: "#e46161", surface: "bg-ads-grafico-c3-500", text: "text-ads-grafico-c3-500", border: "border-ads-grafico-c3-500" },
190
- { step: "600", hex: "#cc5252", surface: "bg-ads-grafico-c3-600", text: "text-ads-grafico-c3-600", border: "border-ads-grafico-c3-600" },
191
- { step: "700", hex: "#b54444", surface: "bg-ads-grafico-c3-700", text: "text-ads-grafico-c3-700", border: "border-ads-grafico-c3-700" },
192
- { step: "800", hex: "#983a3a", surface: "bg-ads-grafico-c3-800", text: "text-ads-grafico-c3-800", border: "border-ads-grafico-c3-800" },
193
- ],
194
- },
195
- {
196
- name: "Gráfico C4",
197
- slug: "grafico-c4",
198
- swatches: [
199
- { step: "100", hex: "#b6ffca", surface: "bg-ads-grafico-c4-100", text: "text-ads-grafico-c4-100", border: "border-ads-grafico-c4-100" },
200
- { step: "200", hex: "#86e7a2", surface: "bg-ads-grafico-c4-200", text: "text-ads-grafico-c4-200", border: "border-ads-grafico-c4-200" },
201
- { step: "300", hex: "#4bd973", surface: "bg-ads-grafico-c4-300", text: "text-ads-grafico-c4-300", border: "border-ads-grafico-c4-300" },
202
- { step: "400", hex: "#1ac44a", surface: "bg-ads-grafico-c4-400", text: "text-ads-grafico-c4-400", border: "border-ads-grafico-c4-400" },
203
- { step: "500", hex: "#24ab4a", surface: "bg-ads-grafico-c4-500", text: "text-ads-grafico-c4-500", border: "border-ads-grafico-c4-500" },
204
- { step: "600", hex: "#1c8f3d", surface: "bg-ads-grafico-c4-600", text: "text-ads-grafico-c4-600", border: "border-ads-grafico-c4-600" },
205
- { step: "700", hex: "#167130", surface: "bg-ads-grafico-c4-700", text: "text-ads-grafico-c4-700", border: "border-ads-grafico-c4-700" },
206
- { step: "800", hex: "#115825", surface: "bg-ads-grafico-c4-800", text: "text-ads-grafico-c4-800", border: "border-ads-grafico-c4-800" },
207
- ],
208
- },
209
- {
210
- name: "Gráfico C5",
211
- slug: "grafico-c5",
212
- swatches: [
213
- { step: "100", hex: "#a2baff", surface: "bg-ads-grafico-c5-100", text: "text-ads-grafico-c5-100", border: "border-ads-grafico-c5-100" },
214
- { step: "200", hex: "#8ca5ee", surface: "bg-ads-grafico-c5-200", text: "text-ads-grafico-c5-200", border: "border-ads-grafico-c5-200" },
215
- { step: "300", hex: "#768dd0", surface: "bg-ads-grafico-c5-300", text: "text-ads-grafico-c5-300", border: "border-ads-grafico-c5-300" },
216
- { step: "400", hex: "#677bb6", surface: "bg-ads-grafico-c5-400", text: "text-ads-grafico-c5-400", border: "border-ads-grafico-c5-400" },
217
- { step: "500", hex: "#546596", surface: "bg-ads-grafico-c5-500", text: "text-ads-grafico-c5-500", border: "border-ads-grafico-c5-500" },
218
- { step: "600", hex: "#445279", surface: "bg-ads-grafico-c5-600", text: "text-ads-grafico-c5-600", border: "border-ads-grafico-c5-600" },
219
- { step: "700", hex: "#374261", surface: "bg-ads-grafico-c5-700", text: "text-ads-grafico-c5-700", border: "border-ads-grafico-c5-700" },
220
- { step: "800", hex: "#252c41", surface: "bg-ads-grafico-c5-800", text: "text-ads-grafico-c5-800", border: "border-ads-grafico-c5-800" },
221
- ],
222
- },
223
- {
224
- name: "Produtos Radar",
225
- slug: "produtos-radar",
226
- swatches: [
227
- { step: "1", hex: "#ef7d18", surface: "bg-ads-produtos-radar-1", text: "text-ads-produtos-radar-1", border: "border-ads-produtos-radar-1" },
228
- { step: "2", hex: "#07509f", surface: "bg-ads-produtos-radar-2", text: "text-ads-produtos-radar-2", border: "border-ads-produtos-radar-2" },
229
- { step: "3", hex: "#009159", surface: "bg-ads-produtos-radar-3", text: "text-ads-produtos-radar-3", border: "border-ads-produtos-radar-3" },
230
- { step: "4", hex: "#5a2d87", surface: "bg-ads-produtos-radar-4", text: "text-ads-produtos-radar-4", border: "border-ads-produtos-radar-4" },
231
- { step: "5", hex: "#ff5410", surface: "bg-ads-produtos-radar-5", text: "text-ads-produtos-radar-5", border: "border-ads-produtos-radar-5" },
232
- { step: "6", hex: "#050505", surface: "bg-ads-produtos-radar-6", text: "text-ads-produtos-radar-6", border: "border-ads-produtos-radar-6" },
233
- { step: "7", hex: "#c2113b", surface: "bg-ads-produtos-radar-7", text: "text-ads-produtos-radar-7", border: "border-ads-produtos-radar-7" },
234
- { step: "8", hex: "#8c6bfa", surface: "bg-ads-produtos-radar-8", text: "text-ads-produtos-radar-8", border: "border-ads-produtos-radar-8" },
235
- { step: "9", hex: "#0091ff", surface: "bg-ads-produtos-radar-9", text: "text-ads-produtos-radar-9", border: "border-ads-produtos-radar-9" },
236
- { step: "10", hex: "#8b89c9", surface: "bg-ads-produtos-radar-10", text: "text-ads-produtos-radar-10", border: "border-ads-produtos-radar-10" },
237
- { step: "11", hex: "#007a93", surface: "bg-ads-produtos-radar-11", text: "text-ads-produtos-radar-11", border: "border-ads-produtos-radar-11" },
238
- ],
239
- },
240
- ];
1
+ export type AdsColorSwatch = {
2
+ step: string;
3
+ hex: string;
4
+ /** bg-ads-<grupo>-<passo> */
5
+ surface: string;
6
+ /** text-ads-<grupo>-<passo> */
7
+ text: string;
8
+ /** border-ads-<grupo>-<passo> */
9
+ border: string;
10
+ };
11
+
12
+ export type AdsColorGroup = {
13
+ name: string;
14
+ slug: string;
15
+ swatches: AdsColorSwatch[];
16
+ };
17
+
18
+ /** Classes completas (bg, text, border) para o Tailwind enxergar cada amostra. */
19
+ export const adsColorGroups: AdsColorGroup[] = [
20
+ {
21
+ name: "Radar",
22
+ slug: "radar",
23
+ swatches: [
24
+ { step: "25", hex: "#e4f2ff", surface: "bg-ads-radar-25", text: "text-ads-radar-25", border: "border-ads-radar-25" },
25
+ { step: "50", hex: "#c7e4ff", surface: "bg-ads-radar-50", text: "text-ads-radar-50", border: "border-ads-radar-50" },
26
+ { step: "100", hex: "#89c9ff", surface: "bg-ads-radar-100", text: "text-ads-radar-100", border: "border-ads-radar-100" },
27
+ { step: "200", hex: "#50b3ff", surface: "bg-ads-radar-200", text: "text-ads-radar-200", border: "border-ads-radar-200" },
28
+ { step: "400", hex: "#0091ff", surface: "bg-ads-radar-400", text: "text-ads-radar-400", border: "border-ads-radar-400" },
29
+ { step: "500", hex: "#006ff7", surface: "bg-ads-radar-500", text: "text-ads-radar-500", border: "border-ads-radar-500" },
30
+ { step: "600", hex: "#074ac6", surface: "bg-ads-radar-600", text: "text-ads-radar-600", border: "border-ads-radar-600" },
31
+ { step: "800", hex: "#00389e", surface: "bg-ads-radar-800", text: "text-ads-radar-800", border: "border-ads-radar-800" },
32
+ ],
33
+ },
34
+ {
35
+ name: "Radar Base",
36
+ slug: "radar-base",
37
+ swatches: [
38
+ { step: "100", hex: "#3f4457", surface: "bg-ads-radar-base-100", text: "text-ads-radar-base-100", border: "border-ads-radar-base-100" },
39
+ { step: "200", hex: "#2e3342", surface: "bg-ads-radar-base-200", text: "text-ads-radar-base-200", border: "border-ads-radar-base-200" },
40
+ { step: "500", hex: "#212631", surface: "bg-ads-radar-base-500", text: "text-ads-radar-base-500", border: "border-ads-radar-base-500" },
41
+ { step: "600", hex: "#1b2029", surface: "bg-ads-radar-base-600", text: "text-ads-radar-base-600", border: "border-ads-radar-base-600" },
42
+ { step: "900", hex: "#161b22", surface: "bg-ads-radar-base-900", text: "text-ads-radar-base-900", border: "border-ads-radar-base-900" },
43
+ ],
44
+ },
45
+ {
46
+ name: "Neutro claro",
47
+ slug: "neutro-claro",
48
+ swatches: [
49
+ { step: "0", hex: "#ffffff", surface: "bg-ads-neutro-claro-0", text: "text-ads-neutro-claro-0", border: "border-ads-neutro-claro-0" },
50
+ { step: "10", hex: "#fafbfc", surface: "bg-ads-neutro-claro-10", text: "text-ads-neutro-claro-10", border: "border-ads-neutro-claro-10" },
51
+ { step: "20", hex: "#f0f3f6", surface: "bg-ads-neutro-claro-20", text: "text-ads-neutro-claro-20", border: "border-ads-neutro-claro-20" },
52
+ { step: "30", hex: "#e5e8eb", surface: "bg-ads-neutro-claro-30", text: "text-ads-neutro-claro-30", border: "border-ads-neutro-claro-30" },
53
+ { step: "40", hex: "#d3d8dd", surface: "bg-ads-neutro-claro-40", text: "text-ads-neutro-claro-40", border: "border-ads-neutro-claro-40" },
54
+ { step: "50", hex: "#c1c7d0", surface: "bg-ads-neutro-claro-50", text: "text-ads-neutro-claro-50", border: "border-ads-neutro-claro-50" },
55
+ ],
56
+ },
57
+ {
58
+ name: "Neutro médio",
59
+ slug: "neutro-medio",
60
+ swatches: [
61
+ { step: "60", hex: "#b3bac5", surface: "bg-ads-neutro-medio-60", text: "text-ads-neutro-medio-60", border: "border-ads-neutro-medio-60" },
62
+ { step: "70", hex: "#a5adba", surface: "bg-ads-neutro-medio-70", text: "text-ads-neutro-medio-70", border: "border-ads-neutro-medio-70" },
63
+ { step: "80", hex: "#97a0af", surface: "bg-ads-neutro-medio-80", text: "text-ads-neutro-medio-80", border: "border-ads-neutro-medio-80" },
64
+ { step: "90", hex: "#8993a4", surface: "bg-ads-neutro-medio-90", text: "text-ads-neutro-medio-90", border: "border-ads-neutro-medio-90" },
65
+ { step: "100", hex: "#7a869a", surface: "bg-ads-neutro-medio-100", text: "text-ads-neutro-medio-100", border: "border-ads-neutro-medio-100" },
66
+ { step: "200", hex: "#6b778c", surface: "bg-ads-neutro-medio-200", text: "text-ads-neutro-medio-200", border: "border-ads-neutro-medio-200" },
67
+ { step: "300", hex: "#5e6c84", surface: "bg-ads-neutro-medio-300", text: "text-ads-neutro-medio-300", border: "border-ads-neutro-medio-300" },
68
+ { step: "400", hex: "#505f79", surface: "bg-ads-neutro-medio-400", text: "text-ads-neutro-medio-400", border: "border-ads-neutro-medio-400" },
69
+ ],
70
+ },
71
+ {
72
+ name: "Neutro escuro",
73
+ slug: "neutro-escuro",
74
+ swatches: [
75
+ { step: "500", hex: "#42526e", surface: "bg-ads-neutro-escuro-500", text: "text-ads-neutro-escuro-500", border: "border-ads-neutro-escuro-500" },
76
+ { step: "600", hex: "#344563", surface: "bg-ads-neutro-escuro-600", text: "text-ads-neutro-escuro-600", border: "border-ads-neutro-escuro-600" },
77
+ { step: "700", hex: "#253858", surface: "bg-ads-neutro-escuro-700", text: "text-ads-neutro-escuro-700", border: "border-ads-neutro-escuro-700" },
78
+ { step: "800", hex: "#172b4d", surface: "bg-ads-neutro-escuro-800", text: "text-ads-neutro-escuro-800", border: "border-ads-neutro-escuro-800" },
79
+ { step: "900", hex: "#061938", surface: "bg-ads-neutro-escuro-900", text: "text-ads-neutro-escuro-900", border: "border-ads-neutro-escuro-900" },
80
+ ],
81
+ },
82
+ {
83
+ name: "Sucesso",
84
+ slug: "sucesso",
85
+ swatches: [
86
+ { step: "100", hex: "#c3ffe6", surface: "bg-ads-sucesso-100", text: "text-ads-sucesso-100", border: "border-ads-sucesso-100" },
87
+ { step: "200", hex: "#7fffcb", surface: "bg-ads-sucesso-200", text: "text-ads-sucesso-200", border: "border-ads-sucesso-200" },
88
+ { step: "300", hex: "#32feaa", surface: "bg-ads-sucesso-300", text: "text-ads-sucesso-300", border: "border-ads-sucesso-300" },
89
+ { step: "400", hex: "#06eb8f", surface: "bg-ads-sucesso-400", text: "text-ads-sucesso-400", border: "border-ads-sucesso-400" },
90
+ { step: "500", hex: "#15c57e", surface: "bg-ads-sucesso-500", text: "text-ads-sucesso-500", border: "border-ads-sucesso-500" },
91
+ { step: "600", hex: "#1c9f6a", surface: "bg-ads-sucesso-600", text: "text-ads-sucesso-600", border: "border-ads-sucesso-600" },
92
+ { step: "700", hex: "#157850", surface: "bg-ads-sucesso-700", text: "text-ads-sucesso-700", border: "border-ads-sucesso-700" },
93
+ { step: "800", hex: "#0e5a3b", surface: "bg-ads-sucesso-800", text: "text-ads-sucesso-800", border: "border-ads-sucesso-800" },
94
+ ],
95
+ },
96
+ {
97
+ name: "Warning",
98
+ slug: "warning",
99
+ swatches: [
100
+ { step: "100", hex: "#ffbdcd", surface: "bg-ads-warning-100", text: "text-ads-warning-100", border: "border-ads-warning-100" },
101
+ { step: "200", hex: "#ff87a4", surface: "bg-ads-warning-200", text: "text-ads-warning-200", border: "border-ads-warning-200" },
102
+ { step: "300", hex: "#ff507a", surface: "bg-ads-warning-300", text: "text-ads-warning-300", border: "border-ads-warning-300" },
103
+ { step: "400", hex: "#ef164a", surface: "bg-ads-warning-400", text: "text-ads-warning-400", border: "border-ads-warning-400" },
104
+ { step: "500", hex: "#dc0034", surface: "bg-ads-warning-500", text: "text-ads-warning-500", border: "border-ads-warning-500" },
105
+ { step: "600", hex: "#c0012e", surface: "bg-ads-warning-600", text: "text-ads-warning-600", border: "border-ads-warning-600" },
106
+ { step: "700", hex: "#9e062a", surface: "bg-ads-warning-700", text: "text-ads-warning-700", border: "border-ads-warning-700" },
107
+ { step: "800", hex: "#840221", surface: "bg-ads-warning-800", text: "text-ads-warning-800", border: "border-ads-warning-800" },
108
+ ],
109
+ },
110
+ {
111
+ name: "Atenção",
112
+ slug: "atencao",
113
+ swatches: [
114
+ { step: "100", hex: "#ffe7b9", surface: "bg-ads-atencao-100", text: "text-ads-atencao-100", border: "border-ads-atencao-100" },
115
+ { step: "200", hex: "#ffdc82", surface: "bg-ads-atencao-200", text: "text-ads-atencao-200", border: "border-ads-atencao-200" },
116
+ { step: "300", hex: "#ffca43", surface: "bg-ads-atencao-300", text: "text-ads-atencao-300", border: "border-ads-atencao-300" },
117
+ { step: "400", hex: "#ffb905", surface: "bg-ads-atencao-400", text: "text-ads-atencao-400", border: "border-ads-atencao-400" },
118
+ { step: "500", hex: "#e9a700", surface: "bg-ads-atencao-500", text: "text-ads-atencao-500", border: "border-ads-atencao-500" },
119
+ { step: "600", hex: "#ce9300", surface: "bg-ads-atencao-600", text: "text-ads-atencao-600", border: "border-ads-atencao-600" },
120
+ { step: "700", hex: "#ad7b00", surface: "bg-ads-atencao-700", text: "text-ads-atencao-700", border: "border-ads-atencao-700" },
121
+ { step: "800", hex: "#7a5600", surface: "bg-ads-atencao-800", text: "text-ads-atencao-800", border: "border-ads-atencao-800" },
122
+ ],
123
+ },
124
+ {
125
+ name: "Innovation",
126
+ slug: "innovation",
127
+ swatches: [
128
+ { step: "50", hex: "#f3f0ff", surface: "bg-ads-innovation-50", text: "text-ads-innovation-50", border: "border-ads-innovation-50" },
129
+ { step: "100", hex: "#cabaff", surface: "bg-ads-innovation-100", text: "text-ads-innovation-100", border: "border-ads-innovation-100" },
130
+ { step: "200", hex: "#b19aff", surface: "bg-ads-innovation-200", text: "text-ads-innovation-200", border: "border-ads-innovation-200" },
131
+ { step: "300", hex: "#9e80ff", surface: "bg-ads-innovation-300", text: "text-ads-innovation-300", border: "border-ads-innovation-300" },
132
+ { step: "400", hex: "#825cff", surface: "bg-ads-innovation-400", text: "text-ads-innovation-400", border: "border-ads-innovation-400" },
133
+ { step: "500", hex: "#7349ff", surface: "bg-ads-innovation-500", text: "text-ads-innovation-500", border: "border-ads-innovation-500" },
134
+ { step: "600", hex: "#613dda", surface: "bg-ads-innovation-600", text: "text-ads-innovation-600", border: "border-ads-innovation-600" },
135
+ { step: "700", hex: "#4c30a8", surface: "bg-ads-innovation-700", text: "text-ads-innovation-700", border: "border-ads-innovation-700" },
136
+ { step: "800", hex: "#3c287c", surface: "bg-ads-innovation-800", text: "text-ads-innovation-800", border: "border-ads-innovation-800" },
137
+ ],
138
+ },
139
+ {
140
+ name: "Oportunidade",
141
+ slug: "oportunidade",
142
+ swatches: [
143
+ { step: "100", hex: "#c4f5ff", surface: "bg-ads-oportunidade-100", text: "text-ads-oportunidade-100", border: "border-ads-oportunidade-100" },
144
+ { step: "200", hex: "#79e9ff", surface: "bg-ads-oportunidade-200", text: "text-ads-oportunidade-200", border: "border-ads-oportunidade-200" },
145
+ { step: "300", hex: "#49d8f4", surface: "bg-ads-oportunidade-300", text: "text-ads-oportunidade-300", border: "border-ads-oportunidade-300" },
146
+ { step: "400", hex: "#04c8ef", surface: "bg-ads-oportunidade-400", text: "text-ads-oportunidade-400", border: "border-ads-oportunidade-400" },
147
+ { step: "500", hex: "#05b4d8", surface: "bg-ads-oportunidade-500", text: "text-ads-oportunidade-500", border: "border-ads-oportunidade-500" },
148
+ { step: "600", hex: "#01a0bf", surface: "bg-ads-oportunidade-600", text: "text-ads-oportunidade-600", border: "border-ads-oportunidade-600" },
149
+ { step: "700", hex: "#007a93", surface: "bg-ads-oportunidade-700", text: "text-ads-oportunidade-700", border: "border-ads-oportunidade-700" },
150
+ { step: "800", hex: "#006478", surface: "bg-ads-oportunidade-800", text: "text-ads-oportunidade-800", border: "border-ads-oportunidade-800" },
151
+ ],
152
+ },
153
+ {
154
+ name: "Void",
155
+ slug: "void",
156
+ swatches: [
157
+ { step: "100", hex: "#cfdef3", surface: "bg-ads-void-100", text: "text-ads-void-100", border: "border-ads-void-100" },
158
+ { step: "200", hex: "#b4c5df", surface: "bg-ads-void-200", text: "text-ads-void-200", border: "border-ads-void-200" },
159
+ { step: "300", hex: "#91a2bb", surface: "bg-ads-void-300", text: "text-ads-void-300", border: "border-ads-void-300" },
160
+ { step: "400", hex: "#738298", surface: "bg-ads-void-400", text: "text-ads-void-400", border: "border-ads-void-400" },
161
+ { step: "500", hex: "#556171", surface: "bg-ads-void-500", text: "text-ads-void-500", border: "border-ads-void-500" },
162
+ { step: "600", hex: "#3c434e", surface: "bg-ads-void-600", text: "text-ads-void-600", border: "border-ads-void-600" },
163
+ { step: "700", hex: "#282c34", surface: "bg-ads-void-700", text: "text-ads-void-700", border: "border-ads-void-700" },
164
+ { step: "800", hex: "#0e1013", surface: "bg-ads-void-800", text: "text-ads-void-800", border: "border-ads-void-800" },
165
+ ],
166
+ },
167
+ {
168
+ name: "Gráfico C1",
169
+ slug: "grafico-c1",
170
+ swatches: [
171
+ { step: "100", hex: "#f8b4ff", surface: "bg-ads-grafico-c1-100", text: "text-ads-grafico-c1-100", border: "border-ads-grafico-c1-100" },
172
+ { step: "200", hex: "#f58eff", surface: "bg-ads-grafico-c1-200", text: "text-ads-grafico-c1-200", border: "border-ads-grafico-c1-200" },
173
+ { step: "300", hex: "#ee60fb", surface: "bg-ads-grafico-c1-300", text: "text-ads-grafico-c1-300", border: "border-ads-grafico-c1-300" },
174
+ { step: "400", hex: "#e837f9", surface: "bg-ads-grafico-c1-400", text: "text-ads-grafico-c1-400", border: "border-ads-grafico-c1-400" },
175
+ { step: "500", hex: "#cc1fdd", surface: "bg-ads-grafico-c1-500", text: "text-ads-grafico-c1-500", border: "border-ads-grafico-c1-500" },
176
+ { step: "600", hex: "#b121be", surface: "bg-ads-grafico-c1-600", text: "text-ads-grafico-c1-600", border: "border-ads-grafico-c1-600" },
177
+ { step: "700", hex: "#951fa0", surface: "bg-ads-grafico-c1-700", text: "text-ads-grafico-c1-700", border: "border-ads-grafico-c1-700" },
178
+ { step: "800", hex: "#76197e", surface: "bg-ads-grafico-c1-800", text: "text-ads-grafico-c1-800", border: "border-ads-grafico-c1-800" },
179
+ ],
180
+ },
181
+ {
182
+ name: "Gráfico C3",
183
+ slug: "grafico-c3",
184
+ swatches: [
185
+ { step: "100", hex: "#ffb0b0", surface: "bg-ads-grafico-c3-100", text: "text-ads-grafico-c3-100", border: "border-ads-grafico-c3-100" },
186
+ { step: "200", hex: "#ff8e8e", surface: "bg-ads-grafico-c3-200", text: "text-ads-grafico-c3-200", border: "border-ads-grafico-c3-200" },
187
+ { step: "300", hex: "#ff7272", surface: "bg-ads-grafico-c3-300", text: "text-ads-grafico-c3-300", border: "border-ads-grafico-c3-300" },
188
+ { step: "400", hex: "#f76565", surface: "bg-ads-grafico-c3-400", text: "text-ads-grafico-c3-400", border: "border-ads-grafico-c3-400" },
189
+ { step: "500", hex: "#e46161", surface: "bg-ads-grafico-c3-500", text: "text-ads-grafico-c3-500", border: "border-ads-grafico-c3-500" },
190
+ { step: "600", hex: "#cc5252", surface: "bg-ads-grafico-c3-600", text: "text-ads-grafico-c3-600", border: "border-ads-grafico-c3-600" },
191
+ { step: "700", hex: "#b54444", surface: "bg-ads-grafico-c3-700", text: "text-ads-grafico-c3-700", border: "border-ads-grafico-c3-700" },
192
+ { step: "800", hex: "#983a3a", surface: "bg-ads-grafico-c3-800", text: "text-ads-grafico-c3-800", border: "border-ads-grafico-c3-800" },
193
+ ],
194
+ },
195
+ {
196
+ name: "Gráfico C4",
197
+ slug: "grafico-c4",
198
+ swatches: [
199
+ { step: "100", hex: "#b6ffca", surface: "bg-ads-grafico-c4-100", text: "text-ads-grafico-c4-100", border: "border-ads-grafico-c4-100" },
200
+ { step: "200", hex: "#86e7a2", surface: "bg-ads-grafico-c4-200", text: "text-ads-grafico-c4-200", border: "border-ads-grafico-c4-200" },
201
+ { step: "300", hex: "#4bd973", surface: "bg-ads-grafico-c4-300", text: "text-ads-grafico-c4-300", border: "border-ads-grafico-c4-300" },
202
+ { step: "400", hex: "#1ac44a", surface: "bg-ads-grafico-c4-400", text: "text-ads-grafico-c4-400", border: "border-ads-grafico-c4-400" },
203
+ { step: "500", hex: "#24ab4a", surface: "bg-ads-grafico-c4-500", text: "text-ads-grafico-c4-500", border: "border-ads-grafico-c4-500" },
204
+ { step: "600", hex: "#1c8f3d", surface: "bg-ads-grafico-c4-600", text: "text-ads-grafico-c4-600", border: "border-ads-grafico-c4-600" },
205
+ { step: "700", hex: "#167130", surface: "bg-ads-grafico-c4-700", text: "text-ads-grafico-c4-700", border: "border-ads-grafico-c4-700" },
206
+ { step: "800", hex: "#115825", surface: "bg-ads-grafico-c4-800", text: "text-ads-grafico-c4-800", border: "border-ads-grafico-c4-800" },
207
+ ],
208
+ },
209
+ {
210
+ name: "Gráfico C5",
211
+ slug: "grafico-c5",
212
+ swatches: [
213
+ { step: "100", hex: "#a2baff", surface: "bg-ads-grafico-c5-100", text: "text-ads-grafico-c5-100", border: "border-ads-grafico-c5-100" },
214
+ { step: "200", hex: "#8ca5ee", surface: "bg-ads-grafico-c5-200", text: "text-ads-grafico-c5-200", border: "border-ads-grafico-c5-200" },
215
+ { step: "300", hex: "#768dd0", surface: "bg-ads-grafico-c5-300", text: "text-ads-grafico-c5-300", border: "border-ads-grafico-c5-300" },
216
+ { step: "400", hex: "#677bb6", surface: "bg-ads-grafico-c5-400", text: "text-ads-grafico-c5-400", border: "border-ads-grafico-c5-400" },
217
+ { step: "500", hex: "#546596", surface: "bg-ads-grafico-c5-500", text: "text-ads-grafico-c5-500", border: "border-ads-grafico-c5-500" },
218
+ { step: "600", hex: "#445279", surface: "bg-ads-grafico-c5-600", text: "text-ads-grafico-c5-600", border: "border-ads-grafico-c5-600" },
219
+ { step: "700", hex: "#374261", surface: "bg-ads-grafico-c5-700", text: "text-ads-grafico-c5-700", border: "border-ads-grafico-c5-700" },
220
+ { step: "800", hex: "#252c41", surface: "bg-ads-grafico-c5-800", text: "text-ads-grafico-c5-800", border: "border-ads-grafico-c5-800" },
221
+ ],
222
+ },
223
+ {
224
+ name: "Produtos Radar",
225
+ slug: "produtos-radar",
226
+ swatches: [
227
+ { step: "1", hex: "#ef7d18", surface: "bg-ads-produtos-radar-1", text: "text-ads-produtos-radar-1", border: "border-ads-produtos-radar-1" },
228
+ { step: "2", hex: "#07509f", surface: "bg-ads-produtos-radar-2", text: "text-ads-produtos-radar-2", border: "border-ads-produtos-radar-2" },
229
+ { step: "3", hex: "#009159", surface: "bg-ads-produtos-radar-3", text: "text-ads-produtos-radar-3", border: "border-ads-produtos-radar-3" },
230
+ { step: "4", hex: "#5a2d87", surface: "bg-ads-produtos-radar-4", text: "text-ads-produtos-radar-4", border: "border-ads-produtos-radar-4" },
231
+ { step: "5", hex: "#ff5410", surface: "bg-ads-produtos-radar-5", text: "text-ads-produtos-radar-5", border: "border-ads-produtos-radar-5" },
232
+ { step: "6", hex: "#050505", surface: "bg-ads-produtos-radar-6", text: "text-ads-produtos-radar-6", border: "border-ads-produtos-radar-6" },
233
+ { step: "7", hex: "#c2113b", surface: "bg-ads-produtos-radar-7", text: "text-ads-produtos-radar-7", border: "border-ads-produtos-radar-7" },
234
+ { step: "8", hex: "#8c6bfa", surface: "bg-ads-produtos-radar-8", text: "text-ads-produtos-radar-8", border: "border-ads-produtos-radar-8" },
235
+ { step: "9", hex: "#0091ff", surface: "bg-ads-produtos-radar-9", text: "text-ads-produtos-radar-9", border: "border-ads-produtos-radar-9" },
236
+ { step: "10", hex: "#8b89c9", surface: "bg-ads-produtos-radar-10", text: "text-ads-produtos-radar-10", border: "border-ads-produtos-radar-10" },
237
+ { step: "11", hex: "#007a93", surface: "bg-ads-produtos-radar-11", text: "text-ads-produtos-radar-11", border: "border-ads-produtos-radar-11" },
238
+ ],
239
+ },
240
+ ];
@@ -1,6 +1,6 @@
1
- import { pt_br } from "@nuxt/ui/locale";
2
-
3
- /** Locale do Nuxt UI para calendário, meses e rótulos em português do Brasil. */
4
- export const uiLocale = pt_br;
5
-
6
- export const UI_LOCALE_CODE = "pt-BR";
1
+ import { pt_br } from "@nuxt/ui/locale";
2
+
3
+ /** Locale do Nuxt UI para calendário, meses e rótulos em português do Brasil. */
4
+ export const uiLocale = pt_br;
5
+
6
+ export const UI_LOCALE_CODE = "pt-BR";
@@ -1,24 +1,24 @@
1
- import { watch } from "vue";
2
- import { resolveAdsToastIcon } from "../theme/ads-theme";
3
-
4
- interface AdsToastState {
5
- color?: string;
6
- icon?: unknown;
7
- }
8
-
9
- export default defineNuxtPlugin(() => {
10
- const toasts = useState<AdsToastState[]>("toasts", () => []);
11
-
12
- watch(
13
- toasts,
14
- (list) => {
15
- for (const toast of list) {
16
- const icon = resolveAdsToastIcon(toast.color, toast.icon);
17
- if (toast.icon !== icon) {
18
- toast.icon = icon;
19
- }
20
- }
21
- },
22
- { deep: true, flush: "sync" },
23
- );
24
- });
1
+ import { watch } from "vue";
2
+ import { resolveAdsToastIcon } from "../theme/ads-theme";
3
+
4
+ interface AdsToastState {
5
+ color?: string;
6
+ icon?: unknown;
7
+ }
8
+
9
+ export default defineNuxtPlugin(() => {
10
+ const toasts = useState<AdsToastState[]>("toasts", () => []);
11
+
12
+ watch(
13
+ toasts,
14
+ (list) => {
15
+ for (const toast of list) {
16
+ const icon = resolveAdsToastIcon(toast.color, toast.icon);
17
+ if (toast.icon !== icon) {
18
+ toast.icon = icon;
19
+ }
20
+ }
21
+ },
22
+ { deep: true, flush: "sync" },
23
+ );
24
+ });