academe-kit 0.11.4 → 0.11.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs
CHANGED
|
@@ -6850,6 +6850,9 @@ const LOGO_A_DATA_URI = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlb
|
|
|
6850
6850
|
// derivar a largura a partir da altura, preservando a proporção do logo.
|
|
6851
6851
|
const ASSET_W = 1320;
|
|
6852
6852
|
const ASSET_H = 1320.42;
|
|
6853
|
+
/** Proporção (largura/altura) do asset. O AcademeLoading usa para dimensionar o
|
|
6854
|
+
* container do logo igual à imagem e mantê-lo centralizado nos círculos. */
|
|
6855
|
+
const LOGO_A_ASPECT = ASSET_W / ASSET_H;
|
|
6853
6856
|
/**
|
|
6854
6857
|
* Logo "A" da Academe (§8) — renderiza o asset oficial
|
|
6855
6858
|
* (`src/assets/LOGO A SVG 2.svg`) via data URI. Puramente estático; quem anima é
|
|
@@ -6872,7 +6875,7 @@ const TOTAL = 2333;
|
|
|
6872
6875
|
*/
|
|
6873
6876
|
const HOLD_T = 0.56;
|
|
6874
6877
|
const DEFAULT_COLORS = {
|
|
6875
|
-
background: "#
|
|
6878
|
+
background: "#f1f2f6",
|
|
6876
6879
|
purple: "#7C28D4",
|
|
6877
6880
|
white: "#FCFCFC",
|
|
6878
6881
|
};
|
|
@@ -7137,7 +7140,7 @@ function AcademeLoading({ size = 320, duration = TOTAL, loading, autoPlay = true
|
|
|
7137
7140
|
return 0;
|
|
7138
7141
|
});
|
|
7139
7142
|
const LOGO_H = 0.46 * S;
|
|
7140
|
-
const LOGO_W = LOGO_H *
|
|
7143
|
+
const LOGO_W = LOGO_H * LOGO_A_ASPECT;
|
|
7141
7144
|
// Centralização determinística: cada camada é absoluta e centralizada por
|
|
7142
7145
|
// `inset:0 + margin:auto` sobre um width/height fixo — independe do tamanho
|
|
7143
7146
|
// relativo dos elementos (o grid implícito anterior ancorava a célula no canto,
|