@olivmath_/fw3 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +87 -2
- package/assets/Geist-VariableFont_wght.ttf +0 -0
- package/assets/GeistMono-VariableFont_wght.ttf +0 -0
- package/assets/logo.png +0 -0
- package/assets/logo.svg +18 -0
- package/assets/logomarca.svg +12 -0
- package/brand.css +37 -0
- package/package.json +24 -4
- package/src/assets.js +19 -0
- package/src/colors.js +24 -0
- package/src/index.js +4 -0
- package/src/spacing.js +10 -0
- package/src/typography.js +46 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<svg width="600" height="120" viewBox="0 0 600 120" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<!-- Icon (simplified fw3 circle) -->
|
|
3
|
+
<g transform="translate(0, 0) scale(0.2885)">
|
|
4
|
+
<circle cx="208" cy="208" r="208" fill="white" stroke="#08090B" stroke-width="8"/>
|
|
5
|
+
<path d="M282.5 161.967C299.627 161.967 316.754 161.967 333.882 161.967C335.132 161.967 342.768 160.823 343.354 163.173C343.726 164.663 341.568 166.889 340.911 167.736C336.997 172.778 332.825 177.529 328.507 182.113C322.29 188.712 315.909 195.669 310.314 202.991C308.056 205.946 321.707 203.89 323.169 203.851C331.487 203.63 342.761 201.588 350.044 207.381C357.737 213.499 356.746 228.676 357.224 237.901C357.736 247.788 358.951 259.767 356.622 269.497C355.182 275.514 351.786 280.663 348.503 285.511C343.475 292.935 338.378 300.637 332.566 307.292C326.142 314.649 318.605 319.877 309.488 320.636C299.636 321.457 294.187 314.828 288.664 306.259C279.944 292.729 274.949 279.969 275.058 263.212C275.075 260.468 274.831 251.905 277.914 250.471C285.448 246.966 293.322 244.304 301.143 241.775C303.922 240.877 312.45 239.451 309.563 239.451" stroke="#08090B" stroke-width="32" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
+
<path d="M282.5 161.967C299.627 161.967 316.754 161.967 333.882 161.967C335.132 161.967 342.768 160.823 343.354 163.173C343.726 164.663 341.568 166.889 340.911 167.736C336.997 172.778 332.825 177.529 328.507 182.113C322.29 188.712 315.909 195.669 310.314 202.991C308.056 205.946 321.707 203.89 323.169 203.851C331.487 203.63 342.761 201.588 350.044 207.381C357.737 213.499 356.746 228.676 357.224 237.901C357.736 247.788 358.951 259.767 356.622 269.497C355.182 275.514 351.786 280.663 348.503 285.511C343.475 292.935 338.378 300.637 332.566 307.292C326.142 314.649 318.605 319.877 309.488 320.636C299.636 321.457 294.187 314.828 288.664 306.259C279.944 292.729 274.949 279.969 275.058 263.212C275.075 260.468 274.831 251.905 277.914 250.471C285.448 246.966 293.322 244.304 301.143 241.775C303.922 240.877 312.45 239.451 309.563 239.451" stroke="#183CFF" stroke-width="24" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
+
<path d="M158.687 185.987C165.715 185.987 162.746 204.868 162.746 209.319C162.746 221.136 161.174 232.414 160.04 244.1C158.909 255.754 157.59 270.55 160.867 281.895C164.202 293.442 182.352 323.839 194.62 309.789C208.111 294.339 212.813 274.752 212.813 253.57C212.813 247.064 212.469 253.701 213.226 256.971C215.354 266.155 218.5 275.854 224.69 282.454C229.676 287.77 236.227 288.996 242.732 290.418C248.736 291.73 256.979 293.627 260.699 286.716C265.234 278.291 266.361 265.818 267.239 256.196C268.112 246.634 269.12 234.585 265.585 225.59C261.944 216.324 257.72 204.874 251.377 197.61" stroke="#08090B" stroke-width="32" stroke-linecap="round" stroke-linejoin="round"/>
|
|
8
|
+
</g>
|
|
9
|
+
<!-- Text -->
|
|
10
|
+
<text x="145" y="55" font-family="Geist, Arial, sans-serif" font-weight="600" font-size="38" fill="#08090B" letter-spacing="-0.5">Floripa</text>
|
|
11
|
+
<text x="145" y="100" font-family="Geist, Arial, sans-serif" font-weight="600" font-size="38" fill="#183CFF" letter-spacing="-0.5">Web3</text>
|
|
12
|
+
</svg>
|
package/brand.css
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* ── Primary ── */
|
|
3
|
+
--fw3-blue: #183CFF;
|
|
4
|
+
--fw3-yellow: #FFDB18;
|
|
5
|
+
--fw3-black: #08090B;
|
|
6
|
+
--fw3-white: #FFFFFF;
|
|
7
|
+
|
|
8
|
+
/* ── Secondary ── */
|
|
9
|
+
--fw3-blue-deep: #183F8F;
|
|
10
|
+
--fw3-blue-soft: #CBD6FF;
|
|
11
|
+
--fw3-blue-line: #7DA2F8;
|
|
12
|
+
--fw3-canvas: #F5F5F3;
|
|
13
|
+
--fw3-panel: #E7E7E4;
|
|
14
|
+
--fw3-surface: #FFFFFF;
|
|
15
|
+
--fw3-muted: #555D69;
|
|
16
|
+
--fw3-danger: #D0121A;
|
|
17
|
+
--fw3-image-area: #2B3350;
|
|
18
|
+
|
|
19
|
+
/* ── Transparent ── */
|
|
20
|
+
--fw3-grid: rgba(150, 156, 255, 0.25);
|
|
21
|
+
--fw3-card-shadow: rgba(0, 0, 40, 0.43);
|
|
22
|
+
--fw3-caption-bg: rgba(8, 9, 11, 0.80);
|
|
23
|
+
|
|
24
|
+
/* ── Typography ── */
|
|
25
|
+
--fw3-font-display: "Geist", Arial, sans-serif;
|
|
26
|
+
--fw3-font-code: "Geist Mono", "Courier New", monospace;
|
|
27
|
+
|
|
28
|
+
/* ── Spacing (8px grid) ── */
|
|
29
|
+
--fw3-space-xxs: 2px;
|
|
30
|
+
--fw3-space-xs: 4px;
|
|
31
|
+
--fw3-space-sm: 8px;
|
|
32
|
+
--fw3-space-md: 16px;
|
|
33
|
+
--fw3-space-lg: 24px;
|
|
34
|
+
--fw3-space-xl: 32px;
|
|
35
|
+
--fw3-space-xxl: 48px;
|
|
36
|
+
--fw3-space-xxxl: 64px;
|
|
37
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@olivmath_/fw3",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "src/index.js",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": "./src/index.js",
|
|
8
|
+
"./colors": "./src/colors.js",
|
|
9
|
+
"./typography": "./src/typography.js",
|
|
10
|
+
"./spacing": "./src/spacing.js",
|
|
11
|
+
"./assets": "./src/assets.js",
|
|
12
|
+
"./assets/*": "./assets/*",
|
|
13
|
+
"./brand.css": "./brand.css"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"src/",
|
|
17
|
+
"assets/",
|
|
18
|
+
"brand.css"
|
|
19
|
+
],
|
|
20
|
+
"keywords": ["floripa-web3", "brand", "design-tokens", "identity"],
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "https://github.com/floripaweb3/floripa-web3"
|
|
25
|
+
}
|
|
26
|
+
}
|
package/src/assets.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { resolve, dirname } from "path";
|
|
2
|
+
import { fileURLToPath } from "url";
|
|
3
|
+
|
|
4
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
5
|
+
const assets = (...p) => resolve(__dirname, "..", "assets", ...p);
|
|
6
|
+
|
|
7
|
+
export const paths = {
|
|
8
|
+
logo: {
|
|
9
|
+
svg: assets("logo.svg"),
|
|
10
|
+
png: assets("logo.png"),
|
|
11
|
+
},
|
|
12
|
+
logomarca: {
|
|
13
|
+
svg: assets("logomarca.svg"),
|
|
14
|
+
},
|
|
15
|
+
fonts: {
|
|
16
|
+
geist: assets("Geist-VariableFont_wght.ttf"),
|
|
17
|
+
geistMono: assets("GeistMono-VariableFont_wght.ttf"),
|
|
18
|
+
},
|
|
19
|
+
};
|
package/src/colors.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export const colors = {
|
|
2
|
+
blue: "#183CFF",
|
|
3
|
+
yellow: "#FFDB18",
|
|
4
|
+
black: "#08090B",
|
|
5
|
+
white: "#FFFFFF",
|
|
6
|
+
|
|
7
|
+
blueDeep: "#183F8F",
|
|
8
|
+
blueSoft: "#CBD6FF",
|
|
9
|
+
blueLine: "#7DA2F8",
|
|
10
|
+
canvas: "#F5F5F3",
|
|
11
|
+
panel: "#E7E7E4",
|
|
12
|
+
surface: "#FFFFFF",
|
|
13
|
+
muted: "#555D69",
|
|
14
|
+
danger: "#D0121A",
|
|
15
|
+
imageArea: "#2B3350",
|
|
16
|
+
|
|
17
|
+
grid: "rgba(150, 156, 255, 0.25)",
|
|
18
|
+
cardShadow: "rgba(0, 0, 40, 0.43)",
|
|
19
|
+
captionBackground: "rgba(8, 9, 11, 0.80)",
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export const cssVariables = Object.entries(colors)
|
|
23
|
+
.map(([k, v]) => `--fw3-${k.replace(/[A-Z]/g, (c) => `-${c.toLowerCase()}`)}: ${v};`)
|
|
24
|
+
.join("\n");
|
package/src/index.js
ADDED
package/src/spacing.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export const fontFamilies = {
|
|
2
|
+
display: "Geist, Arial, sans-serif",
|
|
3
|
+
heading: "Geist, Arial, sans-serif",
|
|
4
|
+
body: "Geist, Arial, sans-serif",
|
|
5
|
+
code: "'Geist Mono', 'Courier New', monospace",
|
|
6
|
+
accent: "'Geist Mono', 'Courier New', monospace",
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export const typography = {
|
|
10
|
+
display: {
|
|
11
|
+
fontFamily: fontFamilies.display,
|
|
12
|
+
fontSize: 64,
|
|
13
|
+
fontWeight: 600,
|
|
14
|
+
lineHeight: 1.1,
|
|
15
|
+
letterSpacing: -1,
|
|
16
|
+
},
|
|
17
|
+
heading: {
|
|
18
|
+
fontFamily: fontFamilies.heading,
|
|
19
|
+
fontSize: 32,
|
|
20
|
+
fontWeight: 600,
|
|
21
|
+
lineHeight: 1.25,
|
|
22
|
+
letterSpacing: -0.3,
|
|
23
|
+
},
|
|
24
|
+
body: {
|
|
25
|
+
fontFamily: fontFamilies.body,
|
|
26
|
+
fontSize: 17,
|
|
27
|
+
fontWeight: 400,
|
|
28
|
+
lineHeight: 1.65,
|
|
29
|
+
letterSpacing: 0,
|
|
30
|
+
},
|
|
31
|
+
code: {
|
|
32
|
+
fontFamily: fontFamilies.code,
|
|
33
|
+
fontSize: 16,
|
|
34
|
+
fontWeight: 400,
|
|
35
|
+
lineHeight: 1.5,
|
|
36
|
+
letterSpacing: 0.3,
|
|
37
|
+
},
|
|
38
|
+
accent: {
|
|
39
|
+
fontFamily: fontFamilies.accent,
|
|
40
|
+
fontSize: 12,
|
|
41
|
+
fontWeight: 600,
|
|
42
|
+
lineHeight: 1.4,
|
|
43
|
+
letterSpacing: 2.5,
|
|
44
|
+
textTransform: "uppercase",
|
|
45
|
+
},
|
|
46
|
+
};
|