@rainersoft/design-tokens 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +593 -544
- package/dist/index.d.ts +1714 -103
- package/dist/index.mjs +2 -1116
- package/dist/index.mjs.map +1 -1
- package/formats/tailwind.config.ts +64 -6
- package/formats/tokens.json +2 -2
- package/package.json +15 -12
- package/themes/dark.ts +2 -2
- package/themes/index.ts +2 -2
- package/themes/light.ts +2 -2
- package/tokens/accessibility.ts +1 -1
- package/tokens/animations.json +83 -0
- package/tokens/breakpoints.json +30 -0
- package/tokens/components/celestial-background.json +106 -0
- package/tokens/effects.json +125 -0
- package/tokens/hero.json +69 -0
- package/tokens/index.ts +156 -9
- package/tokens/motion.json +33 -0
- package/tokens/utilities.ts +594 -177
- package/tokens/z-index.json +27 -0
- package/dist/index.cjs +0 -1190
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -5853
package/dist/index.d.ts
CHANGED
|
@@ -566,7 +566,7 @@ var darkColors = {
|
|
|
566
566
|
colors: colors
|
|
567
567
|
};
|
|
568
568
|
|
|
569
|
-
var typography
|
|
569
|
+
var typography = {
|
|
570
570
|
fontFamily: {
|
|
571
571
|
sans: "ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",
|
|
572
572
|
serif: "ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif",
|
|
@@ -826,11 +826,11 @@ var typography$1 = {
|
|
|
826
826
|
}
|
|
827
827
|
}
|
|
828
828
|
};
|
|
829
|
-
var typography = {
|
|
830
|
-
typography: typography
|
|
829
|
+
var typography$1 = {
|
|
830
|
+
typography: typography
|
|
831
831
|
};
|
|
832
832
|
|
|
833
|
-
var spacing
|
|
833
|
+
var spacing = {
|
|
834
834
|
"0": "0px",
|
|
835
835
|
"1": "0.25rem",
|
|
836
836
|
"2": "0.5rem",
|
|
@@ -867,11 +867,11 @@ var spacing$1 = {
|
|
|
867
867
|
"2.5": "0.625rem",
|
|
868
868
|
"3.5": "0.875rem"
|
|
869
869
|
};
|
|
870
|
-
var spacing = {
|
|
871
|
-
spacing: spacing
|
|
870
|
+
var spacing$1 = {
|
|
871
|
+
spacing: spacing
|
|
872
872
|
};
|
|
873
873
|
|
|
874
|
-
var radius
|
|
874
|
+
var radius = {
|
|
875
875
|
none: "0px",
|
|
876
876
|
sm: "0.125rem",
|
|
877
877
|
base: "0.25rem",
|
|
@@ -882,11 +882,11 @@ var radius$1 = {
|
|
|
882
882
|
"3xl": "1.5rem",
|
|
883
883
|
full: "9999px"
|
|
884
884
|
};
|
|
885
|
-
var radius = {
|
|
886
|
-
radius: radius
|
|
885
|
+
var radius$1 = {
|
|
886
|
+
radius: radius
|
|
887
887
|
};
|
|
888
888
|
|
|
889
|
-
var shadows
|
|
889
|
+
var shadows = {
|
|
890
890
|
light: {
|
|
891
891
|
xs: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
|
|
892
892
|
sm: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",
|
|
@@ -914,9 +914,213 @@ var shadows$1 = {
|
|
|
914
914
|
}
|
|
915
915
|
}
|
|
916
916
|
};
|
|
917
|
-
var shadows = {
|
|
918
|
-
shadows: shadows
|
|
917
|
+
var shadows$1 = {
|
|
918
|
+
shadows: shadows
|
|
919
|
+
};
|
|
920
|
+
|
|
921
|
+
var animations = {
|
|
922
|
+
"accordion-down": {
|
|
923
|
+
name: "accordion-down",
|
|
924
|
+
duration: "0.2s",
|
|
925
|
+
timingFunction: "ease-out",
|
|
926
|
+
keyframes: {
|
|
927
|
+
from: {
|
|
928
|
+
height: "0"
|
|
929
|
+
},
|
|
930
|
+
to: {
|
|
931
|
+
height: "var(--radix-accordion-content-height)"
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
},
|
|
935
|
+
"accordion-up": {
|
|
936
|
+
name: "accordion-up",
|
|
937
|
+
duration: "0.2s",
|
|
938
|
+
timingFunction: "ease-out",
|
|
939
|
+
keyframes: {
|
|
940
|
+
from: {
|
|
941
|
+
height: "var(--radix-accordion-content-height)"
|
|
942
|
+
},
|
|
943
|
+
to: {
|
|
944
|
+
height: "0"
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
},
|
|
948
|
+
"slide-in": {
|
|
949
|
+
name: "slide-in",
|
|
950
|
+
duration: "0.3s",
|
|
951
|
+
timingFunction: "ease-out",
|
|
952
|
+
keyframes: {
|
|
953
|
+
"0%": {
|
|
954
|
+
transform: "translateY(-10px)",
|
|
955
|
+
opacity: "0"
|
|
956
|
+
},
|
|
957
|
+
"100%": {
|
|
958
|
+
transform: "translateY(0)",
|
|
959
|
+
opacity: "1"
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
},
|
|
963
|
+
"fade-in": {
|
|
964
|
+
name: "fade-in",
|
|
965
|
+
duration: "0.5s",
|
|
966
|
+
timingFunction: "ease-in",
|
|
967
|
+
keyframes: {
|
|
968
|
+
"0%": {
|
|
969
|
+
opacity: "0"
|
|
970
|
+
},
|
|
971
|
+
"100%": {
|
|
972
|
+
opacity: "1"
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
},
|
|
976
|
+
glitch: {
|
|
977
|
+
name: "glitch",
|
|
978
|
+
duration: "4s",
|
|
979
|
+
timingFunction: "linear",
|
|
980
|
+
iterationCount: "infinite",
|
|
981
|
+
keyframes: {
|
|
982
|
+
"0%, 100%": {
|
|
983
|
+
transform: "translate(0)"
|
|
984
|
+
},
|
|
985
|
+
"10%": {
|
|
986
|
+
transform: "translate(-2px, 2px)"
|
|
987
|
+
},
|
|
988
|
+
"20%": {
|
|
989
|
+
transform: "translate(2px, -2px)"
|
|
990
|
+
},
|
|
991
|
+
"30%, 50%, 70%, 90%": {
|
|
992
|
+
transform: "translate(0)"
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
},
|
|
996
|
+
"neon-pulse": {
|
|
997
|
+
name: "neon-pulse",
|
|
998
|
+
duration: "2s",
|
|
999
|
+
timingFunction: "ease-in-out",
|
|
1000
|
+
iterationCount: "infinite",
|
|
1001
|
+
direction: "alternate",
|
|
1002
|
+
keyframes: {
|
|
1003
|
+
"0%, 100%": {
|
|
1004
|
+
filter: "brightness(1) saturate(1)"
|
|
1005
|
+
},
|
|
1006
|
+
"50%": {
|
|
1007
|
+
filter: "brightness(1.3) saturate(1.2)"
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
},
|
|
1011
|
+
flicker: {
|
|
1012
|
+
name: "flicker",
|
|
1013
|
+
duration: "2s",
|
|
1014
|
+
timingFunction: "linear",
|
|
1015
|
+
iterationCount: "infinite",
|
|
1016
|
+
keyframes: {
|
|
1017
|
+
"0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100%": {
|
|
1018
|
+
opacity: "1",
|
|
1019
|
+
filter: "brightness(1.2)"
|
|
1020
|
+
},
|
|
1021
|
+
"20%, 21.999%, 63%, 63.999%, 65%, 69.999%": {
|
|
1022
|
+
opacity: "0.85",
|
|
1023
|
+
filter: "brightness(0.9)"
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
},
|
|
1027
|
+
"scan-line": {
|
|
1028
|
+
name: "scan-line",
|
|
1029
|
+
duration: "4s",
|
|
1030
|
+
timingFunction: "linear",
|
|
1031
|
+
iterationCount: "infinite",
|
|
1032
|
+
keyframes: {
|
|
1033
|
+
"0%": {
|
|
1034
|
+
top: "0"
|
|
1035
|
+
},
|
|
1036
|
+
"100%": {
|
|
1037
|
+
top: "100%"
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
},
|
|
1041
|
+
"glitch-after": {
|
|
1042
|
+
name: "glitch-after",
|
|
1043
|
+
duration: "3s",
|
|
1044
|
+
timingFunction: "linear",
|
|
1045
|
+
iterationCount: "infinite",
|
|
1046
|
+
keyframes: {
|
|
1047
|
+
"0%, 100%": {
|
|
1048
|
+
opacity: "0"
|
|
1049
|
+
},
|
|
1050
|
+
"5%, 10%": {
|
|
1051
|
+
opacity: "0.8",
|
|
1052
|
+
transform: "translate(-3px, 3px)"
|
|
1053
|
+
},
|
|
1054
|
+
"15%, 95%": {
|
|
1055
|
+
opacity: "0"
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
};
|
|
1060
|
+
var animations$1 = {
|
|
1061
|
+
animations: animations
|
|
1062
|
+
};
|
|
1063
|
+
|
|
1064
|
+
var motion = {
|
|
1065
|
+
duration: {
|
|
1066
|
+
instant: "0ms",
|
|
1067
|
+
fast: "100ms",
|
|
1068
|
+
normal: "200ms",
|
|
1069
|
+
slow: "300ms",
|
|
1070
|
+
slower: "500ms",
|
|
1071
|
+
slowest: "800ms"
|
|
1072
|
+
},
|
|
1073
|
+
easing: {
|
|
1074
|
+
linear: "linear",
|
|
1075
|
+
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
1076
|
+
easeOut: "cubic-bezier(0, 0, 0.2, 1)",
|
|
1077
|
+
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
1078
|
+
easeInQuad: "cubic-bezier(0.55, 0.085, 0.68, 0.53)",
|
|
1079
|
+
easeOutQuad: "cubic-bezier(0.25, 0.46, 0.45, 0.94)",
|
|
1080
|
+
easeInOutQuad: "cubic-bezier(0.455, 0.03, 0.515, 0.955)",
|
|
1081
|
+
easeInCubic: "cubic-bezier(0.55, 0.055, 0.675, 0.19)",
|
|
1082
|
+
easeOutCubic: "cubic-bezier(0.215, 0.61, 0.355, 1)",
|
|
1083
|
+
easeInOutCubic: "cubic-bezier(0.645, 0.045, 0.355, 1)",
|
|
1084
|
+
spring: "cubic-bezier(0.68, -0.55, 0.265, 1.55)"
|
|
1085
|
+
},
|
|
1086
|
+
delay: {
|
|
1087
|
+
none: "0ms",
|
|
1088
|
+
short: "50ms",
|
|
1089
|
+
medium: "100ms",
|
|
1090
|
+
long: "200ms"
|
|
1091
|
+
}
|
|
1092
|
+
};
|
|
1093
|
+
var motion$1 = {
|
|
1094
|
+
motion: motion
|
|
1095
|
+
};
|
|
1096
|
+
|
|
1097
|
+
var breakpoints = {
|
|
1098
|
+
xs: "0px",
|
|
1099
|
+
sm: "640px",
|
|
1100
|
+
md: "768px",
|
|
1101
|
+
lg: "1024px",
|
|
1102
|
+
xl: "1280px",
|
|
1103
|
+
"2xl": "1536px",
|
|
1104
|
+
"3xl": "1920px"
|
|
1105
|
+
};
|
|
1106
|
+
var breakpoints$1 = {
|
|
1107
|
+
breakpoints: breakpoints};
|
|
1108
|
+
|
|
1109
|
+
var zIndex = {
|
|
1110
|
+
base: 0,
|
|
1111
|
+
dropdown: 1000,
|
|
1112
|
+
sticky: 1020,
|
|
1113
|
+
fixed: 1030,
|
|
1114
|
+
modalBackdrop: 1040,
|
|
1115
|
+
modal: 1050,
|
|
1116
|
+
popover: 1060,
|
|
1117
|
+
tooltip: 1070,
|
|
1118
|
+
toast: 1080,
|
|
1119
|
+
notification: 1090,
|
|
1120
|
+
max: 9999
|
|
919
1121
|
};
|
|
1122
|
+
var zIndex$1 = {
|
|
1123
|
+
zIndex: zIndex};
|
|
920
1124
|
|
|
921
1125
|
/**
|
|
922
1126
|
* @fileoverview Tokens utilitários - Classes Tailwind CSS
|
|
@@ -927,7 +1131,7 @@ var shadows = {
|
|
|
927
1131
|
* facilitando o desenvolvimento e garantindo consistência visual.
|
|
928
1132
|
*
|
|
929
1133
|
* @module tokens/utilities
|
|
930
|
-
* @version
|
|
1134
|
+
* @version 2.0.0
|
|
931
1135
|
* @author Rainer Teixeira
|
|
932
1136
|
* @since 1.0.0
|
|
933
1137
|
*/
|
|
@@ -953,21 +1157,21 @@ var shadows = {
|
|
|
953
1157
|
*
|
|
954
1158
|
* @example
|
|
955
1159
|
* ```typescript
|
|
956
|
-
* import { GRADIENT_DIRECTIONS } from '
|
|
1160
|
+
* import { GRADIENT_DIRECTIONS } from '@rainersoft/design-tokens';
|
|
957
1161
|
*
|
|
958
1162
|
* // Aplicar gradiente de cima para baixo
|
|
959
1163
|
* <div className={GRADIENT_DIRECTIONS.TO_BOTTOM}>
|
|
960
1164
|
* ```
|
|
961
1165
|
*/
|
|
962
1166
|
declare const GRADIENT_DIRECTIONS: {
|
|
963
|
-
readonly TO_TOP: "bg-
|
|
964
|
-
readonly TO_BOTTOM: "bg-
|
|
965
|
-
readonly TO_LEFT: "bg-
|
|
966
|
-
readonly TO_RIGHT: "bg-
|
|
967
|
-
readonly TO_TL: "bg-
|
|
968
|
-
readonly TO_TR: "bg-
|
|
969
|
-
readonly TO_BL: "bg-
|
|
970
|
-
readonly TO_BR: "bg-
|
|
1167
|
+
readonly TO_TOP: "bg-linear-to-t";
|
|
1168
|
+
readonly TO_BOTTOM: "bg-linear-to-b";
|
|
1169
|
+
readonly TO_LEFT: "bg-linear-to-l";
|
|
1170
|
+
readonly TO_RIGHT: "bg-linear-to-r";
|
|
1171
|
+
readonly TO_TL: "bg-linear-to-tl";
|
|
1172
|
+
readonly TO_TR: "bg-linear-to-tr";
|
|
1173
|
+
readonly TO_BL: "bg-linear-to-bl";
|
|
1174
|
+
readonly TO_BR: "bg-linear-to-br";
|
|
971
1175
|
};
|
|
972
1176
|
/**
|
|
973
1177
|
* Gradientes decorativos e utilitários como classes Tailwind CSS
|
|
@@ -989,7 +1193,7 @@ declare const GRADIENT_DIRECTIONS: {
|
|
|
989
1193
|
*
|
|
990
1194
|
* @example
|
|
991
1195
|
* ```typescript
|
|
992
|
-
* import { GRADIENTS } from '
|
|
1196
|
+
* import { GRADIENTS } from '@rainersoft/design-tokens';
|
|
993
1197
|
*
|
|
994
1198
|
* // Aplicar gradiente em texto
|
|
995
1199
|
* <h1 className={GRADIENTS.TEXT_PRIMARY}>Título com Gradiente</h1>
|
|
@@ -1028,7 +1232,7 @@ declare const GRADIENTS: {
|
|
|
1028
1232
|
*
|
|
1029
1233
|
* @example
|
|
1030
1234
|
* ```typescript
|
|
1031
|
-
* import { BACKGROUND } from '
|
|
1235
|
+
* import { BACKGROUND } from '@rainersoft/design-tokens';
|
|
1032
1236
|
*
|
|
1033
1237
|
* // Aplicar background de seção
|
|
1034
1238
|
* <section className={BACKGROUND.SECTION_CYAN}>
|
|
@@ -1041,6 +1245,80 @@ declare const GRADIENTS: {
|
|
|
1041
1245
|
* </div>
|
|
1042
1246
|
* ```
|
|
1043
1247
|
*/
|
|
1248
|
+
/**
|
|
1249
|
+
* Gradientes compostos - Direção + Cores (Padrão Enterprise)
|
|
1250
|
+
*
|
|
1251
|
+
* @description
|
|
1252
|
+
* Combina direção e cores em um único token para uso direto.
|
|
1253
|
+
* Elimina necessidade de concatenar strings manualmente.
|
|
1254
|
+
* Padrão usado por grandes empresas (Google Material, Microsoft Fluent, Shopify Polaris).
|
|
1255
|
+
*
|
|
1256
|
+
* @type {Object}
|
|
1257
|
+
* @property {string} HORIZONTAL_PRIMARY - Gradiente horizontal com cores primárias
|
|
1258
|
+
* @property {string} HORIZONTAL_SECONDARY - Gradiente horizontal com cores secundárias
|
|
1259
|
+
* @property {string} HORIZONTAL_DECORATIVE - Gradiente horizontal decorativo
|
|
1260
|
+
* @property {string} VERTICAL_PRIMARY - Gradiente vertical com cores primárias
|
|
1261
|
+
* @property {string} VERTICAL_SECONDARY - Gradiente vertical com cores secundárias
|
|
1262
|
+
* @property {string} DIAGONAL_PRIMARY - Gradiente diagonal com cores primárias
|
|
1263
|
+
* @property {string} DIAGONAL_SECONDARY - Gradiente diagonal com cores secundárias
|
|
1264
|
+
*
|
|
1265
|
+
* @constant
|
|
1266
|
+
* @readonly
|
|
1267
|
+
*
|
|
1268
|
+
* @example
|
|
1269
|
+
* ```typescript
|
|
1270
|
+
* import { GRADIENT_COMPOSITES } from '@rainersoft/design-tokens';
|
|
1271
|
+
*
|
|
1272
|
+
* // Usar diretamente sem concatenar
|
|
1273
|
+
* <div className={GRADIENT_COMPOSITES.HORIZONTAL_PRIMARY}>
|
|
1274
|
+
* Conteúdo
|
|
1275
|
+
* </div>
|
|
1276
|
+
* ```
|
|
1277
|
+
*/
|
|
1278
|
+
declare const GRADIENT_COMPOSITES: {
|
|
1279
|
+
readonly HORIZONTAL_PRIMARY: "bg-linear-to-r bg-linear-to-r from-[var(--color-primary-base)] to-[var(--color-primary-hover)]";
|
|
1280
|
+
readonly HORIZONTAL_SECONDARY: "bg-linear-to-r bg-linear-to-r from-[var(--color-secondary-base)] to-[var(--color-accent-base)]";
|
|
1281
|
+
readonly HORIZONTAL_DECORATIVE: "bg-linear-to-r bg-linear-to-br from-[var(--color-primary-base)] via-[var(--color-secondary-base)] to-[var(--color-accent-base)]";
|
|
1282
|
+
readonly HORIZONTAL_CYAN_PURPLE: "bg-linear-to-r bg-linear-to-r from-[var(--color-primary-base)] to-[var(--color-secondary-base)]";
|
|
1283
|
+
readonly VERTICAL_PRIMARY: "bg-linear-to-b bg-linear-to-r from-[var(--color-primary-base)] to-[var(--color-primary-hover)]";
|
|
1284
|
+
readonly VERTICAL_SECONDARY: "bg-linear-to-b bg-linear-to-r from-[var(--color-secondary-base)] to-[var(--color-accent-base)]";
|
|
1285
|
+
readonly VERTICAL_DECORATIVE: "bg-linear-to-b bg-linear-to-br from-[var(--color-primary-base)] via-[var(--color-secondary-base)] to-[var(--color-accent-base)]";
|
|
1286
|
+
readonly DIAGONAL_PRIMARY: "bg-linear-to-br bg-linear-to-br from-[var(--color-primary-base)] via-[var(--color-secondary-base)] to-[var(--color-accent-base)]";
|
|
1287
|
+
readonly DIAGONAL_SECONDARY: "bg-linear-to-br bg-linear-to-r from-[var(--color-primary-base)] to-[var(--color-secondary-base)]";
|
|
1288
|
+
readonly DIAGONAL_GREEN_EMERALD: "bg-linear-to-br bg-linear-to-br from-[var(--color-status-success)] to-[var(--color-accent-base)]";
|
|
1289
|
+
};
|
|
1290
|
+
/**
|
|
1291
|
+
* Gradientes de cores específicas usando tokens de cor
|
|
1292
|
+
*
|
|
1293
|
+
* @description
|
|
1294
|
+
* Elimina valores hardcoded como "from-gray-500". Todos os gradientes
|
|
1295
|
+
* usam tokens de cor do sistema para garantir consistência.
|
|
1296
|
+
*
|
|
1297
|
+
* @type {Object}
|
|
1298
|
+
* @property {string} GRAY_SCALE - Gradiente em escala de cinza usando tokens
|
|
1299
|
+
* @property {string} BLUE_SCALE - Gradiente em escala de azul usando tokens primários
|
|
1300
|
+
* @property {string} SUCCESS_SCALE - Gradiente em escala de verde (sucesso) usando tokens
|
|
1301
|
+
* @property {string} TEXT_MUTED - Gradiente para texto muted usando tokens
|
|
1302
|
+
*
|
|
1303
|
+
* @constant
|
|
1304
|
+
* @readonly
|
|
1305
|
+
*
|
|
1306
|
+
* @example
|
|
1307
|
+
* ```typescript
|
|
1308
|
+
* import { GRADIENT_COLORS } from '@rainersoft/design-tokens';
|
|
1309
|
+
*
|
|
1310
|
+
* // Usar gradiente de cinza sem valores hardcoded
|
|
1311
|
+
* <div className={GRADIENT_COLORS.GRAY_SCALE}>
|
|
1312
|
+
* Conteúdo
|
|
1313
|
+
* </div>
|
|
1314
|
+
* ```
|
|
1315
|
+
*/
|
|
1316
|
+
declare const GRADIENT_COLORS: {
|
|
1317
|
+
readonly GRAY_SCALE: "bg-linear-to-r from-[var(--color-text-tertiary)] to-[var(--color-text-secondary)]";
|
|
1318
|
+
readonly BLUE_SCALE: "bg-linear-to-r from-[var(--color-primary-base)] to-[var(--color-primary-hover)]";
|
|
1319
|
+
readonly SUCCESS_SCALE: "bg-linear-to-r from-[var(--color-status-success)] to-[var(--color-status-success-hover)]";
|
|
1320
|
+
readonly TEXT_MUTED: "bg-linear-to-r from-[var(--color-text-tertiary)] to-[var(--color-text-secondary)]";
|
|
1321
|
+
};
|
|
1044
1322
|
declare const BACKGROUND: {
|
|
1045
1323
|
readonly FULL: "bg-[var(--color-background-primary)]";
|
|
1046
1324
|
readonly GRADIENT_OVERLAY: "bg-linear-to-br from-[var(--color-primary-base)]/10 via-[var(--color-secondary-base)]/10 to-[var(--color-accent-base)]/10";
|
|
@@ -1060,6 +1338,280 @@ declare const BACKGROUND: {
|
|
|
1060
1338
|
* Útil para type-checking e autocomplete em IDEs.
|
|
1061
1339
|
*/
|
|
1062
1340
|
type GradientDirections = typeof GRADIENT_DIRECTIONS;
|
|
1341
|
+
/**
|
|
1342
|
+
* Utilidades responsivas para breakpoints
|
|
1343
|
+
*
|
|
1344
|
+
* @description
|
|
1345
|
+
* Classes e helpers para trabalhar com breakpoints responsivos,
|
|
1346
|
+
* facilitando a criação de layouts mobile-first.
|
|
1347
|
+
*
|
|
1348
|
+
* @type {Object}
|
|
1349
|
+
* @constant
|
|
1350
|
+
* @readonly
|
|
1351
|
+
*
|
|
1352
|
+
* @example
|
|
1353
|
+
* ```typescript
|
|
1354
|
+
* import { RESPONSIVE } from '@rainersoft/design-tokens';
|
|
1355
|
+
*
|
|
1356
|
+
* // Usar classes responsivas
|
|
1357
|
+
* <div className={RESPONSIVE.HIDE_ON_MOBILE}>
|
|
1358
|
+
* Visível apenas em desktop
|
|
1359
|
+
* </div>
|
|
1360
|
+
*
|
|
1361
|
+
* // Usar container responsivo
|
|
1362
|
+
* <div className={RESPONSIVE.CONTAINER.DEFAULT}>
|
|
1363
|
+
* Container com largura máxima responsiva
|
|
1364
|
+
* </div>
|
|
1365
|
+
* ```
|
|
1366
|
+
*/
|
|
1367
|
+
declare const RESPONSIVE: {
|
|
1368
|
+
readonly HIDE_ON_MOBILE: "hidden sm:block";
|
|
1369
|
+
readonly HIDE_ON_TABLET: "hidden lg:block";
|
|
1370
|
+
readonly HIDE_ON_DESKTOP: "block lg:hidden";
|
|
1371
|
+
readonly SHOW_ON_MOBILE: "block sm:hidden";
|
|
1372
|
+
readonly SHOW_ON_TABLET: "block lg:hidden";
|
|
1373
|
+
readonly SHOW_ON_DESKTOP: "hidden lg:block";
|
|
1374
|
+
readonly CONTAINER: {
|
|
1375
|
+
readonly DEFAULT: "w-full mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl";
|
|
1376
|
+
readonly FLUID: "w-full px-4 sm:px-6 lg:px-8";
|
|
1377
|
+
readonly TIGHT: "w-full mx-auto px-4 sm:px-6 lg:px-8 max-w-4xl";
|
|
1378
|
+
readonly WIDE: "w-full mx-auto px-4 sm:px-6 lg:px-8 max-w-screen-2xl";
|
|
1379
|
+
readonly PROSE: "w-full mx-auto px-4 sm:px-6 lg:px-8 max-w-prose";
|
|
1380
|
+
};
|
|
1381
|
+
readonly GRID: {
|
|
1382
|
+
readonly COLS_1_2: "grid grid-cols-1 md:grid-cols-2 gap-4";
|
|
1383
|
+
readonly COLS_1_3: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4";
|
|
1384
|
+
readonly COLS_1_4: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4";
|
|
1385
|
+
readonly COLS_2_3: "grid grid-cols-2 lg:grid-cols-3 gap-4";
|
|
1386
|
+
readonly COLS_2_4: "grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4";
|
|
1387
|
+
};
|
|
1388
|
+
readonly FLEX: {
|
|
1389
|
+
readonly MOBILE_COLUMN: "flex flex-col sm:flex-row";
|
|
1390
|
+
readonly TABLET_COLUMN: "flex flex-col lg:flex-row";
|
|
1391
|
+
readonly MOBILE_REVERSE: "flex flex-col-reverse sm:flex-row";
|
|
1392
|
+
readonly TABLET_REVERSE: "flex flex-col-reverse lg:flex-row";
|
|
1393
|
+
};
|
|
1394
|
+
readonly TEXT: {
|
|
1395
|
+
readonly MOBILE_CENTER: "text-center sm:text-left";
|
|
1396
|
+
readonly TABLET_CENTER: "text-center lg:text-left";
|
|
1397
|
+
readonly RESPONSIVE_SIZE: "text-sm sm:text-base lg:text-lg";
|
|
1398
|
+
readonly HEADING_SIZE: "text-2xl sm:text-3xl lg:text-4xl xl:text-5xl";
|
|
1399
|
+
};
|
|
1400
|
+
readonly SPACING: {
|
|
1401
|
+
readonly MOBILE_TIGHT: "p-2 sm:p-4 lg:p-6";
|
|
1402
|
+
readonly TABLET_TIGHT: "p-4 lg:p-8";
|
|
1403
|
+
readonly RESPONSIVE_Y: "py-4 sm:py-6 lg:py-8 xl:py-12";
|
|
1404
|
+
readonly RESPONSIVE_X: "px-4 sm:px-6 lg:px-8";
|
|
1405
|
+
};
|
|
1406
|
+
};
|
|
1407
|
+
/**
|
|
1408
|
+
* Helpers de motion para animações
|
|
1409
|
+
*
|
|
1410
|
+
* @description
|
|
1411
|
+
* Classes utilitárias para aplicar motion tokens diretamente
|
|
1412
|
+
* em elementos usando Tailwind CSS.
|
|
1413
|
+
*
|
|
1414
|
+
* @type {Object}
|
|
1415
|
+
* @constant
|
|
1416
|
+
* @readonly
|
|
1417
|
+
*
|
|
1418
|
+
* @example
|
|
1419
|
+
* ```typescript
|
|
1420
|
+
* import { MOTION } from '@rainersoft/design-tokens';
|
|
1421
|
+
*
|
|
1422
|
+
* // Aplicar transição suave
|
|
1423
|
+
* <button className={MOTION.TRANSITION.DEFAULT}>
|
|
1424
|
+
* Clique aqui
|
|
1425
|
+
* </button>
|
|
1426
|
+
*
|
|
1427
|
+
* // Aplicar animação de entrada
|
|
1428
|
+
* <div className={MOTION.ANIMATE.FADE_IN}>
|
|
1429
|
+
* Conteúdo animado
|
|
1430
|
+
* </div>
|
|
1431
|
+
* ```
|
|
1432
|
+
*/
|
|
1433
|
+
declare const MOTION: {
|
|
1434
|
+
readonly TRANSITION: {
|
|
1435
|
+
readonly DEFAULT: "transition-all duration-200 ease-in-out";
|
|
1436
|
+
readonly FAST: "transition-all duration-100 ease-out";
|
|
1437
|
+
readonly SLOW: "transition-all duration-300 ease-in-out";
|
|
1438
|
+
readonly COLOR: "transition-colors duration-200 ease-in-out";
|
|
1439
|
+
readonly TRANSFORM: "transition-transform duration-200 ease-in-out";
|
|
1440
|
+
readonly OPACITY: "transition-opacity duration-150 ease-in-out";
|
|
1441
|
+
readonly SHADOW: "transition-shadow duration-200 ease-in-out";
|
|
1442
|
+
};
|
|
1443
|
+
readonly ANIMATE: {
|
|
1444
|
+
readonly FADE_IN: "animate-fadeIn";
|
|
1445
|
+
readonly FADE_OUT: "animate-fadeOut";
|
|
1446
|
+
readonly SLIDE_IN_UP: "animate-slideInUp";
|
|
1447
|
+
readonly SLIDE_IN_DOWN: "animate-slideInDown";
|
|
1448
|
+
readonly SLIDE_IN_LEFT: "animate-slideInLeft";
|
|
1449
|
+
readonly SLIDE_IN_RIGHT: "animate-slideInRight";
|
|
1450
|
+
readonly SCALE_IN: "animate-scaleIn";
|
|
1451
|
+
readonly SCALE_OUT: "animate-scaleOut";
|
|
1452
|
+
readonly ROTATE: "animate-rotate";
|
|
1453
|
+
readonly PULSE: "animate-pulse";
|
|
1454
|
+
readonly BOUNCE: "animate-bounce";
|
|
1455
|
+
readonly SHAKE: "animate-shake";
|
|
1456
|
+
readonly FLASH: "animate-flash";
|
|
1457
|
+
};
|
|
1458
|
+
readonly DURATION: {
|
|
1459
|
+
readonly INSTANT: "duration-0";
|
|
1460
|
+
readonly FAST: "duration-100";
|
|
1461
|
+
readonly NORMAL: "duration-200";
|
|
1462
|
+
readonly SLOW: "duration-300";
|
|
1463
|
+
readonly SLOWER: "duration-500";
|
|
1464
|
+
readonly SLOWEST: "duration-700";
|
|
1465
|
+
};
|
|
1466
|
+
readonly DELAY: {
|
|
1467
|
+
readonly NONE: "delay-0";
|
|
1468
|
+
readonly SHORT: "delay-75";
|
|
1469
|
+
readonly MEDIUM: "delay-150";
|
|
1470
|
+
readonly LONG: "delay-300";
|
|
1471
|
+
readonly LONGER: "delay-500";
|
|
1472
|
+
};
|
|
1473
|
+
};
|
|
1474
|
+
/**
|
|
1475
|
+
* Constantes de cores principais para uso direto
|
|
1476
|
+
*
|
|
1477
|
+
* @description
|
|
1478
|
+
* Cores principais do tema light para uso direto em componentes.
|
|
1479
|
+
* Retorna valores hexadecimais das cores base.
|
|
1480
|
+
*
|
|
1481
|
+
* @type {Object}
|
|
1482
|
+
* @constant
|
|
1483
|
+
* @readonly
|
|
1484
|
+
*
|
|
1485
|
+
* @example
|
|
1486
|
+
* ```typescript
|
|
1487
|
+
* import { COLORS } from '@rainersoft/design-tokens';
|
|
1488
|
+
*
|
|
1489
|
+
* // Usar cor primária
|
|
1490
|
+
* const primaryColor = COLORS.primary; // "#0891b2"
|
|
1491
|
+
*
|
|
1492
|
+
* // Usar em estilo inline
|
|
1493
|
+
* <div style={{ color: COLORS.primary }}>
|
|
1494
|
+
* Texto com cor primária
|
|
1495
|
+
* </div>
|
|
1496
|
+
* ```
|
|
1497
|
+
*/
|
|
1498
|
+
declare const COLORS: {
|
|
1499
|
+
readonly primary: "#0891b2";
|
|
1500
|
+
readonly secondary: "#9333ea";
|
|
1501
|
+
readonly accent: "#db2777";
|
|
1502
|
+
readonly success: "#22c55e";
|
|
1503
|
+
readonly warning: "#f59e0b";
|
|
1504
|
+
readonly error: "#ef4444";
|
|
1505
|
+
readonly info: "#0891b2";
|
|
1506
|
+
};
|
|
1507
|
+
/**
|
|
1508
|
+
* Estrutura de navegação padrão
|
|
1509
|
+
*
|
|
1510
|
+
* @description
|
|
1511
|
+
* Array de itens de navegação para uso em componentes de layout.
|
|
1512
|
+
* Pode ser sobrescrito ou estendido conforme necessário.
|
|
1513
|
+
*
|
|
1514
|
+
* @type {Array<{href: string, label: string}>}
|
|
1515
|
+
* @constant
|
|
1516
|
+
*
|
|
1517
|
+
* @example
|
|
1518
|
+
* ```typescript
|
|
1519
|
+
* import { NAVIGATION } from '@rainersoft/design-tokens';
|
|
1520
|
+
*
|
|
1521
|
+
* // Usar em componente
|
|
1522
|
+
* {NAVIGATION.map(item => (
|
|
1523
|
+
* <Link key={item.href} href={item.href}>
|
|
1524
|
+
* {item.label}
|
|
1525
|
+
* </Link>
|
|
1526
|
+
* ))}
|
|
1527
|
+
* ```
|
|
1528
|
+
*/
|
|
1529
|
+
declare const NAVIGATION: Array<{
|
|
1530
|
+
href: string;
|
|
1531
|
+
label: string;
|
|
1532
|
+
}>;
|
|
1533
|
+
/**
|
|
1534
|
+
* Helpers de shadows (sombras) como classes Tailwind CSS
|
|
1535
|
+
*
|
|
1536
|
+
* @description
|
|
1537
|
+
* Classes utilitárias para aplicar shadows tokens consistentes
|
|
1538
|
+
* usando valores pré-definidos do tema light.
|
|
1539
|
+
*
|
|
1540
|
+
* @type {Object}
|
|
1541
|
+
* @constant
|
|
1542
|
+
* @readonly
|
|
1543
|
+
*
|
|
1544
|
+
* @example
|
|
1545
|
+
* ```typescript
|
|
1546
|
+
* import { SHADOWS } from '@rainersoft/design-tokens';
|
|
1547
|
+
*
|
|
1548
|
+
* // Aplicar shadow large
|
|
1549
|
+
* <div className={SHADOWS.LARGE}>
|
|
1550
|
+
* Content with large shadow
|
|
1551
|
+
* </div>
|
|
1552
|
+
* ```
|
|
1553
|
+
*/
|
|
1554
|
+
declare const SHADOWS: {
|
|
1555
|
+
readonly XS: "shadow-xs";
|
|
1556
|
+
readonly SMALL: "shadow-sm";
|
|
1557
|
+
readonly BASE: "shadow";
|
|
1558
|
+
readonly MEDIUM: "shadow-md";
|
|
1559
|
+
readonly LARGE: "shadow-lg";
|
|
1560
|
+
readonly XL: "shadow-xl";
|
|
1561
|
+
readonly '2XL': "shadow-2xl";
|
|
1562
|
+
readonly INNER: "shadow-inner";
|
|
1563
|
+
};
|
|
1564
|
+
/**
|
|
1565
|
+
* Helpers de z-index para camadas
|
|
1566
|
+
*
|
|
1567
|
+
* @description
|
|
1568
|
+
* Classes utilitárias para aplicar z-index tokens consistentes
|
|
1569
|
+
* usando valores pré-definidos.
|
|
1570
|
+
*
|
|
1571
|
+
* @type {Object}
|
|
1572
|
+
* @constant
|
|
1573
|
+
* @readonly
|
|
1574
|
+
*
|
|
1575
|
+
* @example
|
|
1576
|
+
* ```typescript
|
|
1577
|
+
* import { Z_INDEX } from '@rainersoft/design-tokens';
|
|
1578
|
+
*
|
|
1579
|
+
* // Aplicar z-index para modal
|
|
1580
|
+
* <div className={Z_INDEX.MODAL}>
|
|
1581
|
+
* Modal content
|
|
1582
|
+
* </div>
|
|
1583
|
+
* ```
|
|
1584
|
+
*/
|
|
1585
|
+
declare const Z_INDEX: {
|
|
1586
|
+
readonly BASE: "z-0";
|
|
1587
|
+
readonly DROPDOWN: "z-[1000]";
|
|
1588
|
+
readonly STICKY: "z-[1020]";
|
|
1589
|
+
readonly FIXED: "z-[1030]";
|
|
1590
|
+
readonly BACKDROP: "z-[1040]";
|
|
1591
|
+
readonly MODAL: "z-[1050]";
|
|
1592
|
+
readonly POPOVER: "z-[1060]";
|
|
1593
|
+
readonly TOOLTIP: "z-[1070]";
|
|
1594
|
+
readonly TOAST: "z-[1080]";
|
|
1595
|
+
readonly SPOTLIGHT: "z-[1090]";
|
|
1596
|
+
readonly PRIORITY: "z-[1100]";
|
|
1597
|
+
readonly MAX: "z-[2147483647]";
|
|
1598
|
+
};
|
|
1599
|
+
/**
|
|
1600
|
+
* Tipo TypeScript para cores
|
|
1601
|
+
*
|
|
1602
|
+
* @typedef {Object} Colors
|
|
1603
|
+
* @description
|
|
1604
|
+
* Tipo que representa todas as cores principais disponíveis.
|
|
1605
|
+
*/
|
|
1606
|
+
type Colors = typeof COLORS;
|
|
1607
|
+
/**
|
|
1608
|
+
* Tipo TypeScript para navegação
|
|
1609
|
+
*
|
|
1610
|
+
* @typedef {Array<{href: string, label: string}>} Navigation
|
|
1611
|
+
* @description
|
|
1612
|
+
* Tipo que representa a estrutura de navegação.
|
|
1613
|
+
*/
|
|
1614
|
+
type Navigation = typeof NAVIGATION;
|
|
1063
1615
|
/**
|
|
1064
1616
|
* Tipo TypeScript para gradientes
|
|
1065
1617
|
*
|
|
@@ -1068,6 +1620,22 @@ type GradientDirections = typeof GRADIENT_DIRECTIONS;
|
|
|
1068
1620
|
* Tipo que representa todos os gradientes pré-configurados disponíveis.
|
|
1069
1621
|
*/
|
|
1070
1622
|
type Gradients = typeof GRADIENTS;
|
|
1623
|
+
/**
|
|
1624
|
+
* Tipo TypeScript para gradientes compostos
|
|
1625
|
+
*
|
|
1626
|
+
* @typedef {Object} GradientComposites
|
|
1627
|
+
* @description
|
|
1628
|
+
* Tipo que representa todos os gradientes compostos (direção + cores).
|
|
1629
|
+
*/
|
|
1630
|
+
type GradientComposites = typeof GRADIENT_COMPOSITES;
|
|
1631
|
+
/**
|
|
1632
|
+
* Tipo TypeScript para gradientes de cores
|
|
1633
|
+
*
|
|
1634
|
+
* @typedef {Object} GradientColors
|
|
1635
|
+
* @description
|
|
1636
|
+
* Tipo que representa todos os gradientes de cores específicas.
|
|
1637
|
+
*/
|
|
1638
|
+
type GradientColors = typeof GRADIENT_COLORS;
|
|
1071
1639
|
/**
|
|
1072
1640
|
* Tipo TypeScript para backgrounds
|
|
1073
1641
|
*
|
|
@@ -1086,7 +1654,7 @@ type Background = typeof BACKGROUND;
|
|
|
1086
1654
|
* qualquer ambiente (web, mobile, desktop).
|
|
1087
1655
|
*
|
|
1088
1656
|
* @module tokens/accessibility
|
|
1089
|
-
* @version
|
|
1657
|
+
* @version 2.0.0
|
|
1090
1658
|
* @author Rainer Teixeira
|
|
1091
1659
|
* @since 1.0.0
|
|
1092
1660
|
*/
|
|
@@ -1261,7 +1829,7 @@ declare function validateContrast(foreground: string, background: string, option
|
|
|
1261
1829
|
* framework ou tecnologia, garantindo consistência visual.
|
|
1262
1830
|
*
|
|
1263
1831
|
* @module tokens
|
|
1264
|
-
* @version
|
|
1832
|
+
* @version 2.0.0
|
|
1265
1833
|
* @author Rainer Teixeira
|
|
1266
1834
|
* @since 1.0.0
|
|
1267
1835
|
*/
|
|
@@ -1281,13 +1849,14 @@ declare function validateContrast(foreground: string, background: string, option
|
|
|
1281
1849
|
* @property {Object} spacing - Tokens de espaçamento (margens, paddings)
|
|
1282
1850
|
* @property {Object} radius - Tokens de raio de borda
|
|
1283
1851
|
* @property {Object} shadows - Tokens de sombras para ambos os temas
|
|
1852
|
+
* @property {Object} animations - Tokens de animações (keyframes e durações)
|
|
1284
1853
|
*
|
|
1285
1854
|
* @constant
|
|
1286
1855
|
* @readonly
|
|
1287
1856
|
*
|
|
1288
1857
|
* @example
|
|
1289
1858
|
* ```typescript
|
|
1290
|
-
* import { tokens } from '
|
|
1859
|
+
* import { tokens } from '@rainersoft/design-tokens';
|
|
1291
1860
|
*
|
|
1292
1861
|
* // Acessar cor primária do tema claro
|
|
1293
1862
|
* const primaryColor = tokens.colors.light.brand.primary;
|
|
@@ -2195,67 +2764,549 @@ declare const tokens: {
|
|
|
2195
2764
|
};
|
|
2196
2765
|
};
|
|
2197
2766
|
};
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2767
|
+
readonly animations: {
|
|
2768
|
+
"accordion-down": {
|
|
2769
|
+
name: string;
|
|
2770
|
+
duration: string;
|
|
2771
|
+
timingFunction: string;
|
|
2772
|
+
keyframes: {
|
|
2773
|
+
from: {
|
|
2774
|
+
height: string;
|
|
2775
|
+
};
|
|
2776
|
+
to: {
|
|
2777
|
+
height: string;
|
|
2778
|
+
};
|
|
2779
|
+
};
|
|
2780
|
+
};
|
|
2781
|
+
"accordion-up": {
|
|
2782
|
+
name: string;
|
|
2783
|
+
duration: string;
|
|
2784
|
+
timingFunction: string;
|
|
2785
|
+
keyframes: {
|
|
2786
|
+
from: {
|
|
2787
|
+
height: string;
|
|
2788
|
+
};
|
|
2789
|
+
to: {
|
|
2790
|
+
height: string;
|
|
2791
|
+
};
|
|
2792
|
+
};
|
|
2793
|
+
};
|
|
2794
|
+
"slide-in": {
|
|
2795
|
+
name: string;
|
|
2796
|
+
duration: string;
|
|
2797
|
+
timingFunction: string;
|
|
2798
|
+
keyframes: {
|
|
2799
|
+
"0%": {
|
|
2800
|
+
transform: string;
|
|
2801
|
+
opacity: string;
|
|
2802
|
+
};
|
|
2803
|
+
"100%": {
|
|
2804
|
+
transform: string;
|
|
2805
|
+
opacity: string;
|
|
2806
|
+
};
|
|
2807
|
+
};
|
|
2808
|
+
};
|
|
2809
|
+
"fade-in": {
|
|
2810
|
+
name: string;
|
|
2811
|
+
duration: string;
|
|
2812
|
+
timingFunction: string;
|
|
2813
|
+
keyframes: {
|
|
2814
|
+
"0%": {
|
|
2815
|
+
opacity: string;
|
|
2816
|
+
};
|
|
2817
|
+
"100%": {
|
|
2818
|
+
opacity: string;
|
|
2819
|
+
};
|
|
2820
|
+
};
|
|
2821
|
+
};
|
|
2822
|
+
glitch: {
|
|
2823
|
+
name: string;
|
|
2824
|
+
duration: string;
|
|
2825
|
+
timingFunction: string;
|
|
2826
|
+
iterationCount: string;
|
|
2827
|
+
keyframes: {
|
|
2828
|
+
"0%, 100%": {
|
|
2829
|
+
transform: string;
|
|
2830
|
+
};
|
|
2831
|
+
"10%": {
|
|
2832
|
+
transform: string;
|
|
2833
|
+
};
|
|
2834
|
+
"20%": {
|
|
2835
|
+
transform: string;
|
|
2836
|
+
};
|
|
2837
|
+
"30%, 50%, 70%, 90%": {
|
|
2838
|
+
transform: string;
|
|
2839
|
+
};
|
|
2840
|
+
};
|
|
2841
|
+
};
|
|
2842
|
+
"neon-pulse": {
|
|
2843
|
+
name: string;
|
|
2844
|
+
duration: string;
|
|
2845
|
+
timingFunction: string;
|
|
2846
|
+
iterationCount: string;
|
|
2847
|
+
direction: string;
|
|
2848
|
+
keyframes: {
|
|
2849
|
+
"0%, 100%": {
|
|
2850
|
+
filter: string;
|
|
2851
|
+
};
|
|
2852
|
+
"50%": {
|
|
2853
|
+
filter: string;
|
|
2854
|
+
};
|
|
2855
|
+
};
|
|
2856
|
+
};
|
|
2857
|
+
flicker: {
|
|
2858
|
+
name: string;
|
|
2859
|
+
duration: string;
|
|
2860
|
+
timingFunction: string;
|
|
2861
|
+
iterationCount: string;
|
|
2862
|
+
keyframes: {
|
|
2863
|
+
"0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100%": {
|
|
2864
|
+
opacity: string;
|
|
2865
|
+
filter: string;
|
|
2866
|
+
};
|
|
2867
|
+
"20%, 21.999%, 63%, 63.999%, 65%, 69.999%": {
|
|
2868
|
+
opacity: string;
|
|
2869
|
+
filter: string;
|
|
2870
|
+
};
|
|
2871
|
+
};
|
|
2872
|
+
};
|
|
2873
|
+
"scan-line": {
|
|
2874
|
+
name: string;
|
|
2875
|
+
duration: string;
|
|
2876
|
+
timingFunction: string;
|
|
2877
|
+
iterationCount: string;
|
|
2878
|
+
keyframes: {
|
|
2879
|
+
"0%": {
|
|
2880
|
+
top: string;
|
|
2881
|
+
};
|
|
2882
|
+
"100%": {
|
|
2883
|
+
top: string;
|
|
2884
|
+
};
|
|
2885
|
+
};
|
|
2886
|
+
};
|
|
2887
|
+
"glitch-after": {
|
|
2888
|
+
name: string;
|
|
2889
|
+
duration: string;
|
|
2890
|
+
timingFunction: string;
|
|
2891
|
+
iterationCount: string;
|
|
2892
|
+
keyframes: {
|
|
2893
|
+
"0%, 100%": {
|
|
2894
|
+
opacity: string;
|
|
2895
|
+
};
|
|
2896
|
+
"5%, 10%": {
|
|
2897
|
+
opacity: string;
|
|
2898
|
+
transform: string;
|
|
2899
|
+
};
|
|
2900
|
+
"15%, 95%": {
|
|
2901
|
+
opacity: string;
|
|
2902
|
+
};
|
|
2903
|
+
};
|
|
2904
|
+
};
|
|
2905
|
+
};
|
|
2906
|
+
readonly motion: {
|
|
2907
|
+
duration: {
|
|
2908
|
+
instant: string;
|
|
2909
|
+
fast: string;
|
|
2910
|
+
normal: string;
|
|
2911
|
+
slow: string;
|
|
2912
|
+
slower: string;
|
|
2913
|
+
slowest: string;
|
|
2914
|
+
};
|
|
2915
|
+
easing: {
|
|
2916
|
+
linear: string;
|
|
2917
|
+
easeIn: string;
|
|
2918
|
+
easeOut: string;
|
|
2919
|
+
easeInOut: string;
|
|
2920
|
+
easeInQuad: string;
|
|
2921
|
+
easeOutQuad: string;
|
|
2922
|
+
easeInOutQuad: string;
|
|
2923
|
+
easeInCubic: string;
|
|
2924
|
+
easeOutCubic: string;
|
|
2925
|
+
easeInOutCubic: string;
|
|
2926
|
+
spring: string;
|
|
2927
|
+
};
|
|
2928
|
+
delay: {
|
|
2929
|
+
none: string;
|
|
2930
|
+
short: string;
|
|
2931
|
+
medium: string;
|
|
2932
|
+
long: string;
|
|
2933
|
+
};
|
|
2934
|
+
};
|
|
2935
|
+
readonly breakpoints: {
|
|
2936
|
+
xs: string;
|
|
2937
|
+
sm: string;
|
|
2938
|
+
md: string;
|
|
2939
|
+
lg: string;
|
|
2940
|
+
xl: string;
|
|
2941
|
+
"2xl": string;
|
|
2942
|
+
"3xl": string;
|
|
2943
|
+
};
|
|
2944
|
+
readonly zIndex: {
|
|
2945
|
+
base: number;
|
|
2946
|
+
dropdown: number;
|
|
2947
|
+
sticky: number;
|
|
2948
|
+
fixed: number;
|
|
2949
|
+
modalBackdrop: number;
|
|
2950
|
+
modal: number;
|
|
2951
|
+
popover: number;
|
|
2952
|
+
tooltip: number;
|
|
2953
|
+
toast: number;
|
|
2954
|
+
notification: number;
|
|
2955
|
+
max: number;
|
|
2956
|
+
};
|
|
2957
|
+
readonly hero: {
|
|
2958
|
+
title: {
|
|
2959
|
+
fontSize: {
|
|
2960
|
+
mobile: string;
|
|
2961
|
+
responsive: string;
|
|
2962
|
+
desktop: string;
|
|
2963
|
+
clamp: string;
|
|
2964
|
+
};
|
|
2965
|
+
lineHeight: string;
|
|
2966
|
+
letterSpacing: string;
|
|
2967
|
+
wordSpacing: string;
|
|
2968
|
+
fontWeight: string;
|
|
2969
|
+
filter: string;
|
|
2970
|
+
textShadow: {
|
|
2971
|
+
dark: string;
|
|
2972
|
+
light: string;
|
|
2973
|
+
};
|
|
2974
|
+
};
|
|
2975
|
+
subtitle: {
|
|
2976
|
+
fontSize: {
|
|
2977
|
+
mobile: string;
|
|
2978
|
+
responsive: string;
|
|
2979
|
+
desktop: string;
|
|
2980
|
+
clamp: string;
|
|
2981
|
+
};
|
|
2982
|
+
lineHeight: string;
|
|
2983
|
+
letterSpacing: string;
|
|
2984
|
+
fontWeight: string;
|
|
2985
|
+
maxWidth: string;
|
|
2986
|
+
textShadow: {
|
|
2987
|
+
dark: string;
|
|
2988
|
+
light: string;
|
|
2989
|
+
};
|
|
2990
|
+
};
|
|
2991
|
+
container: {
|
|
2992
|
+
maxWidth: {
|
|
2993
|
+
mobile: string;
|
|
2994
|
+
sm: string;
|
|
2995
|
+
md: string;
|
|
2996
|
+
lg: string;
|
|
2997
|
+
};
|
|
2998
|
+
padding: {
|
|
2999
|
+
top: string;
|
|
3000
|
+
bottom: string;
|
|
3001
|
+
x: {
|
|
3002
|
+
mobile: string;
|
|
3003
|
+
sm: string;
|
|
3004
|
+
md: string;
|
|
3005
|
+
};
|
|
3006
|
+
};
|
|
3007
|
+
gap: string;
|
|
3008
|
+
};
|
|
3009
|
+
effects: {
|
|
3010
|
+
cyberpunk: {
|
|
3011
|
+
glitch: {
|
|
3012
|
+
animation: string;
|
|
3013
|
+
animationDelay: string;
|
|
3014
|
+
};
|
|
3015
|
+
neon: {
|
|
3016
|
+
animation: string;
|
|
3017
|
+
};
|
|
3018
|
+
flicker: {
|
|
3019
|
+
animation: string;
|
|
3020
|
+
};
|
|
3021
|
+
};
|
|
3022
|
+
};
|
|
3023
|
+
};
|
|
3024
|
+
readonly effects: {
|
|
3025
|
+
filter: {
|
|
3026
|
+
brightness: {
|
|
3027
|
+
subtle: string;
|
|
3028
|
+
moderate: string;
|
|
3029
|
+
intense: string;
|
|
3030
|
+
strong: string;
|
|
3031
|
+
extreme: string;
|
|
3032
|
+
};
|
|
3033
|
+
contrast: {
|
|
3034
|
+
subtle: string;
|
|
3035
|
+
moderate: string;
|
|
3036
|
+
strong: string;
|
|
3037
|
+
intense: string;
|
|
3038
|
+
};
|
|
3039
|
+
saturate: {
|
|
3040
|
+
subtle: string;
|
|
3041
|
+
moderate: string;
|
|
3042
|
+
strong: string;
|
|
3043
|
+
intense: string;
|
|
3044
|
+
};
|
|
3045
|
+
combined: {
|
|
3046
|
+
"neon-subtle": string;
|
|
3047
|
+
"neon-moderate": string;
|
|
3048
|
+
"neon-intense": string;
|
|
3049
|
+
"neon-extreme": string;
|
|
3050
|
+
glass: string;
|
|
3051
|
+
frosted: string;
|
|
3052
|
+
};
|
|
3053
|
+
};
|
|
3054
|
+
blur: {
|
|
3055
|
+
none: string;
|
|
3056
|
+
xs: string;
|
|
3057
|
+
sm: string;
|
|
3058
|
+
base: string;
|
|
3059
|
+
md: string;
|
|
3060
|
+
lg: string;
|
|
3061
|
+
xl: string;
|
|
3062
|
+
"2xl": string;
|
|
3063
|
+
"3xl": string;
|
|
3064
|
+
};
|
|
3065
|
+
backdrop: {
|
|
3066
|
+
blur: {
|
|
3067
|
+
none: string;
|
|
3068
|
+
sm: string;
|
|
3069
|
+
base: string;
|
|
3070
|
+
md: string;
|
|
3071
|
+
lg: string;
|
|
3072
|
+
xl: string;
|
|
3073
|
+
"2xl": string;
|
|
3074
|
+
"3xl": string;
|
|
3075
|
+
};
|
|
3076
|
+
saturate: {
|
|
3077
|
+
default: string;
|
|
3078
|
+
enhanced: string;
|
|
3079
|
+
strong: string;
|
|
3080
|
+
};
|
|
3081
|
+
};
|
|
3082
|
+
glow: {
|
|
3083
|
+
star: {
|
|
3084
|
+
small: {
|
|
3085
|
+
radius: string;
|
|
3086
|
+
color: string;
|
|
3087
|
+
};
|
|
3088
|
+
medium: {
|
|
3089
|
+
radius: string;
|
|
3090
|
+
color: string;
|
|
3091
|
+
};
|
|
3092
|
+
large: {
|
|
3093
|
+
radius: string;
|
|
3094
|
+
color: string;
|
|
3095
|
+
};
|
|
3096
|
+
};
|
|
3097
|
+
neon: {
|
|
3098
|
+
cyan: {
|
|
3099
|
+
subtle: string;
|
|
3100
|
+
moderate: string;
|
|
3101
|
+
intense: string;
|
|
3102
|
+
};
|
|
3103
|
+
purple: {
|
|
3104
|
+
subtle: string;
|
|
3105
|
+
moderate: string;
|
|
3106
|
+
intense: string;
|
|
3107
|
+
};
|
|
3108
|
+
pink: {
|
|
3109
|
+
subtle: string;
|
|
3110
|
+
moderate: string;
|
|
3111
|
+
intense: string;
|
|
3112
|
+
};
|
|
3113
|
+
green: {
|
|
3114
|
+
subtle: string;
|
|
3115
|
+
moderate: string;
|
|
3116
|
+
intense: string;
|
|
3117
|
+
};
|
|
3118
|
+
};
|
|
3119
|
+
};
|
|
3120
|
+
textShadow: {
|
|
3121
|
+
glow: {
|
|
3122
|
+
"cyan-subtle": string;
|
|
3123
|
+
"cyan-moderate": string;
|
|
3124
|
+
"cyan-intense": string;
|
|
3125
|
+
};
|
|
3126
|
+
depth: {
|
|
3127
|
+
subtle: string;
|
|
3128
|
+
moderate: string;
|
|
3129
|
+
strong: string;
|
|
3130
|
+
};
|
|
3131
|
+
};
|
|
3132
|
+
boxShadow: {
|
|
3133
|
+
cyberpunk: {
|
|
3134
|
+
card: string;
|
|
3135
|
+
cardHover: string;
|
|
3136
|
+
elevated: string;
|
|
3137
|
+
};
|
|
3138
|
+
glass: {
|
|
3139
|
+
subtle: string;
|
|
3140
|
+
moderate: string;
|
|
3141
|
+
strong: string;
|
|
3142
|
+
};
|
|
3143
|
+
};
|
|
3144
|
+
};
|
|
3145
|
+
readonly components: {
|
|
3146
|
+
readonly celestialBackground: {
|
|
3147
|
+
stars: {
|
|
3148
|
+
default: {
|
|
3149
|
+
count: number;
|
|
3150
|
+
sizes: number[];
|
|
3151
|
+
opacity: number[];
|
|
3152
|
+
glow: {
|
|
3153
|
+
color: string;
|
|
3154
|
+
radius: number;
|
|
3155
|
+
};
|
|
3156
|
+
};
|
|
3157
|
+
dense: {
|
|
3158
|
+
count: number;
|
|
3159
|
+
sizes: number[];
|
|
3160
|
+
opacity: number[];
|
|
3161
|
+
glow: {
|
|
3162
|
+
color: string;
|
|
3163
|
+
radius: number;
|
|
3164
|
+
};
|
|
3165
|
+
};
|
|
3166
|
+
sparse: {
|
|
3167
|
+
count: number;
|
|
3168
|
+
sizes: number[];
|
|
3169
|
+
opacity: number[];
|
|
3170
|
+
glow: {
|
|
3171
|
+
color: string;
|
|
3172
|
+
radius: number;
|
|
3173
|
+
};
|
|
3174
|
+
};
|
|
3175
|
+
};
|
|
3176
|
+
nebula: {
|
|
3177
|
+
cyan: {
|
|
3178
|
+
position: {
|
|
3179
|
+
top: string;
|
|
3180
|
+
left: string;
|
|
3181
|
+
};
|
|
3182
|
+
size: {
|
|
3183
|
+
width: string;
|
|
3184
|
+
height: string;
|
|
3185
|
+
};
|
|
3186
|
+
gradient: {
|
|
3187
|
+
type: string;
|
|
3188
|
+
center: string;
|
|
3189
|
+
colorStops: {
|
|
3190
|
+
color: string;
|
|
3191
|
+
alpha: number;
|
|
3192
|
+
position: string;
|
|
3193
|
+
}[];
|
|
3194
|
+
};
|
|
3195
|
+
blur: string;
|
|
3196
|
+
};
|
|
3197
|
+
purple: {
|
|
3198
|
+
position: {
|
|
3199
|
+
top: string;
|
|
3200
|
+
right: string;
|
|
3201
|
+
};
|
|
3202
|
+
size: {
|
|
3203
|
+
width: string;
|
|
3204
|
+
height: string;
|
|
3205
|
+
};
|
|
3206
|
+
gradient: {
|
|
3207
|
+
type: string;
|
|
3208
|
+
center: string;
|
|
3209
|
+
colorStops: {
|
|
3210
|
+
color: string;
|
|
3211
|
+
alpha: number;
|
|
3212
|
+
position: string;
|
|
3213
|
+
}[];
|
|
3214
|
+
};
|
|
3215
|
+
blur: string;
|
|
3216
|
+
};
|
|
3217
|
+
pink: {
|
|
3218
|
+
position: {
|
|
3219
|
+
bottom: string;
|
|
3220
|
+
left: string;
|
|
3221
|
+
};
|
|
3222
|
+
size: {
|
|
3223
|
+
width: string;
|
|
3224
|
+
height: string;
|
|
3225
|
+
};
|
|
3226
|
+
gradient: {
|
|
3227
|
+
type: string;
|
|
3228
|
+
center: string;
|
|
3229
|
+
colorStops: {
|
|
3230
|
+
color: string;
|
|
3231
|
+
alpha: number;
|
|
3232
|
+
position: string;
|
|
3233
|
+
}[];
|
|
3234
|
+
};
|
|
3235
|
+
blur: string;
|
|
3236
|
+
};
|
|
3237
|
+
};
|
|
3238
|
+
baseGradient: {
|
|
3239
|
+
direction: string;
|
|
3240
|
+
from: string;
|
|
3241
|
+
via: {
|
|
3242
|
+
color: string;
|
|
3243
|
+
alpha: number;
|
|
3244
|
+
};
|
|
3245
|
+
to: string;
|
|
3246
|
+
};
|
|
3247
|
+
};
|
|
3248
|
+
};
|
|
3249
|
+
};
|
|
3250
|
+
/**
|
|
3251
|
+
* Cores do tema claro
|
|
3252
|
+
*
|
|
3253
|
+
* @description
|
|
3254
|
+
* Exporta apenas as cores do tema claro para uso direto.
|
|
3255
|
+
*
|
|
3256
|
+
* @type {Object}
|
|
3257
|
+
* @constant
|
|
3258
|
+
* @readonly
|
|
3259
|
+
*
|
|
3260
|
+
* @example
|
|
3261
|
+
* ```typescript
|
|
3262
|
+
* import { lightThemeColors } from '@rainersoft/design-tokens';
|
|
3263
|
+
*
|
|
3264
|
+
* const primaryColor = lightThemeColors.brand.primary;
|
|
3265
|
+
* ```
|
|
3266
|
+
*/
|
|
3267
|
+
declare const lightThemeColors: {
|
|
3268
|
+
primary: {
|
|
3269
|
+
base: string;
|
|
3270
|
+
hover: string;
|
|
3271
|
+
active: string;
|
|
3272
|
+
disabled: string;
|
|
3273
|
+
focus: string;
|
|
3274
|
+
background: string;
|
|
3275
|
+
backgroundHover: string;
|
|
3276
|
+
backgroundActive: string;
|
|
3277
|
+
border: string;
|
|
3278
|
+
borderHover: string;
|
|
3279
|
+
borderFocus: string;
|
|
3280
|
+
text: string;
|
|
3281
|
+
textHover: string;
|
|
3282
|
+
textDisabled: string;
|
|
3283
|
+
};
|
|
3284
|
+
secondary: {
|
|
3285
|
+
base: string;
|
|
3286
|
+
hover: string;
|
|
3287
|
+
active: string;
|
|
3288
|
+
disabled: string;
|
|
3289
|
+
focus: string;
|
|
3290
|
+
background: string;
|
|
3291
|
+
backgroundHover: string;
|
|
3292
|
+
backgroundActive: string;
|
|
3293
|
+
border: string;
|
|
3294
|
+
borderHover: string;
|
|
3295
|
+
borderFocus: string;
|
|
3296
|
+
text: string;
|
|
3297
|
+
textHover: string;
|
|
3298
|
+
textDisabled: string;
|
|
3299
|
+
};
|
|
3300
|
+
accent: {
|
|
3301
|
+
base: string;
|
|
3302
|
+
hover: string;
|
|
3303
|
+
active: string;
|
|
3304
|
+
disabled: string;
|
|
3305
|
+
focus: string;
|
|
3306
|
+
background: string;
|
|
3307
|
+
backgroundHover: string;
|
|
3308
|
+
backgroundActive: string;
|
|
3309
|
+
border: string;
|
|
2259
3310
|
borderHover: string;
|
|
2260
3311
|
borderFocus: string;
|
|
2261
3312
|
text: string;
|
|
@@ -2493,7 +3544,7 @@ declare const lightThemeColors: {
|
|
|
2493
3544
|
*
|
|
2494
3545
|
* @example
|
|
2495
3546
|
* ```typescript
|
|
2496
|
-
* import { darkThemeColors } from '
|
|
3547
|
+
* import { darkThemeColors } from '@rainersoft/design-tokens';
|
|
2497
3548
|
*
|
|
2498
3549
|
* const neonColor = darkThemeColors.accent.cyan;
|
|
2499
3550
|
* ```
|
|
@@ -2803,7 +3854,7 @@ declare const darkThemeColors: {
|
|
|
2803
3854
|
*
|
|
2804
3855
|
* @example
|
|
2805
3856
|
* ```typescript
|
|
2806
|
-
* import { typographyTokens } from '
|
|
3857
|
+
* import { typographyTokens } from '@rainersoft/design-tokens';
|
|
2807
3858
|
*
|
|
2808
3859
|
* const fontSize = typographyTokens.fontSize.lg;
|
|
2809
3860
|
* const fontFamily = typographyTokens.fontFamily.sans;
|
|
@@ -3082,7 +4133,7 @@ declare const typographyTokens: {
|
|
|
3082
4133
|
*
|
|
3083
4134
|
* @example
|
|
3084
4135
|
* ```typescript
|
|
3085
|
-
* import { spacingTokens } from '
|
|
4136
|
+
* import { spacingTokens } from '@rainersoft/design-tokens';
|
|
3086
4137
|
*
|
|
3087
4138
|
* const margin = spacingTokens.md;
|
|
3088
4139
|
* const padding = spacingTokens.lg;
|
|
@@ -3137,7 +4188,7 @@ declare const spacingTokens: {
|
|
|
3137
4188
|
*
|
|
3138
4189
|
* @example
|
|
3139
4190
|
* ```typescript
|
|
3140
|
-
* import { radiusTokens } from '
|
|
4191
|
+
* import { radiusTokens } from '@rainersoft/design-tokens';
|
|
3141
4192
|
*
|
|
3142
4193
|
* const borderRadius = radiusTokens.md;
|
|
3143
4194
|
* ```
|
|
@@ -3166,7 +4217,7 @@ declare const radiusTokens: {
|
|
|
3166
4217
|
*
|
|
3167
4218
|
* @example
|
|
3168
4219
|
* ```typescript
|
|
3169
|
-
* import { shadowTokens } from '
|
|
4220
|
+
* import { shadowTokens } from '@rainersoft/design-tokens';
|
|
3170
4221
|
*
|
|
3171
4222
|
* const shadow = shadowTokens.light.md;
|
|
3172
4223
|
* const glow = shadowTokens.dark.glow.cyan;
|
|
@@ -3200,6 +4251,534 @@ declare const shadowTokens: {
|
|
|
3200
4251
|
};
|
|
3201
4252
|
};
|
|
3202
4253
|
};
|
|
4254
|
+
/**
|
|
4255
|
+
* Tokens de animações
|
|
4256
|
+
*
|
|
4257
|
+
* @description
|
|
4258
|
+
* Exporta todos os tokens de animações, incluindo keyframes, durações
|
|
4259
|
+
* e funções de timing para transições e animações do sistema.
|
|
4260
|
+
*
|
|
4261
|
+
* @type {Object}
|
|
4262
|
+
* @constant
|
|
4263
|
+
* @readonly
|
|
4264
|
+
*
|
|
4265
|
+
* @example
|
|
4266
|
+
* ```typescript
|
|
4267
|
+
* import { animationTokens } from '@rainersoft/design-tokens';
|
|
4268
|
+
*
|
|
4269
|
+
* const slideIn = animationTokens['slide-in'];
|
|
4270
|
+
* const fadeIn = animationTokens['fade-in'];
|
|
4271
|
+
* ```
|
|
4272
|
+
*/
|
|
4273
|
+
declare const animationTokens: {
|
|
4274
|
+
"accordion-down": {
|
|
4275
|
+
name: string;
|
|
4276
|
+
duration: string;
|
|
4277
|
+
timingFunction: string;
|
|
4278
|
+
keyframes: {
|
|
4279
|
+
from: {
|
|
4280
|
+
height: string;
|
|
4281
|
+
};
|
|
4282
|
+
to: {
|
|
4283
|
+
height: string;
|
|
4284
|
+
};
|
|
4285
|
+
};
|
|
4286
|
+
};
|
|
4287
|
+
"accordion-up": {
|
|
4288
|
+
name: string;
|
|
4289
|
+
duration: string;
|
|
4290
|
+
timingFunction: string;
|
|
4291
|
+
keyframes: {
|
|
4292
|
+
from: {
|
|
4293
|
+
height: string;
|
|
4294
|
+
};
|
|
4295
|
+
to: {
|
|
4296
|
+
height: string;
|
|
4297
|
+
};
|
|
4298
|
+
};
|
|
4299
|
+
};
|
|
4300
|
+
"slide-in": {
|
|
4301
|
+
name: string;
|
|
4302
|
+
duration: string;
|
|
4303
|
+
timingFunction: string;
|
|
4304
|
+
keyframes: {
|
|
4305
|
+
"0%": {
|
|
4306
|
+
transform: string;
|
|
4307
|
+
opacity: string;
|
|
4308
|
+
};
|
|
4309
|
+
"100%": {
|
|
4310
|
+
transform: string;
|
|
4311
|
+
opacity: string;
|
|
4312
|
+
};
|
|
4313
|
+
};
|
|
4314
|
+
};
|
|
4315
|
+
"fade-in": {
|
|
4316
|
+
name: string;
|
|
4317
|
+
duration: string;
|
|
4318
|
+
timingFunction: string;
|
|
4319
|
+
keyframes: {
|
|
4320
|
+
"0%": {
|
|
4321
|
+
opacity: string;
|
|
4322
|
+
};
|
|
4323
|
+
"100%": {
|
|
4324
|
+
opacity: string;
|
|
4325
|
+
};
|
|
4326
|
+
};
|
|
4327
|
+
};
|
|
4328
|
+
glitch: {
|
|
4329
|
+
name: string;
|
|
4330
|
+
duration: string;
|
|
4331
|
+
timingFunction: string;
|
|
4332
|
+
iterationCount: string;
|
|
4333
|
+
keyframes: {
|
|
4334
|
+
"0%, 100%": {
|
|
4335
|
+
transform: string;
|
|
4336
|
+
};
|
|
4337
|
+
"10%": {
|
|
4338
|
+
transform: string;
|
|
4339
|
+
};
|
|
4340
|
+
"20%": {
|
|
4341
|
+
transform: string;
|
|
4342
|
+
};
|
|
4343
|
+
"30%, 50%, 70%, 90%": {
|
|
4344
|
+
transform: string;
|
|
4345
|
+
};
|
|
4346
|
+
};
|
|
4347
|
+
};
|
|
4348
|
+
"neon-pulse": {
|
|
4349
|
+
name: string;
|
|
4350
|
+
duration: string;
|
|
4351
|
+
timingFunction: string;
|
|
4352
|
+
iterationCount: string;
|
|
4353
|
+
direction: string;
|
|
4354
|
+
keyframes: {
|
|
4355
|
+
"0%, 100%": {
|
|
4356
|
+
filter: string;
|
|
4357
|
+
};
|
|
4358
|
+
"50%": {
|
|
4359
|
+
filter: string;
|
|
4360
|
+
};
|
|
4361
|
+
};
|
|
4362
|
+
};
|
|
4363
|
+
flicker: {
|
|
4364
|
+
name: string;
|
|
4365
|
+
duration: string;
|
|
4366
|
+
timingFunction: string;
|
|
4367
|
+
iterationCount: string;
|
|
4368
|
+
keyframes: {
|
|
4369
|
+
"0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100%": {
|
|
4370
|
+
opacity: string;
|
|
4371
|
+
filter: string;
|
|
4372
|
+
};
|
|
4373
|
+
"20%, 21.999%, 63%, 63.999%, 65%, 69.999%": {
|
|
4374
|
+
opacity: string;
|
|
4375
|
+
filter: string;
|
|
4376
|
+
};
|
|
4377
|
+
};
|
|
4378
|
+
};
|
|
4379
|
+
"scan-line": {
|
|
4380
|
+
name: string;
|
|
4381
|
+
duration: string;
|
|
4382
|
+
timingFunction: string;
|
|
4383
|
+
iterationCount: string;
|
|
4384
|
+
keyframes: {
|
|
4385
|
+
"0%": {
|
|
4386
|
+
top: string;
|
|
4387
|
+
};
|
|
4388
|
+
"100%": {
|
|
4389
|
+
top: string;
|
|
4390
|
+
};
|
|
4391
|
+
};
|
|
4392
|
+
};
|
|
4393
|
+
"glitch-after": {
|
|
4394
|
+
name: string;
|
|
4395
|
+
duration: string;
|
|
4396
|
+
timingFunction: string;
|
|
4397
|
+
iterationCount: string;
|
|
4398
|
+
keyframes: {
|
|
4399
|
+
"0%, 100%": {
|
|
4400
|
+
opacity: string;
|
|
4401
|
+
};
|
|
4402
|
+
"5%, 10%": {
|
|
4403
|
+
opacity: string;
|
|
4404
|
+
transform: string;
|
|
4405
|
+
};
|
|
4406
|
+
"15%, 95%": {
|
|
4407
|
+
opacity: string;
|
|
4408
|
+
};
|
|
4409
|
+
};
|
|
4410
|
+
};
|
|
4411
|
+
};
|
|
4412
|
+
/**
|
|
4413
|
+
* Tokens de efeitos visuais
|
|
4414
|
+
*
|
|
4415
|
+
* @description
|
|
4416
|
+
* Exporta todos os tokens de efeitos visuais, incluindo filters, blur,
|
|
4417
|
+
* glow, backdrop effects e outros efeitos para criar elementos visuais sofisticados.
|
|
4418
|
+
*
|
|
4419
|
+
* @type {Object}
|
|
4420
|
+
* @constant
|
|
4421
|
+
* @readonly
|
|
4422
|
+
*
|
|
4423
|
+
* @example
|
|
4424
|
+
* ```typescript
|
|
4425
|
+
* import { effectTokens } from '@rainersoft/design-tokens';
|
|
4426
|
+
*
|
|
4427
|
+
* const blur = effectTokens.blur.md;
|
|
4428
|
+
* const glow = effectTokens.glow.neon.cyan.moderate;
|
|
4429
|
+
* ```
|
|
4430
|
+
*/
|
|
4431
|
+
declare const effectTokens: {
|
|
4432
|
+
filter: {
|
|
4433
|
+
brightness: {
|
|
4434
|
+
subtle: string;
|
|
4435
|
+
moderate: string;
|
|
4436
|
+
intense: string;
|
|
4437
|
+
strong: string;
|
|
4438
|
+
extreme: string;
|
|
4439
|
+
};
|
|
4440
|
+
contrast: {
|
|
4441
|
+
subtle: string;
|
|
4442
|
+
moderate: string;
|
|
4443
|
+
strong: string;
|
|
4444
|
+
intense: string;
|
|
4445
|
+
};
|
|
4446
|
+
saturate: {
|
|
4447
|
+
subtle: string;
|
|
4448
|
+
moderate: string;
|
|
4449
|
+
strong: string;
|
|
4450
|
+
intense: string;
|
|
4451
|
+
};
|
|
4452
|
+
combined: {
|
|
4453
|
+
"neon-subtle": string;
|
|
4454
|
+
"neon-moderate": string;
|
|
4455
|
+
"neon-intense": string;
|
|
4456
|
+
"neon-extreme": string;
|
|
4457
|
+
glass: string;
|
|
4458
|
+
frosted: string;
|
|
4459
|
+
};
|
|
4460
|
+
};
|
|
4461
|
+
blur: {
|
|
4462
|
+
none: string;
|
|
4463
|
+
xs: string;
|
|
4464
|
+
sm: string;
|
|
4465
|
+
base: string;
|
|
4466
|
+
md: string;
|
|
4467
|
+
lg: string;
|
|
4468
|
+
xl: string;
|
|
4469
|
+
"2xl": string;
|
|
4470
|
+
"3xl": string;
|
|
4471
|
+
};
|
|
4472
|
+
backdrop: {
|
|
4473
|
+
blur: {
|
|
4474
|
+
none: string;
|
|
4475
|
+
sm: string;
|
|
4476
|
+
base: string;
|
|
4477
|
+
md: string;
|
|
4478
|
+
lg: string;
|
|
4479
|
+
xl: string;
|
|
4480
|
+
"2xl": string;
|
|
4481
|
+
"3xl": string;
|
|
4482
|
+
};
|
|
4483
|
+
saturate: {
|
|
4484
|
+
default: string;
|
|
4485
|
+
enhanced: string;
|
|
4486
|
+
strong: string;
|
|
4487
|
+
};
|
|
4488
|
+
};
|
|
4489
|
+
glow: {
|
|
4490
|
+
star: {
|
|
4491
|
+
small: {
|
|
4492
|
+
radius: string;
|
|
4493
|
+
color: string;
|
|
4494
|
+
};
|
|
4495
|
+
medium: {
|
|
4496
|
+
radius: string;
|
|
4497
|
+
color: string;
|
|
4498
|
+
};
|
|
4499
|
+
large: {
|
|
4500
|
+
radius: string;
|
|
4501
|
+
color: string;
|
|
4502
|
+
};
|
|
4503
|
+
};
|
|
4504
|
+
neon: {
|
|
4505
|
+
cyan: {
|
|
4506
|
+
subtle: string;
|
|
4507
|
+
moderate: string;
|
|
4508
|
+
intense: string;
|
|
4509
|
+
};
|
|
4510
|
+
purple: {
|
|
4511
|
+
subtle: string;
|
|
4512
|
+
moderate: string;
|
|
4513
|
+
intense: string;
|
|
4514
|
+
};
|
|
4515
|
+
pink: {
|
|
4516
|
+
subtle: string;
|
|
4517
|
+
moderate: string;
|
|
4518
|
+
intense: string;
|
|
4519
|
+
};
|
|
4520
|
+
green: {
|
|
4521
|
+
subtle: string;
|
|
4522
|
+
moderate: string;
|
|
4523
|
+
intense: string;
|
|
4524
|
+
};
|
|
4525
|
+
};
|
|
4526
|
+
};
|
|
4527
|
+
textShadow: {
|
|
4528
|
+
glow: {
|
|
4529
|
+
"cyan-subtle": string;
|
|
4530
|
+
"cyan-moderate": string;
|
|
4531
|
+
"cyan-intense": string;
|
|
4532
|
+
};
|
|
4533
|
+
depth: {
|
|
4534
|
+
subtle: string;
|
|
4535
|
+
moderate: string;
|
|
4536
|
+
strong: string;
|
|
4537
|
+
};
|
|
4538
|
+
};
|
|
4539
|
+
boxShadow: {
|
|
4540
|
+
cyberpunk: {
|
|
4541
|
+
card: string;
|
|
4542
|
+
cardHover: string;
|
|
4543
|
+
elevated: string;
|
|
4544
|
+
};
|
|
4545
|
+
glass: {
|
|
4546
|
+
subtle: string;
|
|
4547
|
+
moderate: string;
|
|
4548
|
+
strong: string;
|
|
4549
|
+
};
|
|
4550
|
+
};
|
|
4551
|
+
};
|
|
4552
|
+
/**
|
|
4553
|
+
* Tokens de componentes
|
|
4554
|
+
*
|
|
4555
|
+
* @description
|
|
4556
|
+
* Exporta todos os tokens específicos de componentes, incluindo configurações
|
|
4557
|
+
* para celestial background, carousels e outros componentes visuais.
|
|
4558
|
+
*
|
|
4559
|
+
* @type {Object}
|
|
4560
|
+
* @constant
|
|
4561
|
+
* @readonly
|
|
4562
|
+
*
|
|
4563
|
+
* @example
|
|
4564
|
+
* ```typescript
|
|
4565
|
+
* import { componentTokens } from '@rainersoft/design-tokens';
|
|
4566
|
+
*
|
|
4567
|
+
* const starConfig = componentTokens.celestialBackground.stars.default;
|
|
4568
|
+
* ```
|
|
4569
|
+
*/
|
|
4570
|
+
declare const componentTokens: {
|
|
4571
|
+
celestialBackground: {
|
|
4572
|
+
stars: {
|
|
4573
|
+
default: {
|
|
4574
|
+
count: number;
|
|
4575
|
+
sizes: number[];
|
|
4576
|
+
opacity: number[];
|
|
4577
|
+
glow: {
|
|
4578
|
+
color: string;
|
|
4579
|
+
radius: number;
|
|
4580
|
+
};
|
|
4581
|
+
};
|
|
4582
|
+
dense: {
|
|
4583
|
+
count: number;
|
|
4584
|
+
sizes: number[];
|
|
4585
|
+
opacity: number[];
|
|
4586
|
+
glow: {
|
|
4587
|
+
color: string;
|
|
4588
|
+
radius: number;
|
|
4589
|
+
};
|
|
4590
|
+
};
|
|
4591
|
+
sparse: {
|
|
4592
|
+
count: number;
|
|
4593
|
+
sizes: number[];
|
|
4594
|
+
opacity: number[];
|
|
4595
|
+
glow: {
|
|
4596
|
+
color: string;
|
|
4597
|
+
radius: number;
|
|
4598
|
+
};
|
|
4599
|
+
};
|
|
4600
|
+
};
|
|
4601
|
+
nebula: {
|
|
4602
|
+
cyan: {
|
|
4603
|
+
position: {
|
|
4604
|
+
top: string;
|
|
4605
|
+
left: string;
|
|
4606
|
+
};
|
|
4607
|
+
size: {
|
|
4608
|
+
width: string;
|
|
4609
|
+
height: string;
|
|
4610
|
+
};
|
|
4611
|
+
gradient: {
|
|
4612
|
+
type: string;
|
|
4613
|
+
center: string;
|
|
4614
|
+
colorStops: {
|
|
4615
|
+
color: string;
|
|
4616
|
+
alpha: number;
|
|
4617
|
+
position: string;
|
|
4618
|
+
}[];
|
|
4619
|
+
};
|
|
4620
|
+
blur: string;
|
|
4621
|
+
};
|
|
4622
|
+
purple: {
|
|
4623
|
+
position: {
|
|
4624
|
+
top: string;
|
|
4625
|
+
right: string;
|
|
4626
|
+
};
|
|
4627
|
+
size: {
|
|
4628
|
+
width: string;
|
|
4629
|
+
height: string;
|
|
4630
|
+
};
|
|
4631
|
+
gradient: {
|
|
4632
|
+
type: string;
|
|
4633
|
+
center: string;
|
|
4634
|
+
colorStops: {
|
|
4635
|
+
color: string;
|
|
4636
|
+
alpha: number;
|
|
4637
|
+
position: string;
|
|
4638
|
+
}[];
|
|
4639
|
+
};
|
|
4640
|
+
blur: string;
|
|
4641
|
+
};
|
|
4642
|
+
pink: {
|
|
4643
|
+
position: {
|
|
4644
|
+
bottom: string;
|
|
4645
|
+
left: string;
|
|
4646
|
+
};
|
|
4647
|
+
size: {
|
|
4648
|
+
width: string;
|
|
4649
|
+
height: string;
|
|
4650
|
+
};
|
|
4651
|
+
gradient: {
|
|
4652
|
+
type: string;
|
|
4653
|
+
center: string;
|
|
4654
|
+
colorStops: {
|
|
4655
|
+
color: string;
|
|
4656
|
+
alpha: number;
|
|
4657
|
+
position: string;
|
|
4658
|
+
}[];
|
|
4659
|
+
};
|
|
4660
|
+
blur: string;
|
|
4661
|
+
};
|
|
4662
|
+
};
|
|
4663
|
+
baseGradient: {
|
|
4664
|
+
direction: string;
|
|
4665
|
+
from: string;
|
|
4666
|
+
via: {
|
|
4667
|
+
color: string;
|
|
4668
|
+
alpha: number;
|
|
4669
|
+
};
|
|
4670
|
+
to: string;
|
|
4671
|
+
};
|
|
4672
|
+
};
|
|
4673
|
+
};
|
|
4674
|
+
/**
|
|
4675
|
+
* Tokens de motion
|
|
4676
|
+
*
|
|
4677
|
+
* @description
|
|
4678
|
+
* Exporta todos os tokens relacionados a motion e animações, incluindo
|
|
4679
|
+
* durações, easings, keyframes e transições seguindo Material Design e Fluent Design.
|
|
4680
|
+
*
|
|
4681
|
+
* @type {Object}
|
|
4682
|
+
* @constant
|
|
4683
|
+
* @readonly
|
|
4684
|
+
*
|
|
4685
|
+
* @example
|
|
4686
|
+
* ```typescript
|
|
4687
|
+
* import { motionTokens } from '@rainersoft/design-tokens';
|
|
4688
|
+
*
|
|
4689
|
+
* const duration = motionTokens.duration.normal;
|
|
4690
|
+
* const easing = motionTokens.easing.standard.productive;
|
|
4691
|
+
* ```
|
|
4692
|
+
*/
|
|
4693
|
+
declare const motionTokens: {
|
|
4694
|
+
duration: {
|
|
4695
|
+
instant: string;
|
|
4696
|
+
fast: string;
|
|
4697
|
+
normal: string;
|
|
4698
|
+
slow: string;
|
|
4699
|
+
slower: string;
|
|
4700
|
+
slowest: string;
|
|
4701
|
+
};
|
|
4702
|
+
easing: {
|
|
4703
|
+
linear: string;
|
|
4704
|
+
easeIn: string;
|
|
4705
|
+
easeOut: string;
|
|
4706
|
+
easeInOut: string;
|
|
4707
|
+
easeInQuad: string;
|
|
4708
|
+
easeOutQuad: string;
|
|
4709
|
+
easeInOutQuad: string;
|
|
4710
|
+
easeInCubic: string;
|
|
4711
|
+
easeOutCubic: string;
|
|
4712
|
+
easeInOutCubic: string;
|
|
4713
|
+
spring: string;
|
|
4714
|
+
};
|
|
4715
|
+
delay: {
|
|
4716
|
+
none: string;
|
|
4717
|
+
short: string;
|
|
4718
|
+
medium: string;
|
|
4719
|
+
long: string;
|
|
4720
|
+
};
|
|
4721
|
+
};
|
|
4722
|
+
/**
|
|
4723
|
+
* Tokens de breakpoints
|
|
4724
|
+
*
|
|
4725
|
+
* @description
|
|
4726
|
+
* Exporta todos os tokens de breakpoints responsivos para criar layouts
|
|
4727
|
+
* mobile-first consistentes em todas as plataformas.
|
|
4728
|
+
*
|
|
4729
|
+
* @type {Object}
|
|
4730
|
+
* @constant
|
|
4731
|
+
* @readonly
|
|
4732
|
+
*
|
|
4733
|
+
* @example
|
|
4734
|
+
* ```typescript
|
|
4735
|
+
* import { breakpointTokens } from '@rainersoft/design-tokens';
|
|
4736
|
+
*
|
|
4737
|
+
* const tabletSize = breakpointTokens.md;
|
|
4738
|
+
* const mediaQuery = breakpointTokens.mediaQueries.lg;
|
|
4739
|
+
* ```
|
|
4740
|
+
*/
|
|
4741
|
+
declare const breakpointTokens: {
|
|
4742
|
+
xs: string;
|
|
4743
|
+
sm: string;
|
|
4744
|
+
md: string;
|
|
4745
|
+
lg: string;
|
|
4746
|
+
xl: string;
|
|
4747
|
+
"2xl": string;
|
|
4748
|
+
"3xl": string;
|
|
4749
|
+
};
|
|
4750
|
+
/**
|
|
4751
|
+
* Tokens de z-index
|
|
4752
|
+
*
|
|
4753
|
+
* @description
|
|
4754
|
+
* Exporta todos os tokens de z-index para gerenciar camadas e sobreposições
|
|
4755
|
+
* de forma consistente e escalável.
|
|
4756
|
+
*
|
|
4757
|
+
* @type {Object}
|
|
4758
|
+
* @constant
|
|
4759
|
+
* @readonly
|
|
4760
|
+
*
|
|
4761
|
+
* @example
|
|
4762
|
+
* ```typescript
|
|
4763
|
+
* import { zIndexTokens } from '@rainersoft/design-tokens';
|
|
4764
|
+
*
|
|
4765
|
+
* const modalLayer = zIndexTokens.modal;
|
|
4766
|
+
* const tooltipLayer = zIndexTokens.tooltip;
|
|
4767
|
+
* ```
|
|
4768
|
+
*/
|
|
4769
|
+
declare const zIndexTokens: {
|
|
4770
|
+
base: number;
|
|
4771
|
+
dropdown: number;
|
|
4772
|
+
sticky: number;
|
|
4773
|
+
fixed: number;
|
|
4774
|
+
modalBackdrop: number;
|
|
4775
|
+
modal: number;
|
|
4776
|
+
popover: number;
|
|
4777
|
+
tooltip: number;
|
|
4778
|
+
toast: number;
|
|
4779
|
+
notification: number;
|
|
4780
|
+
max: number;
|
|
4781
|
+
};
|
|
3203
4782
|
/**
|
|
3204
4783
|
* Tipo TypeScript para todos os tokens
|
|
3205
4784
|
*
|
|
@@ -3232,7 +4811,7 @@ type DarkColors = typeof darkColors.colors;
|
|
|
3232
4811
|
* @description
|
|
3233
4812
|
* Tipo que representa todos os tokens de tipografia.
|
|
3234
4813
|
*/
|
|
3235
|
-
type Typography = typeof typography.typography;
|
|
4814
|
+
type Typography = typeof typography$1.typography;
|
|
3236
4815
|
/**
|
|
3237
4816
|
* Tipo TypeScript para tokens de espaçamento
|
|
3238
4817
|
*
|
|
@@ -3240,7 +4819,7 @@ type Typography = typeof typography.typography;
|
|
|
3240
4819
|
* @description
|
|
3241
4820
|
* Tipo que representa todos os tokens de espaçamento.
|
|
3242
4821
|
*/
|
|
3243
|
-
type Spacing = typeof spacing.spacing;
|
|
4822
|
+
type Spacing = typeof spacing$1.spacing;
|
|
3244
4823
|
/**
|
|
3245
4824
|
* Tipo TypeScript para tokens de raio de borda
|
|
3246
4825
|
*
|
|
@@ -3248,7 +4827,7 @@ type Spacing = typeof spacing.spacing;
|
|
|
3248
4827
|
* @description
|
|
3249
4828
|
* Tipo que representa todos os tokens de raio de borda.
|
|
3250
4829
|
*/
|
|
3251
|
-
type Radius = typeof radius.radius;
|
|
4830
|
+
type Radius = typeof radius$1.radius;
|
|
3252
4831
|
/**
|
|
3253
4832
|
* Tipo TypeScript para tokens de sombras
|
|
3254
4833
|
*
|
|
@@ -3256,7 +4835,39 @@ type Radius = typeof radius.radius;
|
|
|
3256
4835
|
* @description
|
|
3257
4836
|
* Tipo que representa todos os tokens de sombras.
|
|
3258
4837
|
*/
|
|
3259
|
-
type Shadows = typeof shadows.shadows;
|
|
4838
|
+
type Shadows = typeof shadows$1.shadows;
|
|
4839
|
+
/**
|
|
4840
|
+
* Tipo TypeScript para tokens de animações
|
|
4841
|
+
*
|
|
4842
|
+
* @typedef {Object} Animations
|
|
4843
|
+
* @description
|
|
4844
|
+
* Tipo que representa todos os tokens de animações.
|
|
4845
|
+
*/
|
|
4846
|
+
type Animations = typeof animations$1.animations;
|
|
4847
|
+
/**
|
|
4848
|
+
* Tipo TypeScript para tokens de motion
|
|
4849
|
+
*
|
|
4850
|
+
* @typedef {Object} Motion
|
|
4851
|
+
* @description
|
|
4852
|
+
* Tipo que representa todos os tokens de motion.
|
|
4853
|
+
*/
|
|
4854
|
+
type Motion = typeof motion$1.motion;
|
|
4855
|
+
/**
|
|
4856
|
+
* Tipo TypeScript para tokens de breakpoints
|
|
4857
|
+
*
|
|
4858
|
+
* @typedef {Object} Breakpoints
|
|
4859
|
+
* @description
|
|
4860
|
+
* Tipo que representa todos os tokens de breakpoints responsivos.
|
|
4861
|
+
*/
|
|
4862
|
+
type Breakpoints = typeof breakpoints$1.breakpoints;
|
|
4863
|
+
/**
|
|
4864
|
+
* Tipo TypeScript para tokens de z-index
|
|
4865
|
+
*
|
|
4866
|
+
* @typedef {Object} ZIndex
|
|
4867
|
+
* @description
|
|
4868
|
+
* Tipo que representa todos os tokens de z-index.
|
|
4869
|
+
*/
|
|
4870
|
+
type ZIndex = typeof zIndex$1.zIndex;
|
|
3260
4871
|
|
|
3261
4872
|
/**
|
|
3262
4873
|
* @fileoverview Tema Claro - Rainer Design System
|
|
@@ -3268,7 +4879,7 @@ type Shadows = typeof shadows.shadows;
|
|
|
3268
4879
|
* e profissionalismo.
|
|
3269
4880
|
*
|
|
3270
4881
|
* @module themes/light
|
|
3271
|
-
* @version
|
|
4882
|
+
* @version 2.0.0
|
|
3272
4883
|
* @author Rainer Teixeira
|
|
3273
4884
|
* @since 1.0.0
|
|
3274
4885
|
*/
|
|
@@ -3292,7 +4903,7 @@ type Shadows = typeof shadows.shadows;
|
|
|
3292
4903
|
*
|
|
3293
4904
|
* @example
|
|
3294
4905
|
* ```typescript
|
|
3295
|
-
* import { lightTheme } from '
|
|
4906
|
+
* import { lightTheme } from '@rainersoft/design-tokens';
|
|
3296
4907
|
*
|
|
3297
4908
|
* // Acessar cores do tema claro
|
|
3298
4909
|
* const primaryColor = lightTheme.colors.brand.primary;
|
|
@@ -3923,7 +5534,7 @@ type LightTheme = typeof lightTheme;
|
|
|
3923
5534
|
* aplicações que buscam um visual futurista e impactante.
|
|
3924
5535
|
*
|
|
3925
5536
|
* @module themes/dark
|
|
3926
|
-
* @version
|
|
5537
|
+
* @version 2.0.0
|
|
3927
5538
|
* @author Rainer Teixeira
|
|
3928
5539
|
* @since 1.0.0
|
|
3929
5540
|
*/
|
|
@@ -3947,7 +5558,7 @@ type LightTheme = typeof lightTheme;
|
|
|
3947
5558
|
*
|
|
3948
5559
|
* @example
|
|
3949
5560
|
* ```typescript
|
|
3950
|
-
* import { darkTheme } from '
|
|
5561
|
+
* import { darkTheme } from '@rainersoft/design-tokens';
|
|
3951
5562
|
*
|
|
3952
5563
|
* // Acessar cores neon do tema escuro
|
|
3953
5564
|
* const neonCyan = darkTheme.colors.accent.cyan;
|
|
@@ -4608,7 +6219,7 @@ type DarkTheme = typeof darkTheme;
|
|
|
4608
6219
|
* facilitando a aplicação de temas completos na aplicação.
|
|
4609
6220
|
*
|
|
4610
6221
|
* @module themes
|
|
4611
|
-
* @version
|
|
6222
|
+
* @version 2.0.0
|
|
4612
6223
|
* @author Rainer Teixeira
|
|
4613
6224
|
* @since 1.0.0
|
|
4614
6225
|
*
|
|
@@ -5850,4 +7461,4 @@ declare const themes: {
|
|
|
5850
7461
|
*/
|
|
5851
7462
|
type Themes = typeof themes;
|
|
5852
7463
|
|
|
5853
|
-
export { BACKGROUND, type Background, type DarkColors, type DarkTheme, GRADIENTS, GRADIENT_DIRECTIONS, type GradientDirections, type Gradients, type LightColors, type LightTheme, type Radius, type Shadows, type Spacing, type Themes, type Tokens, type Typography, darkTheme, darkThemeColors, getContrast, getContrastInfo, getLuminance, hexToRgb, lightTheme, lightThemeColors, meetsWCAGAA, meetsWCAGAAA, radiusTokens, shadowTokens, spacingTokens, themes, tokens, typographyTokens, validateContrast };
|
|
7464
|
+
export { type Animations, BACKGROUND, type Background, type Breakpoints, COLORS, type Colors, type DarkColors, type DarkTheme, GRADIENTS, GRADIENT_COLORS, GRADIENT_COMPOSITES, GRADIENT_DIRECTIONS, type GradientColors, type GradientComposites, type GradientDirections, type Gradients, type LightColors, type LightTheme, MOTION, type Motion, NAVIGATION, type Navigation, RESPONSIVE, type Radius, SHADOWS, type Shadows, type Spacing, type Themes, type Tokens, type Typography, type ZIndex, Z_INDEX, animationTokens, breakpointTokens, componentTokens, darkTheme, darkThemeColors, effectTokens, getContrast, getContrastInfo, getLuminance, hexToRgb, lightTheme, lightThemeColors, meetsWCAGAA, meetsWCAGAAA, motionTokens, radiusTokens, shadowTokens, spacingTokens, themes, tokens, typographyTokens, validateContrast, zIndexTokens };
|