logical-brutalism 1.2__tar.gz

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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Matheus Lacerda Ferreira
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,4 @@
1
+ include README.md
2
+ include LICENSE
3
+ recursive-include templates *.html
4
+ recursive-include core *.css *.js *.json
@@ -0,0 +1,84 @@
1
+ Metadata-Version: 2.4
2
+ Name: logical-brutalism
3
+ Version: 1.2
4
+ Summary: Parametric Engine Deployment for Backend Infrastructure.
5
+ Author: Matheus Lacerda Ferreira
6
+ License-Expression: MIT
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: Operating System :: OS Independent
9
+ Requires-Python: >=3.7
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ Dynamic: license-file
13
+
14
+ # LOGICAL BRUTALISM v1.3.0 :: SYSTEM KERNEL
15
+
16
+ > "What does not resolve, does not exist."
17
+
18
+ **AUTHOR:** Matheus Lacerda Ferreira
19
+ **LICENSE:** MIT LICENSE (Copyright 2026)
20
+ **STATUS:** LIVING DOCUMENT
21
+
22
+ ---
23
+
24
+ ## 00 :: CENTRAL THESIS
25
+
26
+ Logical Brutalism was not born from aesthetic conjectures. Its origin lies in the necessity to secure operability within unstable environments. The non-negotiable metric is the mathematical and structural logic of an interface. If a function `X` is triggered, the feedback and consequence `Y` must be inevitable and immediate. This is not a frivolous design choice; it is digital survival architecture.
27
+
28
+ Just as structuralist architecture exposes raw materials and refuses decorative coating, Logical Brutalism forces interface engineering to expose its intrinsic logic. Any visual layer that contradicts or masks function is eliminated. There is no ornament devoid of information.
29
+
30
+ ## 01 :: QUICK START
31
+
32
+ The system is distributed globally for immediate adoption.
33
+
34
+ **NPM (Frontend/Tailwind):**
35
+ ```bash
36
+ npx logical-brutalism
37
+ ```
38
+
39
+ **PyPI (Python/Django/FastAPI):**
40
+ ```bash
41
+ pip install logical-brutalism
42
+ logical-brutalism
43
+ ```
44
+
45
+ ## 02 :: ARCHITECTURE AND LOCALIZATION
46
+
47
+ This repository holds the absolute geometric and mathematical constants of the Logical Brutalism design system.
48
+ The documentation requires strict reading. Choose your regional node matrix below:
49
+
50
+ * **[ [EN] Official English Registry ](docs/core.md)**
51
+ * **[ [PT] Brazilian Portuguese Root ](docs/pt/README.md)**
52
+
53
+ *Note: The English structural tree is located under `/docs/` as the default fallback. Ensure adherence to the mandatory components: 3 Axioms, 5 Pillars, and 7 Generative Principles.*
54
+
55
+ ## 03 :: CHANGELOG v1.3.0 (THE EVIDENCE & DISTRIBUTION UPDATE)
56
+
57
+ ### [ADD] :: DISTRIBUTION ENGINE
58
+ - [ADD] Native global CLI scaffolding package distributable via NPM (`npx logical-brutalism`).
59
+ - [ADD] Python-native ecosystem deployment engine distributable via PyPI (`pip install logical-brutalism`).
60
+ - [ADD] Automated environment initializer (`create app`) reducing integration friction for FastAPI and Django.
61
+
62
+ ### [ADD] :: PERFORMANCE & BENCHMARKS
63
+ - [ADD] Real-time Performance Dashboard comparing Logical Brutalism against legacy stacks (Tailwind, Bootstrap, React SPAs).
64
+ - [ADD] Empirical metric instrumentation tracking: Render Time, HTML Payload Size, JS Overhead, and Memory Consumption.
65
+ - [ADD] Stress-test benchmark scenarios utilizing high-volume data streams, large data tables, and rapid API responses under Polars and HTMX.
66
+
67
+ ### [MOD] :: IDENTITY & BRANDING
68
+ - [MOD] Official Brand Manual formalizing the parametric layout matrix, color systems, grid constraints, and visual philosophy.
69
+ - [MOD] Core typography migration: integration of Iosevka font as the absolute identity token for system data, exalting visual density and engineering authority.
70
+ - [MOD] Core visual alignment introducing the Geometric Monolith as the single, unambiguous brand identifier.
71
+
72
+ ### [DEL] :: SCOPE PURGE & DOCUMENTATION CLEANUP
73
+ - [DEL] Complete extraction of high-maintenance, low-return language nodes (Mandarin, German) to mitigate translation degradation.
74
+ - [DEL] Enforced localization lockdown: technical specification limited strictly to English [EN] and Brazilian Portuguese [PT-BR].
75
+ - [DEL] Elimination of purely declarative manifestos, shifting the repository focus from speculative aesthetics to verifiable software proof.
76
+
77
+ ---
78
+ MISSION STATUS: PROVEN & DISTRIBUTED.
79
+
80
+ ## 04 :: EXECUTION MANIFESTO
81
+
82
+ The construction process is strictly deliverable-based. Development occurs entirely within the parametric matrix defined in the core nodes.
83
+
84
+ [>] **[READ THE FULL EXECUTION MANIFESTO HERE](docs/core.md)**
@@ -0,0 +1,71 @@
1
+ # LOGICAL BRUTALISM v1.3.0 :: SYSTEM KERNEL
2
+
3
+ > "What does not resolve, does not exist."
4
+
5
+ **AUTHOR:** Matheus Lacerda Ferreira
6
+ **LICENSE:** MIT LICENSE (Copyright 2026)
7
+ **STATUS:** LIVING DOCUMENT
8
+
9
+ ---
10
+
11
+ ## 00 :: CENTRAL THESIS
12
+
13
+ Logical Brutalism was not born from aesthetic conjectures. Its origin lies in the necessity to secure operability within unstable environments. The non-negotiable metric is the mathematical and structural logic of an interface. If a function `X` is triggered, the feedback and consequence `Y` must be inevitable and immediate. This is not a frivolous design choice; it is digital survival architecture.
14
+
15
+ Just as structuralist architecture exposes raw materials and refuses decorative coating, Logical Brutalism forces interface engineering to expose its intrinsic logic. Any visual layer that contradicts or masks function is eliminated. There is no ornament devoid of information.
16
+
17
+ ## 01 :: QUICK START
18
+
19
+ The system is distributed globally for immediate adoption.
20
+
21
+ **NPM (Frontend/Tailwind):**
22
+ ```bash
23
+ npx logical-brutalism
24
+ ```
25
+
26
+ **PyPI (Python/Django/FastAPI):**
27
+ ```bash
28
+ pip install logical-brutalism
29
+ logical-brutalism
30
+ ```
31
+
32
+ ## 02 :: ARCHITECTURE AND LOCALIZATION
33
+
34
+ This repository holds the absolute geometric and mathematical constants of the Logical Brutalism design system.
35
+ The documentation requires strict reading. Choose your regional node matrix below:
36
+
37
+ * **[ [EN] Official English Registry ](docs/core.md)**
38
+ * **[ [PT] Brazilian Portuguese Root ](docs/pt/README.md)**
39
+
40
+ *Note: The English structural tree is located under `/docs/` as the default fallback. Ensure adherence to the mandatory components: 3 Axioms, 5 Pillars, and 7 Generative Principles.*
41
+
42
+ ## 03 :: CHANGELOG v1.3.0 (THE EVIDENCE & DISTRIBUTION UPDATE)
43
+
44
+ ### [ADD] :: DISTRIBUTION ENGINE
45
+ - [ADD] Native global CLI scaffolding package distributable via NPM (`npx logical-brutalism`).
46
+ - [ADD] Python-native ecosystem deployment engine distributable via PyPI (`pip install logical-brutalism`).
47
+ - [ADD] Automated environment initializer (`create app`) reducing integration friction for FastAPI and Django.
48
+
49
+ ### [ADD] :: PERFORMANCE & BENCHMARKS
50
+ - [ADD] Real-time Performance Dashboard comparing Logical Brutalism against legacy stacks (Tailwind, Bootstrap, React SPAs).
51
+ - [ADD] Empirical metric instrumentation tracking: Render Time, HTML Payload Size, JS Overhead, and Memory Consumption.
52
+ - [ADD] Stress-test benchmark scenarios utilizing high-volume data streams, large data tables, and rapid API responses under Polars and HTMX.
53
+
54
+ ### [MOD] :: IDENTITY & BRANDING
55
+ - [MOD] Official Brand Manual formalizing the parametric layout matrix, color systems, grid constraints, and visual philosophy.
56
+ - [MOD] Core typography migration: integration of Iosevka font as the absolute identity token for system data, exalting visual density and engineering authority.
57
+ - [MOD] Core visual alignment introducing the Geometric Monolith as the single, unambiguous brand identifier.
58
+
59
+ ### [DEL] :: SCOPE PURGE & DOCUMENTATION CLEANUP
60
+ - [DEL] Complete extraction of high-maintenance, low-return language nodes (Mandarin, German) to mitigate translation degradation.
61
+ - [DEL] Enforced localization lockdown: technical specification limited strictly to English [EN] and Brazilian Portuguese [PT-BR].
62
+ - [DEL] Elimination of purely declarative manifestos, shifting the repository focus from speculative aesthetics to verifiable software proof.
63
+
64
+ ---
65
+ MISSION STATUS: PROVEN & DISTRIBUTED.
66
+
67
+ ## 04 :: EXECUTION MANIFESTO
68
+
69
+ The construction process is strictly deliverable-based. Development occurs entirely within the parametric matrix defined in the core nodes.
70
+
71
+ [>] **[READ THE FULL EXECUTION MANIFESTO HERE](docs/core.md)**
@@ -0,0 +1,2 @@
1
+ # LOGICAL BRUTALISM :: INIT MODULE
2
+ # Este arquivo transforma o diretório cli em um pacote importável para o instalador PyPI.
@@ -0,0 +1,158 @@
1
+ #!/usr/bin/env python3
2
+ """
3
+ LOGICAL BRUTALISM :: CLI INITIALIZER
4
+ Parametric Engine Deployment for Backend Infrastructure (Django/FastAPI).
5
+ Author: Matheus Lacerda Ferreira
6
+ License: MIT
7
+ """
8
+
9
+ import os
10
+ import sys
11
+
12
+ # ANSI CORE COLORS
13
+ C_AMBER = '\033[38;5;214m' # Aprox #FFB000 (Oxidized Amber)
14
+ C_VOID = '\033[0m'
15
+
16
+ ASCII_ART = rf"""{C_AMBER}
17
+ _ ____ _____ _____ _____ _
18
+ | | / __ \ / ____|_ _/ ____| /\ | |
19
+ | | | | | | | __ | || | / \ | |
20
+ | | | | | | | |_ | | || | / /\ \ | |
21
+ | |___| |__| | |__| |_| || |____ / ____ \| |____
22
+ |______\____/ \_____|_____\_____/_/ \_\______|
23
+
24
+ ____ _____ _ _ _______ _ _____ _____ __ __
25
+ | _ \| __ \| | | |__ __|/\ | | |_ _|/ ____| \/ |
26
+ | |_) | |__) | | | | | | / \ | | | | | (___ | \ / |
27
+ | _ <| _ /| | | | | | / /\ \ | | | | \___ \| |\/| |
28
+ | |_) | | \ \| |__| | | |/ ____ \| |____ _| |_ ____) | | | |
29
+ |____/|_| \_\\____/ |_/_/ \_\______|_____|_____/|_| |_|
30
+
31
+ :: IF IT DOES NOT SOLVE IT, IT DOES NOT EXIST ::{C_VOID}
32
+ """
33
+
34
+ HTML_PAYLOAD = """<!DOCTYPE html>
35
+ <html lang="en">
36
+ <head>
37
+ <meta charset="UTF-8">
38
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
39
+ <title>Logical Brutalism :: Engineering Instance</title>
40
+
41
+ <!-- Absolute Typography -->
42
+ <link rel="preconnect" href="https://fonts.googleapis.com">
43
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
44
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
45
+
46
+ <!-- Parasitic Dependencies (HTMX/Alpine) -->
47
+ <script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
48
+ <script src="https://unpkg.com/htmx.org@1.9.10"></script>
49
+
50
+ <!-- Central Visual Matrix -->
51
+ <link rel="stylesheet" href="/static/css/logical-brutalism.css">
52
+
53
+ <!-- Tailwind Hook with Brutalist Plugin -->
54
+ <script src="https://cdn.tailwindcss.com"></script>
55
+ <script src="/static/js/logical-brutalism-tailwind.js"></script>
56
+
57
+ <script>
58
+ tailwind.config = {
59
+ theme: {
60
+ extend: {
61
+ colors: {
62
+ 'lb-void': 'var(--color-void)',
63
+ 'lb-amber': 'var(--color-amber)',
64
+ 'lb-surface': 'var(--color-surface)',
65
+ 'lb-text': 'var(--color-text)',
66
+ 'lb-white': 'var(--color-white)',
67
+ 'lb-error': 'var(--color-error)',
68
+ },
69
+ fontFamily: {
70
+ 'struct': ['Inter', 'sans-serif'],
71
+ 'code': ['JetBrains Mono', 'monospace'],
72
+ }
73
+ }
74
+ },
75
+ corePlugins: {
76
+ borderRadius: false,
77
+ transitionProperty: false,
78
+ transitionDuration: false,
79
+ transitionTimingFunction: false,
80
+ transitionDelay: false,
81
+ animation: false,
82
+ }
83
+ }
84
+ </script>
85
+ </head>
86
+ <body class="bg-lb-void text-lb-text font-struct p-8">
87
+
88
+ <div class="max-w-4xl mx-auto border border-lb-surface bg-lb-void p-6 mt-12">
89
+ <h1 class="font-code text-lb-amber text-lg uppercase tracking-widest mb-4">
90
+ [SYS_ACK] Deployment Successful
91
+ </h1>
92
+ <p class="font-struct text-lb-text text-base">
93
+ The visual foundation of the project now operates under Logical Brutalism governance.<br>
94
+ The reactive libraries HTMX and Alpine.js are embedded and mapped in the DOM tree.<br>
95
+ Every fluid transition or radius distortion has been natively vetoed in the Tailwind injector.
96
+ </p>
97
+ <div class="mt-6 border-t border-lb-surface pt-4">
98
+ <code class="font-code text-lb-error text-xs uppercase">Restriction in Effect: Adding or transmuting palette variables will incur a formal systemic failure (Axiom III Violation).</code>
99
+ </div>
100
+ </div>
101
+
102
+ </body>
103
+ </html>
104
+ """
105
+
106
+ def main():
107
+ print(ASCII_ART)
108
+ print(f"{C_AMBER}[STARTING DEPLOYMENT PROTOCOL]{C_VOID}\n")
109
+
110
+ # Caminhos dinâmicos baseados no diretório do instalador (distribuição independente de OS)
111
+ script_dir = os.path.dirname(os.path.abspath(__file__))
112
+ core_css_source = os.path.join(script_dir, '..', 'core', 'logical-brutalism.css')
113
+ core_js_source = os.path.join(script_dir, '..', 'core', 'logical-brutalism-tailwind.js')
114
+
115
+ # 1. Copiar recursos CSS e JS do Core para a infraestrutura alvo
116
+ css_dir = os.path.join(os.getcwd(), 'static', 'css')
117
+ js_dir = os.path.join(os.getcwd(), 'static', 'js')
118
+
119
+ try:
120
+ # Lê dinamicamente o arquivo primário de CSS
121
+ with open(core_css_source, 'r', encoding='utf-8') as source_file:
122
+ css_content = source_file.read()
123
+
124
+ os.makedirs(css_dir, exist_ok=True)
125
+ css_path = os.path.join(css_dir, 'logical-brutalism.css')
126
+ with open(css_path, 'w', encoding='utf-8') as f:
127
+ f.write(css_content)
128
+ print(f" [+] ROOT CSS MATRIX INJECTED :: {css_path}")
129
+
130
+ # Lê dinamicamente o plugin do Tailwind
131
+ with open(core_js_source, 'r', encoding='utf-8') as source_file:
132
+ js_content = source_file.read()
133
+
134
+ os.makedirs(js_dir, exist_ok=True)
135
+ js_path = os.path.join(js_dir, 'logical-brutalism-tailwind.js')
136
+ with open(js_path, 'w', encoding='utf-8') as f:
137
+ f.write(js_content)
138
+ print(f" [+] TAILWIND PLUGIN INJECTED :: {js_path}")
139
+
140
+ except Exception as e:
141
+ print(f" [ERR] Failed to copy core infrastructure files: {e}")
142
+ sys.exit(1)
143
+
144
+ # 2. Injetar base.html
145
+ html_path = os.path.join(os.getcwd(), 'base.html')
146
+ try:
147
+ with open(html_path, 'w', encoding='utf-8') as f:
148
+ f.write(HTML_PAYLOAD)
149
+ print(f" [+] ROOT TEMPLATE (BASE.HTML) INJECTED :: {html_path}")
150
+ except Exception as e:
151
+ print(f" [ERR] Failed to write base HTML: {e}")
152
+ sys.exit(1)
153
+
154
+ print(f"\n{C_AMBER}[DEPLOYMENT COMPLETE IN O(1)]{C_VOID}")
155
+ print("The B2B infrastructure has been toggled. Returning to primary shell...\n")
156
+
157
+ if __name__ == '__main__':
158
+ main()
@@ -0,0 +1,32 @@
1
+ /**
2
+ * LOGICAL BRUTALISM :: WEB COMPONENTS (LB-ELEMENTS)
3
+ * Author: Matheus Lacerda Ferreira
4
+ * Descrição: Componentes estendidos da API nativa do navegador (Vanilla JS).
5
+ * Filosofia: Zero abstração, máxima integridade semântica.
6
+ */
7
+
8
+ class LBButton extends HTMLElement {
9
+ connectedCallback() {
10
+ // Aplica o estilo paramétrico oficial
11
+ this.classList.add('btn');
12
+
13
+ // Força semântica de botão e acessibilidade de teclado
14
+ if (!this.hasAttribute('role')) {
15
+ this.setAttribute('role', 'button');
16
+ }
17
+ if (!this.hasAttribute('tabindex')) {
18
+ this.setAttribute('tabindex', '0');
19
+ }
20
+
21
+ // Disparo coerente com o comportamento nativo de botões
22
+ this.addEventListener('keydown', (e) => {
23
+ if (e.key === 'Enter' || e.key === ' ') {
24
+ e.preventDefault();
25
+ this.click();
26
+ }
27
+ });
28
+ }
29
+ }
30
+
31
+ // Registro no escopo da janela do navegador
32
+ customElements.define('lb-button', LBButton);
@@ -0,0 +1,72 @@
1
+ /**
2
+ * LOGICAL BRUTALISM :: TAILWIND PLUGIN v1.2
3
+ * AUTHOR: Matheus Lacerda Ferreira
4
+ *
5
+ * Injecting the parametric matrix into Tailwind CSS.
6
+ * Zero roundness. Zero transition. Pure structure.
7
+ */
8
+
9
+ const plugin = require('tailwindcss/plugin');
10
+
11
+ module.exports = plugin(
12
+ function ({ addBase }) {
13
+ // Agressive Global Override to disable all rounding and transitions
14
+ addBase({
15
+ '*': {
16
+ 'border-radius': '0 !important',
17
+ 'transition': 'none !important',
18
+ 'animation': 'none !important',
19
+ },
20
+ ':root': {
21
+ '--color-void': '#0A0A0A',
22
+ '--color-amber': '#FFB000',
23
+ '--color-surface': '#1E1E1E',
24
+ '--color-text': '#888888',
25
+ '--color-white': '#F0F0F0',
26
+ '--color-error': '#FF4444',
27
+ },
28
+ '[data-theme="infinity-white"]': {
29
+ '--color-void': '#E3E3E3',
30
+ '--color-amber': '#B35900',
31
+ '--color-surface': '#CCCCCC',
32
+ '--color-text': '#4D4D4D',
33
+ '--color-white': '#0A0A0A',
34
+ '--color-error': '#BE123C',
35
+ }
36
+ });
37
+ },
38
+ {
39
+ theme: {
40
+ extend: {
41
+ colors: {
42
+ 'lb-void': 'var(--color-void)',
43
+ 'lb-amber': 'var(--color-amber)',
44
+ 'lb-surface': 'var(--color-surface)',
45
+ 'lb-text': 'var(--color-text)',
46
+ 'lb-white': 'var(--color-white)',
47
+ 'lb-error': 'var(--color-error)',
48
+ },
49
+ spacing: {
50
+ '1': '0.25rem',
51
+ '2': '0.5rem',
52
+ '3': '1rem',
53
+ '4': '1.5rem',
54
+ '5': '2rem',
55
+ '6': '3rem',
56
+ },
57
+ fontFamily: {
58
+ 'struct': ['Inter', 'sans-serif'],
59
+ 'code': ['JetBrains Mono', 'monospace'],
60
+ }
61
+ },
62
+ },
63
+ corePlugins: {
64
+ borderRadius: false,
65
+ transitionProperty: false,
66
+ transitionDuration: false,
67
+ transitionTimingFunction: false,
68
+ transitionDelay: false,
69
+ animation: false,
70
+ }
71
+ }
72
+ );
@@ -0,0 +1,222 @@
1
+ /* =========================================================================
2
+ LOGICAL BRUTALISM :: CORE ENGINE v1.2
3
+ AUTHOR: Matheus Lacerda Ferreira
4
+ "O que não resolve, não existe."
5
+ ========================================================================= */
6
+
7
+ /* 1. AGRESSIVE RESET & GRID STABILITY */
8
+ *, *::before, *::after {
9
+ box-sizing: border-box;
10
+ margin: 0;
11
+ padding: 0;
12
+ border-width: 0;
13
+ border-style: solid;
14
+ border-color: currentColor;
15
+ }
16
+
17
+ html {
18
+ line-height: 1.5;
19
+ -webkit-text-size-adjust: 100%;
20
+ font-family: var(--font-struct, sans-serif);
21
+ }
22
+
23
+ body {
24
+ margin: 0;
25
+ background-color: var(--color-void);
26
+ color: var(--color-text);
27
+ -webkit-font-smoothing: antialiased;
28
+ -moz-osx-font-smoothing: grayscale;
29
+ }
30
+
31
+ img, svg, video, canvas, audio, iframe, embed, object {
32
+ display: block;
33
+ }
34
+
35
+ /* 2. ROOT & EXTENSION TOKENS */
36
+ :root {
37
+ --color-void: #0A0A0A;
38
+ --color-amber: #FFB000;
39
+ --color-surface: #1E1E1E;
40
+ --color-text: #888888;
41
+ --color-white: #F0F0F0;
42
+ --color-error: #FF4444;
43
+
44
+ --font-struct: 'Inter', sans-serif;
45
+ --font-code: 'JetBrains Mono', monospace;
46
+
47
+ --space-1: 0.25rem;
48
+ --space-2: 0.5rem;
49
+ --space-3: 1rem;
50
+ --space-4: 1.5rem;
51
+ --space-5: 2rem;
52
+ --space-6: 3rem;
53
+ }
54
+
55
+ [data-theme="infinity-white"] {
56
+ --color-void: #E3E3E3;
57
+ --color-amber: #B35900;
58
+ --color-surface: #CCCCCC;
59
+ --color-text: #4D4D4D;
60
+ --color-white: #0A0A0A;
61
+ --color-error: #BE123C;
62
+ }
63
+
64
+ /* 3. TYPOGRAPHY UTILITIES */
65
+ .font-struct {
66
+ font-family: var(--font-struct);
67
+ }
68
+
69
+ .font-code {
70
+ font-family: var(--font-code);
71
+ letter-spacing: 0.08em;
72
+ }
73
+
74
+ /* 4. COMPONENT: BUTTON */
75
+ .btn {
76
+ display: inline-flex;
77
+ align-items: center;
78
+ justify-content: center;
79
+ min-height: 44px;
80
+ min-width: 44px;
81
+ padding: var(--space-2) var(--space-4);
82
+ font-family: var(--font-code);
83
+ font-size: 0.875rem;
84
+ letter-spacing: 0.08em;
85
+ text-transform: uppercase;
86
+ color: var(--color-void);
87
+ background: var(--color-amber);
88
+ border: none;
89
+ border-radius: 0 !important;
90
+ cursor: pointer;
91
+ transition: none !important;
92
+ outline: none;
93
+ text-decoration: none;
94
+ box-sizing: border-box;
95
+ }
96
+
97
+ .btn:hover {
98
+ background: var(--color-white);
99
+ color: var(--color-void);
100
+ }
101
+
102
+ .btn:active {
103
+ background: var(--color-white);
104
+ color: var(--color-void);
105
+ }
106
+
107
+ .btn:disabled {
108
+ background: transparent;
109
+ color: var(--color-text);
110
+ border: 1px solid var(--color-text);
111
+ cursor: not-allowed;
112
+ opacity: 0.5;
113
+ }
114
+
115
+ /* 4.5. COMPONENT: CARD */
116
+ .lb-card {
117
+ display: block;
118
+ background: var(--color-surface);
119
+ border: 1px solid var(--color-surface);
120
+ padding: var(--space-4);
121
+ color: var(--color-text);
122
+ text-decoration: none;
123
+ border-radius: 0 !important;
124
+ box-sizing: border-box;
125
+ }
126
+
127
+ /* GLOBAL FOCUS-VISIBLE */
128
+ :focus-visible {
129
+ outline: 2px solid var(--color-amber) !important;
130
+ outline-offset: 2px !important;
131
+ }
132
+
133
+ /* 5. COMPONENT: NAV (RADICAL RESPONSIVE) */
134
+ .lb-nav {
135
+ display: flex;
136
+ justify-content: space-between;
137
+ align-items: center;
138
+ border-bottom: 2px solid var(--color-surface);
139
+ padding: var(--space-3) var(--space-4);
140
+ font-family: var(--font-code);
141
+ text-transform: uppercase;
142
+ background: var(--color-void);
143
+ width: 100%;
144
+ box-sizing: border-box;
145
+ }
146
+
147
+ .lb-nav-logo {
148
+ color: var(--color-white);
149
+ font-weight: bold;
150
+ text-decoration: none;
151
+ font-size: 1rem;
152
+ min-width: 44px;
153
+ min-height: 44px;
154
+ display: flex;
155
+ align-items: center;
156
+ }
157
+
158
+ .lb-nav-links {
159
+ display: flex;
160
+ gap: var(--space-4);
161
+ align-items: center;
162
+ }
163
+
164
+ .lb-nav-link {
165
+ color: var(--color-text);
166
+ text-decoration: none;
167
+ transition: none !important;
168
+ font-size: 0.875rem;
169
+ font-weight: 600;
170
+ min-height: 44px;
171
+ display: flex;
172
+ align-items: center;
173
+ padding: 0 var(--space-1);
174
+ }
175
+
176
+ .lb-nav-link::before { content: "[ "; color: transparent; }
177
+ .lb-nav-link::after { content: " ]"; color: transparent; }
178
+ .lb-nav-link:hover, .lb-nav-link.active { color: var(--color-amber); }
179
+ .lb-nav-link:hover::before, .lb-nav-link.active::before { color: var(--color-amber); }
180
+ .lb-nav-link:hover::after, .lb-nav-link.active::after { color: var(--color-amber); }
181
+
182
+ /* 6. UTILITY: RESPONSIVE TABLE */
183
+ .table-responsive {
184
+ width: 100%;
185
+ overflow-x: auto;
186
+ -webkit-overflow-scrolling: touch;
187
+ margin-bottom: var(--space-4);
188
+ border: 1px solid var(--color-surface);
189
+ }
190
+
191
+ .table-responsive table {
192
+ width: 100%;
193
+ border-collapse: collapse;
194
+ white-space: nowrap;
195
+ }
196
+
197
+ /* 7. RADICAL RESPONSIVENESS OVERRIDES */
198
+ @media (max-width: 768px) {
199
+ :root {
200
+ --space-4: 1.125rem;
201
+ --space-5: 1.5rem;
202
+ --space-6: 2.25rem;
203
+ }
204
+
205
+ .lb-nav {
206
+ flex-direction: column;
207
+ align-items: flex-start;
208
+ gap: var(--space-3);
209
+ }
210
+
211
+ .lb-nav-links {
212
+ flex-direction: column;
213
+ align-items: flex-start;
214
+ gap: var(--space-1);
215
+ width: 100%;
216
+ }
217
+
218
+ .lb-nav-link {
219
+ width: 100%;
220
+ padding: var(--space-2) 0;
221
+ }
222
+ }
@@ -0,0 +1,99 @@
1
+ {
2
+ "Primitives": {
3
+ "color": {
4
+ "void": {
5
+ "value": "#0A0A0A",
6
+ "type": "color",
7
+ "description": "Primary Background"
8
+ },
9
+ "amber": {
10
+ "value": "#FFB000",
11
+ "type": "color",
12
+ "description": "Action Accent"
13
+ },
14
+ "surface": {
15
+ "value": "#1E1E1E",
16
+ "type": "color",
17
+ "description": "Component Boundary"
18
+ },
19
+ "text": {
20
+ "value": "#888888",
21
+ "type": "color",
22
+ "description": "Default Text"
23
+ },
24
+ "white": {
25
+ "value": "#F0F0F0",
26
+ "type": "color",
27
+ "description": "Critical emphasis"
28
+ },
29
+ "error": {
30
+ "value": "#FF4444",
31
+ "type": "color",
32
+ "description": "Error state"
33
+ }
34
+ },
35
+ "spacing": {
36
+ "space-1": {
37
+ "value": "4px",
38
+ "type": "spacing"
39
+ },
40
+ "space-2": {
41
+ "value": "8px",
42
+ "type": "spacing"
43
+ },
44
+ "space-3": {
45
+ "value": "16px",
46
+ "type": "spacing"
47
+ },
48
+ "space-4": {
49
+ "value": "24px",
50
+ "type": "spacing"
51
+ },
52
+ "space-5": {
53
+ "value": "32px",
54
+ "type": "spacing"
55
+ },
56
+ "space-6": {
57
+ "value": "48px",
58
+ "type": "spacing"
59
+ }
60
+ },
61
+ "radii": {
62
+ "default": {
63
+ "value": "0px",
64
+ "type": "borderRadius",
65
+ "description": "Hardcoded. Axioma III: Restricao."
66
+ }
67
+ },
68
+ "fontFamilies": {
69
+ "logic": {
70
+ "value": "JetBrains Mono",
71
+ "type": "fontFamilies"
72
+ },
73
+ "human": {
74
+ "value": "Inter",
75
+ "type": "fontFamilies"
76
+ }
77
+ }
78
+ },
79
+ "Semantic": {
80
+ "background": {
81
+ "primary": {
82
+ "value": "{Primitives.color.void}",
83
+ "type": "color"
84
+ }
85
+ },
86
+ "action": {
87
+ "primary": {
88
+ "value": "{Primitives.color.amber}",
89
+ "type": "color"
90
+ }
91
+ },
92
+ "border": {
93
+ "component": {
94
+ "value": "{Primitives.color.surface}",
95
+ "type": "color"
96
+ }
97
+ }
98
+ }
99
+ }
@@ -0,0 +1,84 @@
1
+ Metadata-Version: 2.4
2
+ Name: logical-brutalism
3
+ Version: 1.2
4
+ Summary: Parametric Engine Deployment for Backend Infrastructure.
5
+ Author: Matheus Lacerda Ferreira
6
+ License-Expression: MIT
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: Operating System :: OS Independent
9
+ Requires-Python: >=3.7
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ Dynamic: license-file
13
+
14
+ # LOGICAL BRUTALISM v1.3.0 :: SYSTEM KERNEL
15
+
16
+ > "What does not resolve, does not exist."
17
+
18
+ **AUTHOR:** Matheus Lacerda Ferreira
19
+ **LICENSE:** MIT LICENSE (Copyright 2026)
20
+ **STATUS:** LIVING DOCUMENT
21
+
22
+ ---
23
+
24
+ ## 00 :: CENTRAL THESIS
25
+
26
+ Logical Brutalism was not born from aesthetic conjectures. Its origin lies in the necessity to secure operability within unstable environments. The non-negotiable metric is the mathematical and structural logic of an interface. If a function `X` is triggered, the feedback and consequence `Y` must be inevitable and immediate. This is not a frivolous design choice; it is digital survival architecture.
27
+
28
+ Just as structuralist architecture exposes raw materials and refuses decorative coating, Logical Brutalism forces interface engineering to expose its intrinsic logic. Any visual layer that contradicts or masks function is eliminated. There is no ornament devoid of information.
29
+
30
+ ## 01 :: QUICK START
31
+
32
+ The system is distributed globally for immediate adoption.
33
+
34
+ **NPM (Frontend/Tailwind):**
35
+ ```bash
36
+ npx logical-brutalism
37
+ ```
38
+
39
+ **PyPI (Python/Django/FastAPI):**
40
+ ```bash
41
+ pip install logical-brutalism
42
+ logical-brutalism
43
+ ```
44
+
45
+ ## 02 :: ARCHITECTURE AND LOCALIZATION
46
+
47
+ This repository holds the absolute geometric and mathematical constants of the Logical Brutalism design system.
48
+ The documentation requires strict reading. Choose your regional node matrix below:
49
+
50
+ * **[ [EN] Official English Registry ](docs/core.md)**
51
+ * **[ [PT] Brazilian Portuguese Root ](docs/pt/README.md)**
52
+
53
+ *Note: The English structural tree is located under `/docs/` as the default fallback. Ensure adherence to the mandatory components: 3 Axioms, 5 Pillars, and 7 Generative Principles.*
54
+
55
+ ## 03 :: CHANGELOG v1.3.0 (THE EVIDENCE & DISTRIBUTION UPDATE)
56
+
57
+ ### [ADD] :: DISTRIBUTION ENGINE
58
+ - [ADD] Native global CLI scaffolding package distributable via NPM (`npx logical-brutalism`).
59
+ - [ADD] Python-native ecosystem deployment engine distributable via PyPI (`pip install logical-brutalism`).
60
+ - [ADD] Automated environment initializer (`create app`) reducing integration friction for FastAPI and Django.
61
+
62
+ ### [ADD] :: PERFORMANCE & BENCHMARKS
63
+ - [ADD] Real-time Performance Dashboard comparing Logical Brutalism against legacy stacks (Tailwind, Bootstrap, React SPAs).
64
+ - [ADD] Empirical metric instrumentation tracking: Render Time, HTML Payload Size, JS Overhead, and Memory Consumption.
65
+ - [ADD] Stress-test benchmark scenarios utilizing high-volume data streams, large data tables, and rapid API responses under Polars and HTMX.
66
+
67
+ ### [MOD] :: IDENTITY & BRANDING
68
+ - [MOD] Official Brand Manual formalizing the parametric layout matrix, color systems, grid constraints, and visual philosophy.
69
+ - [MOD] Core typography migration: integration of Iosevka font as the absolute identity token for system data, exalting visual density and engineering authority.
70
+ - [MOD] Core visual alignment introducing the Geometric Monolith as the single, unambiguous brand identifier.
71
+
72
+ ### [DEL] :: SCOPE PURGE & DOCUMENTATION CLEANUP
73
+ - [DEL] Complete extraction of high-maintenance, low-return language nodes (Mandarin, German) to mitigate translation degradation.
74
+ - [DEL] Enforced localization lockdown: technical specification limited strictly to English [EN] and Brazilian Portuguese [PT-BR].
75
+ - [DEL] Elimination of purely declarative manifestos, shifting the repository focus from speculative aesthetics to verifiable software proof.
76
+
77
+ ---
78
+ MISSION STATUS: PROVEN & DISTRIBUTED.
79
+
80
+ ## 04 :: EXECUTION MANIFESTO
81
+
82
+ The construction process is strictly deliverable-based. Development occurs entirely within the parametric matrix defined in the core nodes.
83
+
84
+ [>] **[READ THE FULL EXECUTION MANIFESTO HERE](docs/core.md)**
@@ -0,0 +1,16 @@
1
+ LICENSE
2
+ MANIFEST.in
3
+ README.md
4
+ pyproject.toml
5
+ cli/__init__.py
6
+ cli/lb_init.py
7
+ core/lb-elements.js
8
+ core/logical-brutalism-tailwind.js
9
+ core/logical-brutalism.css
10
+ core/tokens.json
11
+ logical_brutalism.egg-info/PKG-INFO
12
+ logical_brutalism.egg-info/SOURCES.txt
13
+ logical_brutalism.egg-info/dependency_links.txt
14
+ logical_brutalism.egg-info/entry_points.txt
15
+ logical_brutalism.egg-info/top_level.txt
16
+ templates/base.html
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ logical-brutalism = cli.lb_init:main
@@ -0,0 +1,29 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "logical-brutalism"
7
+ version = "1.2"
8
+ description = "Parametric Engine Deployment for Backend Infrastructure."
9
+ authors = [
10
+ { name="Matheus Lacerda Ferreira" }
11
+ ]
12
+ license = "MIT" # Corrigido para SPDX string limpa exigida pelo setuptools
13
+ readme = "README.md"
14
+ requires-python = ">=3.7"
15
+ classifiers = [
16
+ "Programming Language :: Python :: 3",
17
+ "Operating System :: OS Independent",
18
+ # Removido o License Classifier depreciado que causava o Warning
19
+ ]
20
+
21
+ [project.scripts]
22
+ logical-brutalism = "cli.lb_init:main"
23
+
24
+ # INJEÇÃO DA DIRETRIZ DE DISCOVERY DE ELITE
25
+ [tool.setuptools]
26
+ packages = ["cli", "core"]
27
+
28
+ [tool.setuptools.package-data]
29
+ core = ["*.css", "*.js", "*.json"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,101 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>{% block title %}Logical Brutalism :: B2B Interface v1.2.0{% endblock %}</title>
7
+
8
+ <!-- Tipografia Restrita -->
9
+ <link rel="preconnect" href="https://fonts.googleapis.com">
10
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
11
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
12
+
13
+ <!-- Dependências Parasíticas Assíncronas (Infraestrutura Dinâmica Menor) -->
14
+ <script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
15
+ <script src="https://unpkg.com/htmx.org@1.9.10"></script>
16
+
17
+ <!-- Core Engine CSS (Matriz Absoluta de Reset) -->
18
+ <!-- path absoluto apontado ao /core/ (Substituir pela logica { % static % } do seu fw) -->
19
+ <link rel="stylesheet" href="/core/logical-brutalism.css">
20
+
21
+ <!-- Engine Tailwind Bloqueada pelo Arquivo Fonte -->
22
+ <script src="https://cdn.tailwindcss.com"></script>
23
+ <script src="/core/logical-brutalism-tailwind.js"></script>
24
+
25
+ <!-- Componente Header Global (Override em Tempo de Execução para Brackets O(1)) -->
26
+ <style>
27
+ /* LOGICAL BRUTALISM: MASTER NAV HEADER */
28
+ .lb-nav {
29
+ display: flex;
30
+ justify-content: space-between;
31
+ align-items: center;
32
+ border-bottom: 2px solid var(--color-surface, #1E1E1E);
33
+ padding: var(--space-3) 0;
34
+ font-family: var(--font-code, 'JetBrains Mono', monospace);
35
+ text-transform: uppercase;
36
+ background: var(--color-void, #0A0A0A);
37
+ width: 100%;
38
+ }
39
+ .lb-nav-logo {
40
+ color: var(--color-white, #F0F0F0);
41
+ font-weight: bold;
42
+ text-decoration: none;
43
+ font-size: 1rem;
44
+ }
45
+ .lb-nav-links {
46
+ display: flex;
47
+ gap: 2rem;
48
+ }
49
+ .lb-nav-link {
50
+ color: var(--color-text, #888888);
51
+ text-decoration: none;
52
+ transition: none !important;
53
+ font-size: 0.875rem;
54
+ font-weight: 600;
55
+ }
56
+ /* Anti-Shift: Transparent Brackets previnem re-rendering do container grid vizinho */
57
+ .lb-nav-link::before { content: "[ "; color: transparent; }
58
+ .lb-nav-link::after { content: " ]"; color: transparent; }
59
+ .lb-nav-link:hover, .lb-nav-link.active { color: var(--color-amber, #FFB000); }
60
+ .lb-nav-link:hover::before, .lb-nav-link.active::before { color: var(--color-amber, #FFB000); }
61
+ .lb-nav-link:hover::after, .lb-nav-link.active::after { color: var(--color-amber, #FFB000); }
62
+ </style>
63
+
64
+ {% block extra_head %}{% endblock %}
65
+ </head>
66
+
67
+ <body class="bg-lb-void text-lb-text font-struct min-h-screen flex flex-col">
68
+
69
+ <!-- HEADER GERAL DA APLICAÇÃO -->
70
+ <!-- A restrição de padding X é tratada no max-w ou global wrap do layout secundario -->
71
+ <header class="w-full px-6 md:px-12 bg-lb-void">
72
+ <nav class="lb-nav">
73
+ <a href="/" class="lb-nav-logo">BRUTALISMO_LÓGICO</a>
74
+ <div class="lb-nav-links">
75
+ <!-- Standardized routes (Overwrite using framework routing e.g. django {% url %} or fastApi app.url_path_for) -->
76
+ <a href="/" class="lb-nav-link active">LIVING SPEC</a>
77
+ <a href="/showcase/components.html" class="lb-nav-link">UI COMPONENTS</a>
78
+ <a href="/showcase/data-components.html" class="lb-nav-link">DATA DENSITY</a>
79
+ <a href="/showcase/market-comparison.html" class="lb-nav-link">MARKET</a>
80
+ <a href="/showcase/showcase-blind-test.html" class="lb-nav-link">BLIND TEST</a>
81
+ </div>
82
+ </nav>
83
+ </header>
84
+
85
+ <!-- MÓDULO BASE DE CONTEÚDO MUTÁVEL -->
86
+ <main style="padding: var(--space-6);" class="flex-grow w-full max-w-[1280px] mx-auto box-border">
87
+ <!-- DOM PAYLOAD INJECTION POINT: JINJA2 / FASTAPI / DJANGO -->
88
+ {% block content %}
89
+ <!-- RENDERIZAÇÃO ESTREITA E HERDADA AQUI -->
90
+ {% endblock %}
91
+ </main>
92
+
93
+ <footer class="mt-auto border-t border-lb-surface px-6 md:px-12 py-4">
94
+ <div class="font-code text-xs text-lb-text tracking-widest uppercase">
95
+ [SYS_STATUS] :: { % block footer_status % } ONLINE :: v1.2.0 { % endblock % }
96
+ </div>
97
+ </footer>
98
+
99
+ {% block extra_scripts %}{% endblock %}
100
+ </body>
101
+ </html>