feat(skills): add full-stack design engineering and compliance skills suite
- Add UI/UX design & anti-slop skills (frontend-design, ui-ux-pro-max, tailwind-design-system, shadcn) - Add 3D creative skills (threejs suite, canvas-design, algorithmic-art) - Add React 19 architecture & performance skills (vercel composition & best practices) - Add zero-CLS skeleton contract (component-skeleton-contract) - Add resilient forms, type-safe data fetching, and i18n/l10n standards - Add security, performance, and legal compliance (web-appsec-hardening, web-vitals-performance, eu-legal-compliance, e2e-a11y-testing)
This commit is contained in:
parent
b1efc2aec7
commit
51a66b9575
|
|
@ -0,0 +1,9 @@
|
||||||
|
# Byte-compiled / optimized / DLL files
|
||||||
|
__pycache__/
|
||||||
|
*.py[cod]
|
||||||
|
*$py.class
|
||||||
|
|
||||||
|
# OS generated files
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
desktop.ini
|
||||||
|
|
@ -0,0 +1,202 @@
|
||||||
|
|
||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright 2026 Anthropic, PBC.
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
|
@ -0,0 +1,405 @@
|
||||||
|
---
|
||||||
|
name: algorithmic-art
|
||||||
|
description: Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
|
||||||
|
license: Complete terms in LICENSE.txt
|
||||||
|
---
|
||||||
|
|
||||||
|
Algorithmic philosophies are computational aesthetic movements that are then expressed through code. Output .md files (philosophy), .html files (interactive viewer), and .js files (generative algorithms).
|
||||||
|
|
||||||
|
This happens in two steps:
|
||||||
|
1. Algorithmic Philosophy Creation (.md file)
|
||||||
|
2. Express by creating p5.js generative art (.html + .js files)
|
||||||
|
|
||||||
|
First, undertake this task:
|
||||||
|
|
||||||
|
## ALGORITHMIC PHILOSOPHY CREATION
|
||||||
|
|
||||||
|
To begin, create an ALGORITHMIC PHILOSOPHY (not static images or templates) that will be interpreted through:
|
||||||
|
- Computational processes, emergent behavior, mathematical beauty
|
||||||
|
- Seeded randomness, noise fields, organic systems
|
||||||
|
- Particles, flows, fields, forces
|
||||||
|
- Parametric variation and controlled chaos
|
||||||
|
|
||||||
|
### THE CRITICAL UNDERSTANDING
|
||||||
|
- What is received: Some subtle input or instructions by the user to take into account, but use as a foundation; it should not constrain creative freedom.
|
||||||
|
- What is created: An algorithmic philosophy/generative aesthetic movement.
|
||||||
|
- What happens next: The same version receives the philosophy and EXPRESSES IT IN CODE - creating p5.js sketches that are 90% algorithmic generation, 10% essential parameters.
|
||||||
|
|
||||||
|
Consider this approach:
|
||||||
|
- Write a manifesto for a generative art movement
|
||||||
|
- The next phase involves writing the algorithm that brings it to life
|
||||||
|
|
||||||
|
The philosophy must emphasize: Algorithmic expression. Emergent behavior. Computational beauty. Seeded variation.
|
||||||
|
|
||||||
|
### HOW TO GENERATE AN ALGORITHMIC PHILOSOPHY
|
||||||
|
|
||||||
|
**Name the movement** (1-2 words): "Organic Turbulence" / "Quantum Harmonics" / "Emergent Stillness"
|
||||||
|
|
||||||
|
**Articulate the philosophy** (4-6 paragraphs - concise but complete):
|
||||||
|
|
||||||
|
To capture the ALGORITHMIC essence, express how this philosophy manifests through:
|
||||||
|
- Computational processes and mathematical relationships?
|
||||||
|
- Noise functions and randomness patterns?
|
||||||
|
- Particle behaviors and field dynamics?
|
||||||
|
- Temporal evolution and system states?
|
||||||
|
- Parametric variation and emergent complexity?
|
||||||
|
|
||||||
|
**CRITICAL GUIDELINES:**
|
||||||
|
- **Avoid redundancy**: Each algorithmic aspect should be mentioned once. Avoid repeating concepts about noise theory, particle dynamics, or mathematical principles unless adding new depth.
|
||||||
|
- **Emphasize craftsmanship REPEATEDLY**: The philosophy MUST stress multiple times that the final algorithm should appear as though it took countless hours to develop, was refined with care, and comes from someone at the absolute top of their field. This framing is essential - repeat phrases like "meticulously crafted algorithm," "the product of deep computational expertise," "painstaking optimization," "master-level implementation."
|
||||||
|
- **Leave creative space**: Be specific about the algorithmic direction, but concise enough that the next Claude has room to make interpretive implementation choices at an extremely high level of craftsmanship.
|
||||||
|
|
||||||
|
The philosophy must guide the next version to express ideas ALGORITHMICALLY, not through static images. Beauty lives in the process, not the final frame.
|
||||||
|
|
||||||
|
### PHILOSOPHY EXAMPLES
|
||||||
|
|
||||||
|
**"Organic Turbulence"**
|
||||||
|
Philosophy: Chaos constrained by natural law, order emerging from disorder.
|
||||||
|
Algorithmic expression: Flow fields driven by layered Perlin noise. Thousands of particles following vector forces, their trails accumulating into organic density maps. Multiple noise octaves create turbulent regions and calm zones. Color emerges from velocity and density - fast particles burn bright, slow ones fade to shadow. The algorithm runs until equilibrium - a meticulously tuned balance where every parameter was refined through countless iterations by a master of computational aesthetics.
|
||||||
|
|
||||||
|
**"Quantum Harmonics"**
|
||||||
|
Philosophy: Discrete entities exhibiting wave-like interference patterns.
|
||||||
|
Algorithmic expression: Particles initialized on a grid, each carrying a phase value that evolves through sine waves. When particles are near, their phases interfere - constructive interference creates bright nodes, destructive creates voids. Simple harmonic motion generates complex emergent mandalas. The result of painstaking frequency calibration where every ratio was carefully chosen to produce resonant beauty.
|
||||||
|
|
||||||
|
**"Recursive Whispers"**
|
||||||
|
Philosophy: Self-similarity across scales, infinite depth in finite space.
|
||||||
|
Algorithmic expression: Branching structures that subdivide recursively. Each branch slightly randomized but constrained by golden ratios. L-systems or recursive subdivision generate tree-like forms that feel both mathematical and organic. Subtle noise perturbations break perfect symmetry. Line weights diminish with each recursion level. Every branching angle the product of deep mathematical exploration.
|
||||||
|
|
||||||
|
**"Field Dynamics"**
|
||||||
|
Philosophy: Invisible forces made visible through their effects on matter.
|
||||||
|
Algorithmic expression: Vector fields constructed from mathematical functions or noise. Particles born at edges, flowing along field lines, dying when they reach equilibrium or boundaries. Multiple fields can attract, repel, or rotate particles. The visualization shows only the traces - ghost-like evidence of invisible forces. A computational dance meticulously choreographed through force balance.
|
||||||
|
|
||||||
|
**"Stochastic Crystallization"**
|
||||||
|
Philosophy: Random processes crystallizing into ordered structures.
|
||||||
|
Algorithmic expression: Randomized circle packing or Voronoi tessellation. Start with random points, let them evolve through relaxation algorithms. Cells push apart until equilibrium. Color based on cell size, neighbor count, or distance from center. The organic tiling that emerges feels both random and inevitable. Every seed produces unique crystalline beauty - the mark of a master-level generative algorithm.
|
||||||
|
|
||||||
|
*These are condensed examples. The actual algorithmic philosophy should be 4-6 substantial paragraphs.*
|
||||||
|
|
||||||
|
### ESSENTIAL PRINCIPLES
|
||||||
|
- **ALGORITHMIC PHILOSOPHY**: Creating a computational worldview to be expressed through code
|
||||||
|
- **PROCESS OVER PRODUCT**: Always emphasize that beauty emerges from the algorithm's execution - each run is unique
|
||||||
|
- **PARAMETRIC EXPRESSION**: Ideas communicate through mathematical relationships, forces, behaviors - not static composition
|
||||||
|
- **ARTISTIC FREEDOM**: The next Claude interprets the philosophy algorithmically - provide creative implementation room
|
||||||
|
- **PURE GENERATIVE ART**: This is about making LIVING ALGORITHMS, not static images with randomness
|
||||||
|
- **EXPERT CRAFTSMANSHIP**: Repeatedly emphasize the final algorithm must feel meticulously crafted, refined through countless iterations, the product of deep expertise by someone at the absolute top of their field in computational aesthetics
|
||||||
|
|
||||||
|
**The algorithmic philosophy should be 4-6 paragraphs long.** Fill it with poetic computational philosophy that brings together the intended vision. Avoid repeating the same points. Output this algorithmic philosophy as a .md file.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## DEDUCING THE CONCEPTUAL SEED
|
||||||
|
|
||||||
|
**CRITICAL STEP**: Before implementing the algorithm, identify the subtle conceptual thread from the original request.
|
||||||
|
|
||||||
|
**THE ESSENTIAL PRINCIPLE**:
|
||||||
|
The concept is a **subtle, niche reference embedded within the algorithm itself** - not always literal, always sophisticated. Someone familiar with the subject should feel it intuitively, while others simply experience a masterful generative composition. The algorithmic philosophy provides the computational language. The deduced concept provides the soul - the quiet conceptual DNA woven invisibly into parameters, behaviors, and emergence patterns.
|
||||||
|
|
||||||
|
This is **VERY IMPORTANT**: The reference must be so refined that it enhances the work's depth without announcing itself. Think like a jazz musician quoting another song through algorithmic harmony - only those who know will catch it, but everyone appreciates the generative beauty.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## P5.JS IMPLEMENTATION
|
||||||
|
|
||||||
|
With the philosophy AND conceptual framework established, express it through code. Pause to gather thoughts before proceeding. Use only the algorithmic philosophy created and the instructions below.
|
||||||
|
|
||||||
|
### ⚠️ STEP 0: READ THE TEMPLATE FIRST ⚠️
|
||||||
|
|
||||||
|
**CRITICAL: BEFORE writing any HTML:**
|
||||||
|
|
||||||
|
1. **Read** `templates/viewer.html` using the Read tool
|
||||||
|
2. **Study** the exact structure, styling, and Anthropic branding
|
||||||
|
3. **Use that file as the LITERAL STARTING POINT** - not just inspiration
|
||||||
|
4. **Keep all FIXED sections exactly as shown** (header, sidebar structure, Anthropic colors/fonts, seed controls, action buttons)
|
||||||
|
5. **Replace only the VARIABLE sections** marked in the file's comments (algorithm, parameters, UI controls for parameters)
|
||||||
|
|
||||||
|
**Avoid:**
|
||||||
|
- ❌ Creating HTML from scratch
|
||||||
|
- ❌ Inventing custom styling or color schemes
|
||||||
|
- ❌ Using system fonts or dark themes
|
||||||
|
- ❌ Changing the sidebar structure
|
||||||
|
|
||||||
|
**Follow these practices:**
|
||||||
|
- ✅ Copy the template's exact HTML structure
|
||||||
|
- ✅ Keep Anthropic branding (Poppins/Lora fonts, light colors, gradient backdrop)
|
||||||
|
- ✅ Maintain the sidebar layout (Seed → Parameters → Colors? → Actions)
|
||||||
|
- ✅ Replace only the p5.js algorithm and parameter controls
|
||||||
|
|
||||||
|
The template is the foundation. Build on it, don't rebuild it.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
To create gallery-quality computational art that lives and breathes, use the algorithmic philosophy as the foundation.
|
||||||
|
|
||||||
|
### TECHNICAL REQUIREMENTS
|
||||||
|
|
||||||
|
**Seeded Randomness (Art Blocks Pattern)**:
|
||||||
|
```javascript
|
||||||
|
// ALWAYS use a seed for reproducibility
|
||||||
|
let seed = 12345; // or hash from user input
|
||||||
|
randomSeed(seed);
|
||||||
|
noiseSeed(seed);
|
||||||
|
```
|
||||||
|
|
||||||
|
**Parameter Structure - FOLLOW THE PHILOSOPHY**:
|
||||||
|
|
||||||
|
To establish parameters that emerge naturally from the algorithmic philosophy, consider: "What qualities of this system can be adjusted?"
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
let params = {
|
||||||
|
seed: 12345, // Always include seed for reproducibility
|
||||||
|
// colors
|
||||||
|
// Add parameters that control YOUR algorithm:
|
||||||
|
// - Quantities (how many?)
|
||||||
|
// - Scales (how big? how fast?)
|
||||||
|
// - Probabilities (how likely?)
|
||||||
|
// - Ratios (what proportions?)
|
||||||
|
// - Angles (what direction?)
|
||||||
|
// - Thresholds (when does behavior change?)
|
||||||
|
};
|
||||||
|
```
|
||||||
|
|
||||||
|
**To design effective parameters, focus on the properties the system needs to be tunable rather than thinking in terms of "pattern types".**
|
||||||
|
|
||||||
|
**Core Algorithm - EXPRESS THE PHILOSOPHY**:
|
||||||
|
|
||||||
|
**CRITICAL**: The algorithmic philosophy should dictate what to build.
|
||||||
|
|
||||||
|
To express the philosophy through code, avoid thinking "which pattern should I use?" and instead think "how to express this philosophy through code?"
|
||||||
|
|
||||||
|
If the philosophy is about **organic emergence**, consider using:
|
||||||
|
- Elements that accumulate or grow over time
|
||||||
|
- Random processes constrained by natural rules
|
||||||
|
- Feedback loops and interactions
|
||||||
|
|
||||||
|
If the philosophy is about **mathematical beauty**, consider using:
|
||||||
|
- Geometric relationships and ratios
|
||||||
|
- Trigonometric functions and harmonics
|
||||||
|
- Precise calculations creating unexpected patterns
|
||||||
|
|
||||||
|
If the philosophy is about **controlled chaos**, consider using:
|
||||||
|
- Random variation within strict boundaries
|
||||||
|
- Bifurcation and phase transitions
|
||||||
|
- Order emerging from disorder
|
||||||
|
|
||||||
|
**The algorithm flows from the philosophy, not from a menu of options.**
|
||||||
|
|
||||||
|
To guide the implementation, let the conceptual essence inform creative and original choices. Build something that expresses the vision for this particular request.
|
||||||
|
|
||||||
|
**Canvas Setup**: Standard p5.js structure:
|
||||||
|
```javascript
|
||||||
|
function setup() {
|
||||||
|
createCanvas(1200, 1200);
|
||||||
|
// Initialize your system
|
||||||
|
}
|
||||||
|
|
||||||
|
function draw() {
|
||||||
|
// Your generative algorithm
|
||||||
|
// Can be static (noLoop) or animated
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### CRAFTSMANSHIP REQUIREMENTS
|
||||||
|
|
||||||
|
**CRITICAL**: To achieve mastery, create algorithms that feel like they emerged through countless iterations by a master generative artist. Tune every parameter carefully. Ensure every pattern emerges with purpose. This is NOT random noise - this is CONTROLLED CHAOS refined through deep expertise.
|
||||||
|
|
||||||
|
- **Balance**: Complexity without visual noise, order without rigidity
|
||||||
|
- **Color Harmony**: Thoughtful palettes, not random RGB values
|
||||||
|
- **Composition**: Even in randomness, maintain visual hierarchy and flow
|
||||||
|
- **Performance**: Smooth execution, optimized for real-time if animated
|
||||||
|
- **Reproducibility**: Same seed ALWAYS produces identical output
|
||||||
|
|
||||||
|
### OUTPUT FORMAT
|
||||||
|
|
||||||
|
Output:
|
||||||
|
1. **Algorithmic Philosophy** - As markdown or text explaining the generative aesthetic
|
||||||
|
2. **Single HTML Artifact** - Self-contained interactive generative art built from `templates/viewer.html` (see STEP 0 and next section)
|
||||||
|
|
||||||
|
The HTML artifact contains everything: p5.js (from CDN), the algorithm, parameter controls, and UI - all in one file that works immediately in claude.ai artifacts or any browser. Start from the template file, not from scratch.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## INTERACTIVE ARTIFACT CREATION
|
||||||
|
|
||||||
|
**REMINDER: `templates/viewer.html` should have already been read (see STEP 0). Use that file as the starting point.**
|
||||||
|
|
||||||
|
To allow exploration of the generative art, create a single, self-contained HTML artifact. Ensure this artifact works immediately in claude.ai or any browser - no setup required. Embed everything inline.
|
||||||
|
|
||||||
|
### CRITICAL: WHAT'S FIXED VS VARIABLE
|
||||||
|
|
||||||
|
The `templates/viewer.html` file is the foundation. It contains the exact structure and styling needed.
|
||||||
|
|
||||||
|
**FIXED (always include exactly as shown):**
|
||||||
|
- Layout structure (header, sidebar, main canvas area)
|
||||||
|
- Anthropic branding (UI colors, fonts, gradients)
|
||||||
|
- Seed section in sidebar:
|
||||||
|
- Seed display
|
||||||
|
- Previous/Next buttons
|
||||||
|
- Random button
|
||||||
|
- Jump to seed input + Go button
|
||||||
|
- Actions section in sidebar:
|
||||||
|
- Regenerate button
|
||||||
|
- Reset button
|
||||||
|
|
||||||
|
**VARIABLE (customize for each artwork):**
|
||||||
|
- The entire p5.js algorithm (setup/draw/classes)
|
||||||
|
- The parameters object (define what the art needs)
|
||||||
|
- The Parameters section in sidebar:
|
||||||
|
- Number of parameter controls
|
||||||
|
- Parameter names
|
||||||
|
- Min/max/step values for sliders
|
||||||
|
- Control types (sliders, inputs, etc.)
|
||||||
|
- Colors section (optional):
|
||||||
|
- Some art needs color pickers
|
||||||
|
- Some art might use fixed colors
|
||||||
|
- Some art might be monochrome (no color controls needed)
|
||||||
|
- Decide based on the art's needs
|
||||||
|
|
||||||
|
**Every artwork should have unique parameters and algorithm!** The fixed parts provide consistent UX - everything else expresses the unique vision.
|
||||||
|
|
||||||
|
### REQUIRED FEATURES
|
||||||
|
|
||||||
|
**1. Parameter Controls**
|
||||||
|
- Sliders for numeric parameters (particle count, noise scale, speed, etc.)
|
||||||
|
- Color pickers for palette colors
|
||||||
|
- Real-time updates when parameters change
|
||||||
|
- Reset button to restore defaults
|
||||||
|
|
||||||
|
**2. Seed Navigation**
|
||||||
|
- Display current seed number
|
||||||
|
- "Previous" and "Next" buttons to cycle through seeds
|
||||||
|
- "Random" button for random seed
|
||||||
|
- Input field to jump to specific seed
|
||||||
|
- Generate 100 variations when requested (seeds 1-100)
|
||||||
|
|
||||||
|
**3. Single Artifact Structure**
|
||||||
|
```html
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<!-- p5.js from CDN - always available -->
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.7.0/p5.min.js"></script>
|
||||||
|
<style>
|
||||||
|
/* All styling inline - clean, minimal */
|
||||||
|
/* Canvas on top, controls below */
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="canvas-container"></div>
|
||||||
|
<div id="controls">
|
||||||
|
<!-- All parameter controls -->
|
||||||
|
</div>
|
||||||
|
<script>
|
||||||
|
// ALL p5.js code inline here
|
||||||
|
// Parameter objects, classes, functions
|
||||||
|
// setup() and draw()
|
||||||
|
// UI handlers
|
||||||
|
// Everything self-contained
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
```
|
||||||
|
|
||||||
|
**CRITICAL**: This is a single artifact. No external files, no imports (except p5.js CDN). Everything inline.
|
||||||
|
|
||||||
|
**4. Implementation Details - BUILD THE SIDEBAR**
|
||||||
|
|
||||||
|
The sidebar structure:
|
||||||
|
|
||||||
|
**1. Seed (FIXED)** - Always include exactly as shown:
|
||||||
|
- Seed display
|
||||||
|
- Prev/Next/Random/Jump buttons
|
||||||
|
|
||||||
|
**2. Parameters (VARIABLE)** - Create controls for the art:
|
||||||
|
```html
|
||||||
|
<div class="control-group">
|
||||||
|
<label>Parameter Name</label>
|
||||||
|
<input type="range" id="param" min="..." max="..." step="..." value="..." oninput="updateParam('param', this.value)">
|
||||||
|
<span class="value-display" id="param-value">...</span>
|
||||||
|
</div>
|
||||||
|
```
|
||||||
|
Add as many control-group divs as there are parameters.
|
||||||
|
|
||||||
|
**3. Colors (OPTIONAL/VARIABLE)** - Include if the art needs adjustable colors:
|
||||||
|
- Add color pickers if users should control palette
|
||||||
|
- Skip this section if the art uses fixed colors
|
||||||
|
- Skip if the art is monochrome
|
||||||
|
|
||||||
|
**4. Actions (FIXED)** - Always include exactly as shown:
|
||||||
|
- Regenerate button
|
||||||
|
- Reset button
|
||||||
|
- Download PNG button
|
||||||
|
|
||||||
|
**Requirements**:
|
||||||
|
- Seed controls must work (prev/next/random/jump/display)
|
||||||
|
- All parameters must have UI controls
|
||||||
|
- Regenerate, Reset, Download buttons must work
|
||||||
|
- Keep Anthropic branding (UI styling, not art colors)
|
||||||
|
|
||||||
|
### USING THE ARTIFACT
|
||||||
|
|
||||||
|
The HTML artifact works immediately:
|
||||||
|
1. **In claude.ai**: Displayed as an interactive artifact - runs instantly
|
||||||
|
2. **As a file**: Save and open in any browser - no server needed
|
||||||
|
3. **Sharing**: Send the HTML file - it's completely self-contained
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## VARIATIONS & EXPLORATION
|
||||||
|
|
||||||
|
The artifact includes seed navigation by default (prev/next/random buttons), allowing users to explore variations without creating multiple files. If the user wants specific variations highlighted:
|
||||||
|
|
||||||
|
- Include seed presets (buttons for "Variation 1: Seed 42", "Variation 2: Seed 127", etc.)
|
||||||
|
- Add a "Gallery Mode" that shows thumbnails of multiple seeds side-by-side
|
||||||
|
- All within the same single artifact
|
||||||
|
|
||||||
|
This is like creating a series of prints from the same plate - the algorithm is consistent, but each seed reveals different facets of its potential. The interactive nature means users discover their own favorites by exploring the seed space.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## THE CREATIVE PROCESS
|
||||||
|
|
||||||
|
**User request** → **Algorithmic philosophy** → **Implementation**
|
||||||
|
|
||||||
|
Each request is unique. The process involves:
|
||||||
|
|
||||||
|
1. **Interpret the user's intent** - What aesthetic is being sought?
|
||||||
|
2. **Create an algorithmic philosophy** (4-6 paragraphs) describing the computational approach
|
||||||
|
3. **Implement it in code** - Build the algorithm that expresses this philosophy
|
||||||
|
4. **Design appropriate parameters** - What should be tunable?
|
||||||
|
5. **Build matching UI controls** - Sliders/inputs for those parameters
|
||||||
|
|
||||||
|
**The constants**:
|
||||||
|
- Anthropic branding (colors, fonts, layout)
|
||||||
|
- Seed navigation (always present)
|
||||||
|
- Self-contained HTML artifact
|
||||||
|
|
||||||
|
**Everything else is variable**:
|
||||||
|
- The algorithm itself
|
||||||
|
- The parameters
|
||||||
|
- The UI controls
|
||||||
|
- The visual outcome
|
||||||
|
|
||||||
|
To achieve the best results, trust creativity and let the philosophy guide the implementation.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## RESOURCES
|
||||||
|
|
||||||
|
This skill includes helpful templates and documentation:
|
||||||
|
|
||||||
|
- **templates/viewer.html**: REQUIRED STARTING POINT for all HTML artifacts.
|
||||||
|
- This is the foundation - contains the exact structure and Anthropic branding
|
||||||
|
- **Keep unchanged**: Layout structure, sidebar organization, Anthropic colors/fonts, seed controls, action buttons
|
||||||
|
- **Replace**: The p5.js algorithm, parameter definitions, and UI controls in Parameters section
|
||||||
|
- The extensive comments in the file mark exactly what to keep vs replace
|
||||||
|
|
||||||
|
- **templates/generator_template.js**: Reference for p5.js best practices and code structure principles.
|
||||||
|
- Shows how to organize parameters, use seeded randomness, structure classes
|
||||||
|
- NOT a pattern menu - use these principles to build unique algorithms
|
||||||
|
- Embed algorithms inline in the HTML artifact (don't create separate .js files)
|
||||||
|
|
||||||
|
**Critical reminder**:
|
||||||
|
- The **template is the STARTING POINT**, not inspiration
|
||||||
|
- The **algorithm is where to create** something unique
|
||||||
|
- Don't copy the flow field example - build what the philosophy demands
|
||||||
|
- But DO keep the exact UI structure and Anthropic branding from the template
|
||||||
|
|
@ -0,0 +1,223 @@
|
||||||
|
/**
|
||||||
|
* ═══════════════════════════════════════════════════════════════════════════
|
||||||
|
* P5.JS GENERATIVE ART - BEST PRACTICES
|
||||||
|
* ═══════════════════════════════════════════════════════════════════════════
|
||||||
|
*
|
||||||
|
* This file shows STRUCTURE and PRINCIPLES for p5.js generative art.
|
||||||
|
* It does NOT prescribe what art you should create.
|
||||||
|
*
|
||||||
|
* Your algorithmic philosophy should guide what you build.
|
||||||
|
* These are just best practices for how to structure your code.
|
||||||
|
*
|
||||||
|
* ═══════════════════════════════════════════════════════════════════════════
|
||||||
|
*/
|
||||||
|
|
||||||
|
// ============================================================================
|
||||||
|
// 1. PARAMETER ORGANIZATION
|
||||||
|
// ============================================================================
|
||||||
|
// Keep all tunable parameters in one object
|
||||||
|
// This makes it easy to:
|
||||||
|
// - Connect to UI controls
|
||||||
|
// - Reset to defaults
|
||||||
|
// - Serialize/save configurations
|
||||||
|
|
||||||
|
let params = {
|
||||||
|
// Define parameters that match YOUR algorithm
|
||||||
|
// Examples (customize for your art):
|
||||||
|
// - Counts: how many elements (particles, circles, branches, etc.)
|
||||||
|
// - Scales: size, speed, spacing
|
||||||
|
// - Probabilities: likelihood of events
|
||||||
|
// - Angles: rotation, direction
|
||||||
|
// - Colors: palette arrays
|
||||||
|
|
||||||
|
seed: 12345,
|
||||||
|
// define colorPalette as an array -- choose whatever colors you'd like ['#d97757', '#6a9bcc', '#788c5d', '#b0aea5']
|
||||||
|
// Add YOUR parameters here based on your algorithm
|
||||||
|
};
|
||||||
|
|
||||||
|
// ============================================================================
|
||||||
|
// 2. SEEDED RANDOMNESS (Critical for reproducibility)
|
||||||
|
// ============================================================================
|
||||||
|
// ALWAYS use seeded random for Art Blocks-style reproducible output
|
||||||
|
|
||||||
|
function initializeSeed(seed) {
|
||||||
|
randomSeed(seed);
|
||||||
|
noiseSeed(seed);
|
||||||
|
// Now all random() and noise() calls will be deterministic
|
||||||
|
}
|
||||||
|
|
||||||
|
// ============================================================================
|
||||||
|
// 3. P5.JS LIFECYCLE
|
||||||
|
// ============================================================================
|
||||||
|
|
||||||
|
function setup() {
|
||||||
|
createCanvas(800, 800);
|
||||||
|
|
||||||
|
// Initialize seed first
|
||||||
|
initializeSeed(params.seed);
|
||||||
|
|
||||||
|
// Set up your generative system
|
||||||
|
// This is where you initialize:
|
||||||
|
// - Arrays of objects
|
||||||
|
// - Grid structures
|
||||||
|
// - Initial positions
|
||||||
|
// - Starting states
|
||||||
|
|
||||||
|
// For static art: call noLoop() at the end of setup
|
||||||
|
// For animated art: let draw() keep running
|
||||||
|
}
|
||||||
|
|
||||||
|
function draw() {
|
||||||
|
// Option 1: Static generation (runs once, then stops)
|
||||||
|
// - Generate everything in setup()
|
||||||
|
// - Call noLoop() in setup()
|
||||||
|
// - draw() doesn't do much or can be empty
|
||||||
|
|
||||||
|
// Option 2: Animated generation (continuous)
|
||||||
|
// - Update your system each frame
|
||||||
|
// - Common patterns: particle movement, growth, evolution
|
||||||
|
// - Can optionally call noLoop() after N frames
|
||||||
|
|
||||||
|
// Option 3: User-triggered regeneration
|
||||||
|
// - Use noLoop() by default
|
||||||
|
// - Call redraw() when parameters change
|
||||||
|
}
|
||||||
|
|
||||||
|
// ============================================================================
|
||||||
|
// 4. CLASS STRUCTURE (When you need objects)
|
||||||
|
// ============================================================================
|
||||||
|
// Use classes when your algorithm involves multiple entities
|
||||||
|
// Examples: particles, agents, cells, nodes, etc.
|
||||||
|
|
||||||
|
class Entity {
|
||||||
|
constructor() {
|
||||||
|
// Initialize entity properties
|
||||||
|
// Use random() here - it will be seeded
|
||||||
|
}
|
||||||
|
|
||||||
|
update() {
|
||||||
|
// Update entity state
|
||||||
|
// This might involve:
|
||||||
|
// - Physics calculations
|
||||||
|
// - Behavioral rules
|
||||||
|
// - Interactions with neighbors
|
||||||
|
}
|
||||||
|
|
||||||
|
display() {
|
||||||
|
// Render the entity
|
||||||
|
// Keep rendering logic separate from update logic
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ============================================================================
|
||||||
|
// 5. PERFORMANCE CONSIDERATIONS
|
||||||
|
// ============================================================================
|
||||||
|
|
||||||
|
// For large numbers of elements:
|
||||||
|
// - Pre-calculate what you can
|
||||||
|
// - Use simple collision detection (spatial hashing if needed)
|
||||||
|
// - Limit expensive operations (sqrt, trig) when possible
|
||||||
|
// - Consider using p5 vectors efficiently
|
||||||
|
|
||||||
|
// For smooth animation:
|
||||||
|
// - Aim for 60fps
|
||||||
|
// - Profile if things are slow
|
||||||
|
// - Consider reducing particle counts or simplifying calculations
|
||||||
|
|
||||||
|
// ============================================================================
|
||||||
|
// 6. UTILITY FUNCTIONS
|
||||||
|
// ============================================================================
|
||||||
|
|
||||||
|
// Color utilities
|
||||||
|
function hexToRgb(hex) {
|
||||||
|
const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
|
||||||
|
return result ? {
|
||||||
|
r: parseInt(result[1], 16),
|
||||||
|
g: parseInt(result[2], 16),
|
||||||
|
b: parseInt(result[3], 16)
|
||||||
|
} : null;
|
||||||
|
}
|
||||||
|
|
||||||
|
function colorFromPalette(index) {
|
||||||
|
return params.colorPalette[index % params.colorPalette.length];
|
||||||
|
}
|
||||||
|
|
||||||
|
// Mapping and easing
|
||||||
|
function mapRange(value, inMin, inMax, outMin, outMax) {
|
||||||
|
return outMin + (outMax - outMin) * ((value - inMin) / (inMax - inMin));
|
||||||
|
}
|
||||||
|
|
||||||
|
function easeInOutCubic(t) {
|
||||||
|
return t < 0.5 ? 4 * t * t * t : 1 - Math.pow(-2 * t + 2, 3) / 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Constrain to bounds
|
||||||
|
function wrapAround(value, max) {
|
||||||
|
if (value < 0) return max;
|
||||||
|
if (value > max) return 0;
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ============================================================================
|
||||||
|
// 7. PARAMETER UPDATES (Connect to UI)
|
||||||
|
// ============================================================================
|
||||||
|
|
||||||
|
function updateParameter(paramName, value) {
|
||||||
|
params[paramName] = value;
|
||||||
|
// Decide if you need to regenerate or just update
|
||||||
|
// Some params can update in real-time, others need full regeneration
|
||||||
|
}
|
||||||
|
|
||||||
|
function regenerate() {
|
||||||
|
// Reinitialize your generative system
|
||||||
|
// Useful when parameters change significantly
|
||||||
|
initializeSeed(params.seed);
|
||||||
|
// Then regenerate your system
|
||||||
|
}
|
||||||
|
|
||||||
|
// ============================================================================
|
||||||
|
// 8. COMMON P5.JS PATTERNS
|
||||||
|
// ============================================================================
|
||||||
|
|
||||||
|
// Drawing with transparency for trails/fading
|
||||||
|
function fadeBackground(opacity) {
|
||||||
|
fill(250, 249, 245, opacity); // Anthropic light with alpha
|
||||||
|
noStroke();
|
||||||
|
rect(0, 0, width, height);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Using noise for organic variation
|
||||||
|
function getNoiseValue(x, y, scale = 0.01) {
|
||||||
|
return noise(x * scale, y * scale);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Creating vectors from angles
|
||||||
|
function vectorFromAngle(angle, magnitude = 1) {
|
||||||
|
return createVector(cos(angle), sin(angle)).mult(magnitude);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ============================================================================
|
||||||
|
// 9. EXPORT FUNCTIONS
|
||||||
|
// ============================================================================
|
||||||
|
|
||||||
|
function exportImage() {
|
||||||
|
saveCanvas('generative-art-' + params.seed, 'png');
|
||||||
|
}
|
||||||
|
|
||||||
|
// ============================================================================
|
||||||
|
// REMEMBER
|
||||||
|
// ============================================================================
|
||||||
|
//
|
||||||
|
// These are TOOLS and PRINCIPLES, not a recipe.
|
||||||
|
// Your algorithmic philosophy should guide WHAT you create.
|
||||||
|
// This structure helps you create it WELL.
|
||||||
|
//
|
||||||
|
// Focus on:
|
||||||
|
// - Clean, readable code
|
||||||
|
// - Parameterized for exploration
|
||||||
|
// - Seeded for reproducibility
|
||||||
|
// - Performant execution
|
||||||
|
//
|
||||||
|
// The art itself is entirely up to you!
|
||||||
|
//
|
||||||
|
// ============================================================================
|
||||||
|
|
@ -0,0 +1,599 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<!--
|
||||||
|
THIS IS A TEMPLATE THAT SHOULD BE USED EVERY TIME AND MODIFIED.
|
||||||
|
WHAT TO KEEP:
|
||||||
|
✓ Overall structure (header, sidebar, main content)
|
||||||
|
✓ Anthropic branding (colors, fonts, layout)
|
||||||
|
✓ Seed navigation section (always include this)
|
||||||
|
✓ Self-contained artifact (everything inline)
|
||||||
|
|
||||||
|
WHAT TO CREATIVELY EDIT:
|
||||||
|
✗ The p5.js algorithm (implement YOUR vision)
|
||||||
|
✗ The parameters (define what YOUR art needs)
|
||||||
|
✗ The UI controls (match YOUR parameters)
|
||||||
|
|
||||||
|
Let your philosophy guide the implementation.
|
||||||
|
The world is your oyster - be creative!
|
||||||
|
-->
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Generative Art Viewer</title>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.7.0/p5.min.js"></script>
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Lora:wght@400;500&display=swap" rel="stylesheet">
|
||||||
|
<style>
|
||||||
|
/* Anthropic Brand Colors */
|
||||||
|
:root {
|
||||||
|
--anthropic-dark: #141413;
|
||||||
|
--anthropic-light: #faf9f5;
|
||||||
|
--anthropic-mid-gray: #b0aea5;
|
||||||
|
--anthropic-light-gray: #e8e6dc;
|
||||||
|
--anthropic-orange: #d97757;
|
||||||
|
--anthropic-blue: #6a9bcc;
|
||||||
|
--anthropic-green: #788c5d;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: 'Poppins', sans-serif;
|
||||||
|
background: linear-gradient(135deg, var(--anthropic-light) 0%, #f5f3ee 100%);
|
||||||
|
min-height: 100vh;
|
||||||
|
color: var(--anthropic-dark);
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
display: flex;
|
||||||
|
min-height: 100vh;
|
||||||
|
padding: 20px;
|
||||||
|
gap: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Sidebar */
|
||||||
|
.sidebar {
|
||||||
|
width: 320px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
background: rgba(255, 255, 255, 0.95);
|
||||||
|
backdrop-filter: blur(10px);
|
||||||
|
padding: 24px;
|
||||||
|
border-radius: 12px;
|
||||||
|
box-shadow: 0 10px 30px rgba(20, 20, 19, 0.1);
|
||||||
|
overflow-y: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar h1 {
|
||||||
|
font-family: 'Lora', serif;
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: 500;
|
||||||
|
color: var(--anthropic-dark);
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar .subtitle {
|
||||||
|
color: var(--anthropic-mid-gray);
|
||||||
|
font-size: 14px;
|
||||||
|
margin-bottom: 32px;
|
||||||
|
line-height: 1.4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Control Sections */
|
||||||
|
.control-section {
|
||||||
|
margin-bottom: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.control-section h3 {
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--anthropic-dark);
|
||||||
|
margin-bottom: 16px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.control-section h3::before {
|
||||||
|
content: '•';
|
||||||
|
color: var(--anthropic-orange);
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Seed Controls */
|
||||||
|
.seed-input {
|
||||||
|
width: 100%;
|
||||||
|
background: var(--anthropic-light);
|
||||||
|
padding: 12px;
|
||||||
|
border-radius: 8px;
|
||||||
|
font-family: 'Courier New', monospace;
|
||||||
|
font-size: 14px;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
border: 1px solid var(--anthropic-light-gray);
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.seed-input:focus {
|
||||||
|
outline: none;
|
||||||
|
border-color: var(--anthropic-orange);
|
||||||
|
box-shadow: 0 0 0 2px rgba(217, 119, 87, 0.1);
|
||||||
|
background: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.seed-controls {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 1fr;
|
||||||
|
gap: 8px;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.regen-button {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Parameter Controls */
|
||||||
|
.control-group {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.control-group label {
|
||||||
|
display: block;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 500;
|
||||||
|
color: var(--anthropic-dark);
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.slider-container {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.slider-container input[type="range"] {
|
||||||
|
flex: 1;
|
||||||
|
height: 4px;
|
||||||
|
background: var(--anthropic-light-gray);
|
||||||
|
border-radius: 2px;
|
||||||
|
outline: none;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.slider-container input[type="range"]::-webkit-slider-thumb {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
background: var(--anthropic-orange);
|
||||||
|
border-radius: 50%;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.slider-container input[type="range"]::-webkit-slider-thumb:hover {
|
||||||
|
transform: scale(1.1);
|
||||||
|
background: #c86641;
|
||||||
|
}
|
||||||
|
|
||||||
|
.slider-container input[type="range"]::-moz-range-thumb {
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
background: var(--anthropic-orange);
|
||||||
|
border-radius: 50%;
|
||||||
|
border: none;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.value-display {
|
||||||
|
font-family: 'Courier New', monospace;
|
||||||
|
font-size: 12px;
|
||||||
|
color: var(--anthropic-mid-gray);
|
||||||
|
min-width: 60px;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Color Pickers */
|
||||||
|
.color-group {
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-group label {
|
||||||
|
display: block;
|
||||||
|
font-size: 12px;
|
||||||
|
color: var(--anthropic-mid-gray);
|
||||||
|
margin-bottom: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-picker-container {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-picker-container input[type="color"] {
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
border: none;
|
||||||
|
border-radius: 6px;
|
||||||
|
cursor: pointer;
|
||||||
|
background: none;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-value {
|
||||||
|
font-family: 'Courier New', monospace;
|
||||||
|
font-size: 12px;
|
||||||
|
color: var(--anthropic-mid-gray);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Buttons */
|
||||||
|
.button {
|
||||||
|
background: var(--anthropic-orange);
|
||||||
|
color: white;
|
||||||
|
border: none;
|
||||||
|
padding: 10px 16px;
|
||||||
|
border-radius: 6px;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 500;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button:hover {
|
||||||
|
background: #c86641;
|
||||||
|
transform: translateY(-1px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.button:active {
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
.button.secondary {
|
||||||
|
background: var(--anthropic-blue);
|
||||||
|
}
|
||||||
|
|
||||||
|
.button.secondary:hover {
|
||||||
|
background: #5a8bb8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button.tertiary {
|
||||||
|
background: var(--anthropic-green);
|
||||||
|
}
|
||||||
|
|
||||||
|
.button.tertiary:hover {
|
||||||
|
background: #6b7b52;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-row {
|
||||||
|
display: flex;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-row .button {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Canvas Area */
|
||||||
|
.canvas-area {
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#canvas-container {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 1000px;
|
||||||
|
border-radius: 12px;
|
||||||
|
overflow: hidden;
|
||||||
|
box-shadow: 0 20px 40px rgba(20, 20, 19, 0.1);
|
||||||
|
background: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#canvas-container canvas {
|
||||||
|
display: block;
|
||||||
|
width: 100% !important;
|
||||||
|
height: auto !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Loading State */
|
||||||
|
.loading {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-size: 18px;
|
||||||
|
color: var(--anthropic-mid-gray);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Responsive - Stack on mobile */
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
.container {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.canvas-area {
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="container">
|
||||||
|
<!-- Control Sidebar -->
|
||||||
|
<div class="sidebar">
|
||||||
|
<!-- Headers (CUSTOMIZE THIS FOR YOUR ART) -->
|
||||||
|
<h1>TITLE - EDIT</h1>
|
||||||
|
<div class="subtitle">SUBHEADER - EDIT</div>
|
||||||
|
|
||||||
|
<!-- Seed Section (ALWAYS KEEP THIS) -->
|
||||||
|
<div class="control-section">
|
||||||
|
<h3>Seed</h3>
|
||||||
|
<input type="number" id="seed-input" class="seed-input" value="12345" onchange="updateSeed()">
|
||||||
|
<div class="seed-controls">
|
||||||
|
<button class="button secondary" onclick="previousSeed()">← Prev</button>
|
||||||
|
<button class="button secondary" onclick="nextSeed()">Next →</button>
|
||||||
|
</div>
|
||||||
|
<button class="button tertiary regen-button" onclick="randomSeedAndUpdate()">↻ Random</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Parameters Section (CUSTOMIZE THIS FOR YOUR ART) -->
|
||||||
|
<div class="control-section">
|
||||||
|
<h3>Parameters</h3>
|
||||||
|
|
||||||
|
<!-- Particle Count -->
|
||||||
|
<div class="control-group">
|
||||||
|
<label>Particle Count</label>
|
||||||
|
<div class="slider-container">
|
||||||
|
<input type="range" id="particleCount" min="1000" max="10000" step="500" value="5000" oninput="updateParam('particleCount', this.value)">
|
||||||
|
<span class="value-display" id="particleCount-value">5000</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Flow Speed -->
|
||||||
|
<div class="control-group">
|
||||||
|
<label>Flow Speed</label>
|
||||||
|
<div class="slider-container">
|
||||||
|
<input type="range" id="flowSpeed" min="0.1" max="2.0" step="0.1" value="0.5" oninput="updateParam('flowSpeed', this.value)">
|
||||||
|
<span class="value-display" id="flowSpeed-value">0.5</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Noise Scale -->
|
||||||
|
<div class="control-group">
|
||||||
|
<label>Noise Scale</label>
|
||||||
|
<div class="slider-container">
|
||||||
|
<input type="range" id="noiseScale" min="0.001" max="0.02" step="0.001" value="0.005" oninput="updateParam('noiseScale', this.value)">
|
||||||
|
<span class="value-display" id="noiseScale-value">0.005</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Trail Length -->
|
||||||
|
<div class="control-group">
|
||||||
|
<label>Trail Length</label>
|
||||||
|
<div class="slider-container">
|
||||||
|
<input type="range" id="trailLength" min="2" max="20" step="1" value="8" oninput="updateParam('trailLength', this.value)">
|
||||||
|
<span class="value-display" id="trailLength-value">8</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Colors Section (OPTIONAL - CUSTOMIZE OR REMOVE) -->
|
||||||
|
<div class="control-section">
|
||||||
|
<h3>Colors</h3>
|
||||||
|
|
||||||
|
<!-- Color 1 -->
|
||||||
|
<div class="color-group">
|
||||||
|
<label>Primary Color</label>
|
||||||
|
<div class="color-picker-container">
|
||||||
|
<input type="color" id="color1" value="#d97757" onchange="updateColor('color1', this.value)">
|
||||||
|
<span class="color-value" id="color1-value">#d97757</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Color 2 -->
|
||||||
|
<div class="color-group">
|
||||||
|
<label>Secondary Color</label>
|
||||||
|
<div class="color-picker-container">
|
||||||
|
<input type="color" id="color2" value="#6a9bcc" onchange="updateColor('color2', this.value)">
|
||||||
|
<span class="color-value" id="color2-value">#6a9bcc</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Color 3 -->
|
||||||
|
<div class="color-group">
|
||||||
|
<label>Accent Color</label>
|
||||||
|
<div class="color-picker-container">
|
||||||
|
<input type="color" id="color3" value="#788c5d" onchange="updateColor('color3', this.value)">
|
||||||
|
<span class="color-value" id="color3-value">#788c5d</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Actions Section (ALWAYS KEEP THIS) -->
|
||||||
|
<div class="control-section">
|
||||||
|
<h3>Actions</h3>
|
||||||
|
<div class="button-row">
|
||||||
|
<button class="button" onclick="resetParameters()">Reset</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Main Canvas Area -->
|
||||||
|
<div class="canvas-area">
|
||||||
|
<div id="canvas-container">
|
||||||
|
<div class="loading">Initializing generative art...</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// ═══════════════════════════════════════════════════════════════════════
|
||||||
|
// GENERATIVE ART PARAMETERS - CUSTOMIZE FOR YOUR ALGORITHM
|
||||||
|
// ═══════════════════════════════════════════════════════════════════════
|
||||||
|
|
||||||
|
let params = {
|
||||||
|
seed: 12345,
|
||||||
|
particleCount: 5000,
|
||||||
|
flowSpeed: 0.5,
|
||||||
|
noiseScale: 0.005,
|
||||||
|
trailLength: 8,
|
||||||
|
colorPalette: ['#d97757', '#6a9bcc', '#788c5d']
|
||||||
|
};
|
||||||
|
|
||||||
|
let defaultParams = {...params}; // Store defaults for reset
|
||||||
|
|
||||||
|
// ═══════════════════════════════════════════════════════════════════════
|
||||||
|
// P5.JS GENERATIVE ART ALGORITHM - REPLACE WITH YOUR VISION
|
||||||
|
// ═══════════════════════════════════════════════════════════════════════
|
||||||
|
|
||||||
|
let particles = [];
|
||||||
|
let flowField = [];
|
||||||
|
let cols, rows;
|
||||||
|
let scl = 10; // Flow field resolution
|
||||||
|
|
||||||
|
function setup() {
|
||||||
|
let canvas = createCanvas(1200, 1200);
|
||||||
|
canvas.parent('canvas-container');
|
||||||
|
|
||||||
|
initializeSystem();
|
||||||
|
|
||||||
|
// Remove loading message
|
||||||
|
document.querySelector('.loading').style.display = 'none';
|
||||||
|
}
|
||||||
|
|
||||||
|
function initializeSystem() {
|
||||||
|
// Seed the randomness for reproducibility
|
||||||
|
randomSeed(params.seed);
|
||||||
|
noiseSeed(params.seed);
|
||||||
|
|
||||||
|
// Clear particles and recreate
|
||||||
|
particles = [];
|
||||||
|
|
||||||
|
// Initialize particles
|
||||||
|
for (let i = 0; i < params.particleCount; i++) {
|
||||||
|
particles.push(new Particle());
|
||||||
|
}
|
||||||
|
|
||||||
|
// Calculate flow field dimensions
|
||||||
|
cols = floor(width / scl);
|
||||||
|
rows = floor(height / scl);
|
||||||
|
|
||||||
|
// Generate flow field
|
||||||
|
generateFlowField();
|
||||||
|
|
||||||
|
// Clear background
|
||||||
|
background(250, 249, 245); // Anthropic light background
|
||||||
|
}
|
||||||
|
|
||||||
|
function generateFlowField() {
|
||||||
|
// fill this in
|
||||||
|
}
|
||||||
|
|
||||||
|
function draw() {
|
||||||
|
// fill this in
|
||||||
|
}
|
||||||
|
|
||||||
|
// ═══════════════════════════════════════════════════════════════════════
|
||||||
|
// PARTICLE SYSTEM - CUSTOMIZE FOR YOUR ALGORITHM
|
||||||
|
// ═══════════════════════════════════════════════════════════════════════
|
||||||
|
|
||||||
|
class Particle {
|
||||||
|
constructor() {
|
||||||
|
// fill this in
|
||||||
|
}
|
||||||
|
// fill this in
|
||||||
|
}
|
||||||
|
|
||||||
|
// ═══════════════════════════════════════════════════════════════════════
|
||||||
|
// UI CONTROL HANDLERS - CUSTOMIZE FOR YOUR PARAMETERS
|
||||||
|
// ═══════════════════════════════════════════════════════════════════════
|
||||||
|
|
||||||
|
function updateParam(paramName, value) {
|
||||||
|
// fill this in
|
||||||
|
}
|
||||||
|
|
||||||
|
function updateColor(colorId, value) {
|
||||||
|
// fill this in
|
||||||
|
}
|
||||||
|
|
||||||
|
// ═══════════════════════════════════════════════════════════════════════
|
||||||
|
// SEED CONTROL FUNCTIONS - ALWAYS KEEP THESE
|
||||||
|
// ═══════════════════════════════════════════════════════════════════════
|
||||||
|
|
||||||
|
function updateSeedDisplay() {
|
||||||
|
document.getElementById('seed-input').value = params.seed;
|
||||||
|
}
|
||||||
|
|
||||||
|
function updateSeed() {
|
||||||
|
let input = document.getElementById('seed-input');
|
||||||
|
let newSeed = parseInt(input.value);
|
||||||
|
if (newSeed && newSeed > 0) {
|
||||||
|
params.seed = newSeed;
|
||||||
|
initializeSystem();
|
||||||
|
} else {
|
||||||
|
// Reset to current seed if invalid
|
||||||
|
updateSeedDisplay();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function previousSeed() {
|
||||||
|
params.seed = Math.max(1, params.seed - 1);
|
||||||
|
updateSeedDisplay();
|
||||||
|
initializeSystem();
|
||||||
|
}
|
||||||
|
|
||||||
|
function nextSeed() {
|
||||||
|
params.seed = params.seed + 1;
|
||||||
|
updateSeedDisplay();
|
||||||
|
initializeSystem();
|
||||||
|
}
|
||||||
|
|
||||||
|
function randomSeedAndUpdate() {
|
||||||
|
params.seed = Math.floor(Math.random() * 999999) + 1;
|
||||||
|
updateSeedDisplay();
|
||||||
|
initializeSystem();
|
||||||
|
}
|
||||||
|
|
||||||
|
function resetParameters() {
|
||||||
|
params = {...defaultParams};
|
||||||
|
|
||||||
|
// Update UI elements
|
||||||
|
document.getElementById('particleCount').value = params.particleCount;
|
||||||
|
document.getElementById('particleCount-value').textContent = params.particleCount;
|
||||||
|
document.getElementById('flowSpeed').value = params.flowSpeed;
|
||||||
|
document.getElementById('flowSpeed-value').textContent = params.flowSpeed;
|
||||||
|
document.getElementById('noiseScale').value = params.noiseScale;
|
||||||
|
document.getElementById('noiseScale-value').textContent = params.noiseScale;
|
||||||
|
document.getElementById('trailLength').value = params.trailLength;
|
||||||
|
document.getElementById('trailLength-value').textContent = params.trailLength;
|
||||||
|
|
||||||
|
// Reset colors
|
||||||
|
document.getElementById('color1').value = params.colorPalette[0];
|
||||||
|
document.getElementById('color1-value').textContent = params.colorPalette[0];
|
||||||
|
document.getElementById('color2').value = params.colorPalette[1];
|
||||||
|
document.getElementById('color2-value').textContent = params.colorPalette[1];
|
||||||
|
document.getElementById('color3').value = params.colorPalette[2];
|
||||||
|
document.getElementById('color3-value').textContent = params.colorPalette[2];
|
||||||
|
|
||||||
|
updateSeedDisplay();
|
||||||
|
initializeSystem();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Initialize UI on load
|
||||||
|
window.addEventListener('load', function() {
|
||||||
|
updateSeedDisplay();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,202 @@
|
||||||
|
|
||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright 2026 Anthropic, PBC.
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
|
@ -0,0 +1,130 @@
|
||||||
|
---
|
||||||
|
name: canvas-design
|
||||||
|
description: Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.
|
||||||
|
license: Complete terms in LICENSE.txt
|
||||||
|
---
|
||||||
|
|
||||||
|
These are instructions for creating design philosophies - aesthetic movements that are then EXPRESSED VISUALLY. Output only .md files, .pdf files, and .png files.
|
||||||
|
|
||||||
|
Complete this in two steps:
|
||||||
|
1. Design Philosophy Creation (.md file)
|
||||||
|
2. Express by creating it on a canvas (.pdf file or .png file)
|
||||||
|
|
||||||
|
First, undertake this task:
|
||||||
|
|
||||||
|
## DESIGN PHILOSOPHY CREATION
|
||||||
|
|
||||||
|
To begin, create a VISUAL PHILOSOPHY (not layouts or templates) that will be interpreted through:
|
||||||
|
- Form, space, color, composition
|
||||||
|
- Images, graphics, shapes, patterns
|
||||||
|
- Minimal text as visual accent
|
||||||
|
|
||||||
|
### THE CRITICAL UNDERSTANDING
|
||||||
|
- What is received: Some subtle input or instructions by the user that should be taken into account, but used as a foundation; it should not constrain creative freedom.
|
||||||
|
- What is created: A design philosophy/aesthetic movement.
|
||||||
|
- What happens next: Then, the same version receives the philosophy and EXPRESSES IT VISUALLY - creating artifacts that are 90% visual design, 10% essential text.
|
||||||
|
|
||||||
|
Consider this approach:
|
||||||
|
- Write a manifesto for an art movement
|
||||||
|
- The next phase involves making the artwork
|
||||||
|
|
||||||
|
The philosophy must emphasize: Visual expression. Spatial communication. Artistic interpretation. Minimal words.
|
||||||
|
|
||||||
|
### HOW TO GENERATE A VISUAL PHILOSOPHY
|
||||||
|
|
||||||
|
**Name the movement** (1-2 words): "Brutalist Joy" / "Chromatic Silence" / "Metabolist Dreams"
|
||||||
|
|
||||||
|
**Articulate the philosophy** (4-6 paragraphs - concise but complete):
|
||||||
|
|
||||||
|
To capture the VISUAL essence, express how the philosophy manifests through:
|
||||||
|
- Space and form
|
||||||
|
- Color and material
|
||||||
|
- Scale and rhythm
|
||||||
|
- Composition and balance
|
||||||
|
- Visual hierarchy
|
||||||
|
|
||||||
|
**CRITICAL GUIDELINES:**
|
||||||
|
- **Avoid redundancy**: Each design aspect should be mentioned once. Avoid repeating points about color theory, spatial relationships, or typographic principles unless adding new depth.
|
||||||
|
- **Emphasize craftsmanship REPEATEDLY**: The philosophy MUST stress multiple times that the final work should appear as though it took countless hours to create, was labored over with care, and comes from someone at the absolute top of their field. This framing is essential - repeat phrases like "meticulously crafted," "the product of deep expertise," "painstaking attention," "master-level execution."
|
||||||
|
- **Leave creative space**: Remain specific about the aesthetic direction, but concise enough that the next Claude has room to make interpretive choices also at a extremely high level of craftmanship.
|
||||||
|
|
||||||
|
The philosophy must guide the next version to express ideas VISUALLY, not through text. Information lives in design, not paragraphs.
|
||||||
|
|
||||||
|
### PHILOSOPHY EXAMPLES
|
||||||
|
|
||||||
|
**"Concrete Poetry"**
|
||||||
|
Philosophy: Communication through monumental form and bold geometry.
|
||||||
|
Visual expression: Massive color blocks, sculptural typography (huge single words, tiny labels), Brutalist spatial divisions, Polish poster energy meets Le Corbusier. Ideas expressed through visual weight and spatial tension, not explanation. Text as rare, powerful gesture - never paragraphs, only essential words integrated into the visual architecture. Every element placed with the precision of a master craftsman.
|
||||||
|
|
||||||
|
**"Chromatic Language"**
|
||||||
|
Philosophy: Color as the primary information system.
|
||||||
|
Visual expression: Geometric precision where color zones create meaning. Typography minimal - small sans-serif labels letting chromatic fields communicate. Think Josef Albers' interaction meets data visualization. Information encoded spatially and chromatically. Words only to anchor what color already shows. The result of painstaking chromatic calibration.
|
||||||
|
|
||||||
|
**"Analog Meditation"**
|
||||||
|
Philosophy: Quiet visual contemplation through texture and breathing room.
|
||||||
|
Visual expression: Paper grain, ink bleeds, vast negative space. Photography and illustration dominate. Typography whispered (small, restrained, serving the visual). Japanese photobook aesthetic. Images breathe across pages. Text appears sparingly - short phrases, never explanatory blocks. Each composition balanced with the care of a meditation practice.
|
||||||
|
|
||||||
|
**"Organic Systems"**
|
||||||
|
Philosophy: Natural clustering and modular growth patterns.
|
||||||
|
Visual expression: Rounded forms, organic arrangements, color from nature through architecture. Information shown through visual diagrams, spatial relationships, iconography. Text only for key labels floating in space. The composition tells the story through expert spatial orchestration.
|
||||||
|
|
||||||
|
**"Geometric Silence"**
|
||||||
|
Philosophy: Pure order and restraint.
|
||||||
|
Visual expression: Grid-based precision, bold photography or stark graphics, dramatic negative space. Typography precise but minimal - small essential text, large quiet zones. Swiss formalism meets Brutalist material honesty. Structure communicates, not words. Every alignment the work of countless refinements.
|
||||||
|
|
||||||
|
*These are condensed examples. The actual design philosophy should be 4-6 substantial paragraphs.*
|
||||||
|
|
||||||
|
### ESSENTIAL PRINCIPLES
|
||||||
|
- **VISUAL PHILOSOPHY**: Create an aesthetic worldview to be expressed through design
|
||||||
|
- **MINIMAL TEXT**: Always emphasize that text is sparse, essential-only, integrated as visual element - never lengthy
|
||||||
|
- **SPATIAL EXPRESSION**: Ideas communicate through space, form, color, composition - not paragraphs
|
||||||
|
- **ARTISTIC FREEDOM**: The next Claude interprets the philosophy visually - provide creative room
|
||||||
|
- **PURE DESIGN**: This is about making ART OBJECTS, not documents with decoration
|
||||||
|
- **EXPERT CRAFTSMANSHIP**: Repeatedly emphasize the final work must look meticulously crafted, labored over with care, the product of countless hours by someone at the top of their field
|
||||||
|
|
||||||
|
**The design philosophy should be 4-6 paragraphs long.** Fill it with poetic design philosophy that brings together the core vision. Avoid repeating the same points. Keep the design philosophy generic without mentioning the intention of the art, as if it can be used wherever. Output the design philosophy as a .md file.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## DEDUCING THE SUBTLE REFERENCE
|
||||||
|
|
||||||
|
**CRITICAL STEP**: Before creating the canvas, identify the subtle conceptual thread from the original request.
|
||||||
|
|
||||||
|
**THE ESSENTIAL PRINCIPLE**:
|
||||||
|
The topic is a **subtle, niche reference embedded within the art itself** - not always literal, always sophisticated. Someone familiar with the subject should feel it intuitively, while others simply experience a masterful abstract composition. The design philosophy provides the aesthetic language. The deduced topic provides the soul - the quiet conceptual DNA woven invisibly into form, color, and composition.
|
||||||
|
|
||||||
|
This is **VERY IMPORTANT**: The reference must be refined so it enhances the work's depth without announcing itself. Think like a jazz musician quoting another song - only those who know will catch it, but everyone appreciates the music.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## CANVAS CREATION
|
||||||
|
|
||||||
|
With both the philosophy and the conceptual framework established, express it on a canvas. Take a moment to gather thoughts and clear the mind. Use the design philosophy created and the instructions below to craft a masterpiece, embodying all aspects of the philosophy with expert craftsmanship.
|
||||||
|
|
||||||
|
**IMPORTANT**: For any type of content, even if the user requests something for a movie/game/book, the approach should still be sophisticated. Never lose sight of the idea that this should be art, not something that's cartoony or amateur.
|
||||||
|
|
||||||
|
To create museum or magazine quality work, use the design philosophy as the foundation. Create one single page, highly visual, design-forward PDF or PNG output (unless asked for more pages). Generally use repeating patterns and perfect shapes. Treat the abstract philosophical design as if it were a scientific bible, borrowing the visual language of systematic observation—dense accumulation of marks, repeated elements, or layered patterns that build meaning through patient repetition and reward sustained viewing. Add sparse, clinical typography and systematic reference markers that suggest this could be a diagram from an imaginary discipline, treating the invisible subject with the same reverence typically reserved for documenting observable phenomena. Anchor the piece with simple phrase(s) or details positioned subtly, using a limited color palette that feels intentional and cohesive. Embrace the paradox of using analytical visual language to express ideas about human experience: the result should feel like an artifact that proves something ephemeral can be studied, mapped, and understood through careful attention. This is true art.
|
||||||
|
|
||||||
|
**Text as a contextual element**: Text is always minimal and visual-first, but let context guide whether that means whisper-quiet labels or bold typographic gestures. A punk venue poster might have larger, more aggressive type than a minimalist ceramics studio identity. Most of the time, font should be thin. All use of fonts must be design-forward and prioritize visual communication. Regardless of text scale, nothing falls off the page and nothing overlaps. Every element must be contained within the canvas boundaries with proper margins. Check carefully that all text, graphics, and visual elements have breathing room and clear separation. This is non-negotiable for professional execution. **IMPORTANT: Use different fonts if writing text. Search the `./canvas-fonts` directory. Regardless of approach, sophistication is non-negotiable.**
|
||||||
|
|
||||||
|
Download and use whatever fonts are needed to make this a reality. Get creative by making the typography actually part of the art itself -- if the art is abstract, bring the font onto the canvas, not typeset digitally.
|
||||||
|
|
||||||
|
To push boundaries, follow design instinct/intuition while using the philosophy as a guiding principle. Embrace ultimate design freedom and choice. Push aesthetics and design to the frontier.
|
||||||
|
|
||||||
|
**CRITICAL**: To achieve human-crafted quality (not AI-generated), create work that looks like it took countless hours. Make it appear as though someone at the absolute top of their field labored over every detail with painstaking care. Ensure the composition, spacing, color choices, typography - everything screams expert-level craftsmanship. Double-check that nothing overlaps, formatting is flawless, every detail perfect. Create something that could be shown to people to prove expertise and rank as undeniably impressive.
|
||||||
|
|
||||||
|
Output the final result as a single, downloadable .pdf or .png file, alongside the design philosophy used as a .md file.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## FINAL STEP
|
||||||
|
|
||||||
|
**IMPORTANT**: The user ALREADY said "It isn't perfect enough. It must be pristine, a masterpiece if craftsmanship, as if it were about to be displayed in a museum."
|
||||||
|
|
||||||
|
**CRITICAL**: To refine the work, avoid adding more graphics; instead refine what has been created and make it extremely crisp, respecting the design philosophy and the principles of minimalism entirely. Rather than adding a fun filter or refactoring a font, consider how to make the existing composition more cohesive with the art. If the instinct is to call a new function or draw a new shape, STOP and instead ask: "How can I make what's already here more of a piece of art?"
|
||||||
|
|
||||||
|
Take a second pass. Go back to the code and refine/polish further to make this a philosophically designed masterpiece.
|
||||||
|
|
||||||
|
## MULTI-PAGE OPTION
|
||||||
|
|
||||||
|
To create additional pages when requested, create more creative pages along the same lines as the design philosophy but distinctly different as well. Bundle those pages in the same .pdf or many .pngs. Treat the first page as just a single page in a whole coffee table book waiting to be filled. Make the next pages unique twists and memories of the original. Have them almost tell a story in a very tasteful way. Exercise full creative freedom.
|
||||||
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2012 The Arsenal Project Authors (andrij.design@gmail.com)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2019 The Big Shoulders Project Authors (https://github.com/xotypeco/big_shoulders)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2024 The Boldonse Project Authors (https://github.com/googlefonts/boldonse)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2022 The Bricolage Grotesque Project Authors (https://github.com/ateliertriay/bricolage)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2018 The Crimson Pro Project Authors (https://github.com/Fonthausen/CrimsonPro)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2020 The DM Mono Project Authors (https://www.github.com/googlefonts/dm-mono)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,94 @@
|
||||||
|
Copyright (c) 2011 by LatinoType Limitada (luciano@latinotype.com),
|
||||||
|
with Reserved Font Names "Erica One"
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2024 The Geist Project Authors (https://github.com/vercel/geist-font.git)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2022 The Gloock Project Authors (https://github.com/duartp/gloock)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2022 The Instrument Sans Project Authors (https://github.com/Instrument/instrument-sans)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright (c) 2011, Santiago Orozco (hi@typemade.mx), with Reserved Font Name "Italiana".
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2019 The Jura Project Authors (https://github.com/ossobuffo/jura)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2012 The Libre Baskerville Project Authors (https://github.com/impallari/Libre-Baskerville) with Reserved Font Name Libre Baskerville.
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2011 The Lora Project Authors (https://github.com/cyrealtype/Lora-Cyrillic), with Reserved Font Name "Lora".
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2025 The National Park Project Authors (https://github.com/benhoepner/National-Park)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright (c) 2010, Kimberly Geswein (kimberlygeswein.com)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2021 The Outfit Project Authors (https://github.com/Outfitio/Outfit-Fonts)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2021 The Pixelify Sans Project Authors (https://github.com/eifetx/Pixelify-Sans)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright (c) 2011, Denis Masharov (denis.masharov@gmail.com)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2024 The Red Hat Project Authors (https://github.com/RedHatOfficial/RedHatFont)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2001 The Silkscreen Project Authors (https://github.com/googlefonts/silkscreen)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2016 The Smooch Sans Project Authors (https://github.com/googlefonts/smooch-sans)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2023 The Tektur Project Authors (https://www.github.com/hyvyys/Tektur)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2019 The Work Sans Project Authors (https://github.com/weiweihuanghuang/Work-Sans)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright 2023 The Young Serif Project Authors (https://github.com/noirblancrouge/YoungSerif)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,183 @@
|
||||||
|
---
|
||||||
|
name: component-skeleton-contract
|
||||||
|
description: >-
|
||||||
|
Enforce a strict synchronization contract between React components and their skeleton loading states.
|
||||||
|
Requires co-located compound <Component.Skeleton /> exports, shared structural layouts,
|
||||||
|
zero Cumulative Layout Shift (CLS = 0), OKLCH directional shimmer, and React 19 Suspense / loading.tsx composition.
|
||||||
|
---
|
||||||
|
|
||||||
|
# Component Skeleton Synchronization Contract (Zero-CLS Architecture)
|
||||||
|
|
||||||
|
Ce skill impose un contrat architectural strict : **chaque composant asynchrone ou dynamique doit posséder et exporter son propre Skeleton co-localisé (`<Component.Skeleton />`)**.
|
||||||
|
|
||||||
|
Il garantit que le squelette de chargement partage la même structure dimensionnelle que le composant réel, éliminant à 100% le décalage de mise en page (*Cumulative Layout Shift - CLS*), même lors des futures mises à jour du composant.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🎯 Déclencheurs d'Activation
|
||||||
|
|
||||||
|
Activez ce skill dès que :
|
||||||
|
1. Vous concevez un composant qui charge des données distantes (cartes de profil, widgets de métriques, listes d'articles, tableaux).
|
||||||
|
2. Vous créez un fichier de route de chargement (`loading.tsx` dans Next.js / Remix).
|
||||||
|
3. Vous définissez une frontière asynchrone avec `<Suspense fallback={...}>`.
|
||||||
|
4. Vous mettez à jour la géométrie ou les espacements d'un composant existant (le Skeleton doit être synchronisé immédiatement).
|
||||||
|
5. Vous auditez le critère Core Web Vitals **CLS ≤ 0.1**.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📐 1. Le Contrat Architectural Co-localisé (Compound Pattern)
|
||||||
|
|
||||||
|
### Les 4 Règles d'Or du Contrat :
|
||||||
|
1. **Même fichier source** : Le Skeleton vit obligatoirement dans le même fichier que le composant réel.
|
||||||
|
2. **Export Compound attaché** : Le composant principal expose son skeleton via la propriété statique `<Component.Skeleton />` ET un export nommé.
|
||||||
|
3. **Conteneur Structurel Identique** : Le conteneur racine du Skeleton doit avoir exactement les **mêmes classes CSS de disposition** (`display`, `padding`, `gap`, `grid-template`, `min-height`, `border-radius`) que le composant réel.
|
||||||
|
4. **Composition dans `loading.tsx` & `<Suspense>`** : Il est formellement interdit de réinventer un faux layout dans un `loading.tsx`. Une page en chargement doit être l'assemblage exact des `.Skeleton` de ses composants enfants.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 💫 2. Texture Visuelle : Shimmer Directionnel en OKLCH
|
||||||
|
|
||||||
|
Les skeletons ne doivent pas utiliser une simple alternance d'opacité grossière (`animate-pulse`). Ils adoptent un **balayage de lumière feutré en OKLCH** qui respecte l'accessibilité cognitive (`prefers-reduced-motion`).
|
||||||
|
|
||||||
|
### Définition CSS du Shimmer (Tailwind v4 / CSS standard) :
|
||||||
|
```css
|
||||||
|
@keyframes shimmer {
|
||||||
|
0% { transform: translateX(-100%); }
|
||||||
|
100% { transform: translateX(100%); }
|
||||||
|
}
|
||||||
|
|
||||||
|
.skeleton-shimmer {
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
background-color: oklch(0.2 0.01 260); /* Fond neutre sombre teinté */
|
||||||
|
}
|
||||||
|
|
||||||
|
.skeleton-shimmer::after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
transform: translateX(-100%);
|
||||||
|
background-image: linear-gradient(
|
||||||
|
90deg,
|
||||||
|
transparent 0%,
|
||||||
|
oklch(1 0 0 / 0.07) 50%,
|
||||||
|
transparent 100%
|
||||||
|
);
|
||||||
|
animation: shimmer 1.8s infinite ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
.skeleton-shimmer::after {
|
||||||
|
animation: none;
|
||||||
|
background-image: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 💻 3. Exemple d'Implémentation de Référence
|
||||||
|
|
||||||
|
Voici un composant métier parfait respectant le contrat d'invariance dimensionnelle :
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
// components/user-profile-card.tsx
|
||||||
|
import React from 'react';
|
||||||
|
|
||||||
|
// Classes de disposition partagées pour garantir CLS = 0
|
||||||
|
const CONTAINER_LAYOUT = `
|
||||||
|
relative overflow-hidden rounded-2xl p-6
|
||||||
|
bg-[oklch(0.16_0.008_255)] border border-[oklch(1_0_0/0.08)]
|
||||||
|
flex flex-col gap-4 min-h-[200px]
|
||||||
|
`;
|
||||||
|
|
||||||
|
export interface UserProfileCardProps {
|
||||||
|
name: string;
|
||||||
|
role: string;
|
||||||
|
avatarUrl: string;
|
||||||
|
stats: { followers: number; projects: number };
|
||||||
|
}
|
||||||
|
|
||||||
|
// 1. Le Composant Réel
|
||||||
|
export const UserProfileCard: React.FC<UserProfileCardProps> & {
|
||||||
|
Skeleton: React.FC;
|
||||||
|
} = ({ name, role, avatarUrl, stats }) => {
|
||||||
|
return (
|
||||||
|
<article className={CONTAINER_LAYOUT}>
|
||||||
|
<div className="flex items-center gap-4">
|
||||||
|
<img
|
||||||
|
src={avatarUrl}
|
||||||
|
alt={name}
|
||||||
|
className="size-14 rounded-full object-cover border border-white/10"
|
||||||
|
/>
|
||||||
|
<div className="flex flex-col gap-1">
|
||||||
|
<h3 className="font-semibold text-lg text-white leading-none">{name}</h3>
|
||||||
|
<p className="text-sm text-white/60">{role}</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="mt-auto pt-4 border-t border-white/5 flex justify-between text-xs text-white/70">
|
||||||
|
<span>{stats.projects} projets</span>
|
||||||
|
<span>{stats.followers} abonnés</span>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
// 2. Le Skeleton Co-localisé (Géométrie strictly identique)
|
||||||
|
const UserProfileCardSkeleton: React.FC = () => {
|
||||||
|
return (
|
||||||
|
<div aria-hidden="true" className={`${CONTAINER_LAYOUT} animate-pulse`}>
|
||||||
|
<div className="flex items-center gap-4">
|
||||||
|
{/* Avatar Placeholder */}
|
||||||
|
<div className="size-14 rounded-full bg-[oklch(0.24_0.01_260)] shrink-0" />
|
||||||
|
|
||||||
|
{/* Textes Placeholders */}
|
||||||
|
<div className="flex flex-col gap-2 flex-1">
|
||||||
|
<div className="h-5 w-32 rounded-md bg-[oklch(0.24_0.01_260)]" />
|
||||||
|
<div className="h-4 w-20 rounded-md bg-[oklch(0.20_0.01_260)]" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Footer Placeholder */}
|
||||||
|
<div className="mt-auto pt-4 border-t border-white/5 flex justify-between">
|
||||||
|
<div className="h-3 w-16 rounded bg-[oklch(0.20_0.01_260)]" />
|
||||||
|
<div className="h-3 w-16 rounded bg-[oklch(0.20_0.01_260)]" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
// Liaison compound
|
||||||
|
UserProfileCard.Skeleton = UserProfileCardSkeleton;
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🚀 4. Composition dans `loading.tsx` & React 19 Suspense
|
||||||
|
|
||||||
|
Lors de la création d'une page avec streaming, assemblez les squelettes directement :
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
// app/dashboard/loading.tsx
|
||||||
|
import { UserProfileCard } from '@/components/user-profile-card';
|
||||||
|
|
||||||
|
export default function DashboardLoading() {
|
||||||
|
return (
|
||||||
|
<div className="grid grid-cols-1 md:grid-cols-3 gap-6 p-8">
|
||||||
|
<UserProfileCard.Skeleton />
|
||||||
|
<UserProfileCard.Skeleton />
|
||||||
|
<UserProfileCard.Skeleton />
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📋 Checklist de Conformité Skeleton (Zero-CLS Gate)
|
||||||
|
|
||||||
|
- [ ] Tout composant asynchrone exporte son sous-composant `.Skeleton`.
|
||||||
|
- [ ] Le conteneur du Skeleton et celui du composant réel partagent les mêmes classes de grille, flex, marges intérieures (`padding`) et hauteur minimale.
|
||||||
|
- [ ] `aria-hidden="true"` est apposé sur le conteneur du squelette pour ne pas perturber les lecteurs d'écran.
|
||||||
|
- [ ] Le shimmer visuel se désactive automatiquement sous `prefers-reduced-motion`.
|
||||||
|
- [ ] Le fichier `loading.tsx` de la route réutilise exclusivement les composants `.Skeleton` des briques de la page.
|
||||||
|
|
@ -0,0 +1,129 @@
|
||||||
|
---
|
||||||
|
name: e2e-a11y-testing
|
||||||
|
description: >-
|
||||||
|
Automate end-to-end accessibility (WCAG 2.2 AA) and visual regression testing using Playwright
|
||||||
|
and @axe-core/playwright. Enforces automated gates for keyboard focus trapping, ARIA roles,
|
||||||
|
and cross-viewport screenshot diffing.
|
||||||
|
---
|
||||||
|
|
||||||
|
# E2E Accessibility & Visual Regression Testing
|
||||||
|
|
||||||
|
Ce skill standardise les tests de bout en bout (E2E) pour garantir qu'aucune régression visuelle ou d'accessibilité (WCAG 2.2 AA) ne soit livrée en production. Il couple **Playwright** et le moteur d'analyse **Axe-core**.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🎯 Déclencheurs d'Activation
|
||||||
|
|
||||||
|
Activez ce skill dès que :
|
||||||
|
1. Vous créez ou modifiez des composants interactifs critiques (modales, menus déroulants, formulaires d'inscription, flux d'achat).
|
||||||
|
2. Vous devez vérifier qu'une modale capture bien le focus clavier (*focus trap*) et se ferme avec la touche `Échap`.
|
||||||
|
3. Vous mettez en place des tests d'accessibilité automatisés dans un pipeline CI/CD (GitHub Actions).
|
||||||
|
4. Vous validez le comportement responsive sur les 3 résolutions de référence (Mobile 375px, Tablette 768px, Desktop 1440px).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🧪 1. Test d'Accessibilité Automatisé avec `@axe-core/playwright`
|
||||||
|
|
||||||
|
Ce test injecte Axe-core directement dans la page rendue par Playwright pour détecter 100% des violations automatisables (contrastes, attributs ARIA orphelins, étiquettes de formulaires manquantes) :
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
// tests/a11y.spec.ts
|
||||||
|
import { test, expect } from '@playwright/test';
|
||||||
|
import AxeBuilder from '@axe-core/playwright';
|
||||||
|
|
||||||
|
test.describe('Audit d\'accessibilité globale WCAG 2.2 AA', () => {
|
||||||
|
test('La page d\'accueil ne doit présenter aucune violation critique ou sérieuse', async ({ page }) => {
|
||||||
|
await page.goto('/');
|
||||||
|
|
||||||
|
// Attendre que la page et les polices soient stabilisées
|
||||||
|
await page.waitForLoadState('networkidle');
|
||||||
|
|
||||||
|
const accessibilityScanResults = await new AxeBuilder({ page })
|
||||||
|
.withTags(['wcag2a', 'wcag2aa', 'wcag21a', 'wcag21aa', 'wcag22aa'])
|
||||||
|
.analyze();
|
||||||
|
|
||||||
|
expect(accessibilityScanResults.violations).toEqual([]);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## ⌨️ 2. Test du Piège de Focus Clavier (*Focus Trap*) dans une Modale
|
||||||
|
|
||||||
|
Ce test vérifie que le focus reste enfermé dans la boîte de dialogue et revient sur le bouton d'origine à la fermeture :
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
// tests/modal-keyboard.spec.ts
|
||||||
|
import { test, expect } from '@playwright/test';
|
||||||
|
|
||||||
|
test('La modale respecte le flux clavier standard', async ({ page }) => {
|
||||||
|
await page.goto('/dashboard');
|
||||||
|
|
||||||
|
const triggerButton = page.getByRole('button', { name: 'Nouvelle tâche' });
|
||||||
|
await triggerButton.click();
|
||||||
|
|
||||||
|
const dialog = page.getByRole('dialog');
|
||||||
|
await expect(dialog).toBeVisible();
|
||||||
|
|
||||||
|
// Le premier champ interactif de la modale doit avoir le focus
|
||||||
|
const firstInput = dialog.getByRole('textbox', { name: 'Titre' });
|
||||||
|
await expect(firstInput).toBeFocused();
|
||||||
|
|
||||||
|
// Navigation avec la touche Tab
|
||||||
|
await page.keyboard.press('Tab');
|
||||||
|
const closeButton = dialog.getByRole('button', { name: 'Fermer' });
|
||||||
|
await expect(closeButton).toBeFocused();
|
||||||
|
|
||||||
|
// Boucle : Tab depuis le dernier élément doit revenir au premier
|
||||||
|
await page.keyboard.press('Tab');
|
||||||
|
await expect(firstInput).toBeFocused();
|
||||||
|
|
||||||
|
// Fermeture par la touche Échap (Escape)
|
||||||
|
await page.keyboard.press('Escape');
|
||||||
|
await expect(dialog).toBeHidden();
|
||||||
|
|
||||||
|
// Le focus doit être restitué au bouton déclencheur initial
|
||||||
|
await expect(triggerButton).toBeFocused();
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📸 3. Test de Régression Visuelle Multi-Viewport
|
||||||
|
|
||||||
|
Pour garantir que les ajustements CSS ne cassent pas le rendu visuel :
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
// tests/visual-regression.spec.ts
|
||||||
|
import { test, expect } from '@playwright/test';
|
||||||
|
|
||||||
|
const viewports = [
|
||||||
|
{ name: 'mobile', width: 375, height: 812 },
|
||||||
|
{ name: 'tablet', width: 768, height: 1024 },
|
||||||
|
{ name: 'desktop', width: 1440, height: 900 },
|
||||||
|
];
|
||||||
|
|
||||||
|
for (const vp of viewports) {
|
||||||
|
test(`Capture de référence responsive - ${vp.name}`, async ({ page }) => {
|
||||||
|
await page.setViewportSize({ width: vp.width, height: vp.height });
|
||||||
|
await page.goto('/');
|
||||||
|
await page.waitForLoadState('networkidle');
|
||||||
|
|
||||||
|
await expect(page).toHaveScreenshot(`homepage-${vp.name}.png`, {
|
||||||
|
maxDiffPixelRatio: 0.02, // Seuil de tolérance anti-bruit de 2%
|
||||||
|
animations: 'disabled', // Neutralise les animations pour éviter les faux positifs
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📋 Checklist de Conformité Tests E2E & A11y
|
||||||
|
|
||||||
|
- [ ] La suite de tests `@axe-core/playwright` s'exécute sans violation sur toutes les pages publiques.
|
||||||
|
- [ ] Les flux au clavier (`Tab`, `Shift+Tab`, `Escape`, `Enter`) sont couverts par des assertions explicites.
|
||||||
|
- [ ] Les éléments cliquables possèdent un nom accessible vérifiable via `page.getByRole()`.
|
||||||
|
- [ ] Les captures de régression visuelle couvrent à la fois les thèmes clair et sombre.
|
||||||
|
- [ ] Les tests échouent immédiatement en CI si un contraste de couleur passe sous le seuil 4.5:1.
|
||||||
|
|
@ -0,0 +1,146 @@
|
||||||
|
---
|
||||||
|
name: eu-legal-compliance
|
||||||
|
description: >-
|
||||||
|
Enforce European web regulations: GDPR/RGPD (data minimization, user rights, consent),
|
||||||
|
ePrivacy & CNIL/EDPB guidelines (cookie consent without dark patterns, equal accept/reject),
|
||||||
|
European Accessibility Act (EAA 2025 / EN 301 549), and mandatory legal notices (LCEN, hosting, consumer mediation).
|
||||||
|
---
|
||||||
|
|
||||||
|
# Conformité Web & Réglementation Européenne (RGPD, ePrivacy, EAA, LCEN)
|
||||||
|
|
||||||
|
Ce skill régit la conformité juridique et technique stricte aux directives et règlements de l'Union Européenne (RGPD, Directive ePrivacy, European Accessibility Act EAA 2025, recommandations CNIL et CEPD/EDPB).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🎯 Déclencheurs d'Activation
|
||||||
|
|
||||||
|
Activez ce skill dès que :
|
||||||
|
1. Vous implémentez un bandeau ou un gestionnaire de consentement aux cookies (*Cookie Banner / CMP*).
|
||||||
|
2. Vous créez des formulaires de contact, d'inscription, de paiement ou de collecte de données personnelles.
|
||||||
|
3. Vous rédigez ou intégrez les pages légales obligatoires (Mentions Légales, Politique de Confidentialité, CGU/CGV).
|
||||||
|
4. Vous auditez la conformité au **European Accessibility Act (EAA)** en vigueur depuis le 28 juin 2025 pour les services marchands et B2C.
|
||||||
|
5. Vous mettez en place des flux de suppression ou d'export de données personnelles (Droit à l'oubli - RGPD Art. 17).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🍪 1. Directive ePrivacy & Règles CNIL / EDPB (Gestion des Cookies)
|
||||||
|
|
||||||
|
### La Règle Fondamentale : Zéro Dark Pattern & Égalité Parfaite
|
||||||
|
Selon les lignes directrices de la CNIL et du Comité Européen de la Protection des Données (EDPB) :
|
||||||
|
- **Refuser doit être aussi simple qu'accepter** : Le bouton « Tout refuser » doit être situé au **même niveau**, avoir la **même taille**, la **même forme** et un **contraste visuel équivalent** au bouton « Tout accepter ».
|
||||||
|
- **Interdiction formelle** de reléguer le refus derrière un lien discret « Continuer sans accepter » ou dans un sous-menu « Paramétrer mes choix » pendant que « Tout accepter » est mis en valeur en pleine couleur.
|
||||||
|
- **Blocage préalable (*Opt-in*)** : Aucun script tiers non essentiel (Google Analytics, Pixel Meta, Hotjar, TikTok) ne doit être chargé ou exécuté **AVANT** le recueil actif du consentement.
|
||||||
|
- **Durée de conservation** : Le choix (acceptation ou refus) doit être conservé pendant une durée raisonnable (6 mois selon la CNIL).
|
||||||
|
|
||||||
|
### Exemple de Composant Cookie Banner 100% Conforme (React / Tailwind)
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import React, { useState, useEffect } from 'react';
|
||||||
|
|
||||||
|
export const CompliantCookieBanner = () => {
|
||||||
|
const [consentGiven, setConsentGiven] = useState<boolean | null>(null);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
const saved = localStorage.getItem('eu_cookie_consent');
|
||||||
|
if (saved) setConsentGiven(true);
|
||||||
|
}, []);
|
||||||
|
|
||||||
|
if (consentGiven !== null) return null;
|
||||||
|
|
||||||
|
const handleConsent = (accepted: boolean) => {
|
||||||
|
localStorage.setItem('eu_cookie_consent', accepted ? 'accepted' : 'rejected');
|
||||||
|
localStorage.setItem('eu_cookie_date', new Date().toISOString());
|
||||||
|
setConsentGiven(true);
|
||||||
|
if (accepted) {
|
||||||
|
// Activer les traceurs analytics ici
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div
|
||||||
|
role="region"
|
||||||
|
aria-label="Gestion des cookies et confidentialité"
|
||||||
|
className="fixed bottom-4 left-4 right-4 md:left-auto md:right-4 md:max-w-md p-5 rounded-xl z-50
|
||||||
|
bg-[oklch(0.18_0.01_260)] border border-[oklch(1_0_0/0.1)] shadow-2xl text-sm"
|
||||||
|
>
|
||||||
|
<p className="font-semibold text-white mb-2">Respect de votre vie privée</p>
|
||||||
|
<p className="text-white/70 text-xs leading-relaxed mb-4">
|
||||||
|
Nous utilisons des cookies strictement nécessaires au fonctionnement du site. Avec votre accord, nous utilisons également des cookies de mesure d'audience anonymes.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
{/* Égalité stricte : Deux boutons identiques côte à côte */}
|
||||||
|
<div className="flex items-center gap-3">
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
onClick={() => handleConsent(false)}
|
||||||
|
className="flex-1 px-3 py-2 rounded-lg text-xs font-medium text-white/90 bg-white/10 hover:bg-white/15
|
||||||
|
border border-white/10 transition-colors focus-visible:ring-2 focus-visible:ring-indigo-400"
|
||||||
|
>
|
||||||
|
Tout refuser
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
onClick={() => handleConsent(true)}
|
||||||
|
className="flex-1 px-3 py-2 rounded-lg text-xs font-medium text-white bg-indigo-600 hover:bg-indigo-500
|
||||||
|
transition-colors focus-visible:ring-2 focus-visible:ring-indigo-400"
|
||||||
|
>
|
||||||
|
Tout accepter
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div className="mt-3 text-center">
|
||||||
|
<a href="/politique-confidentialite" className="text-[11px] text-white/50 underline hover:text-white/80">
|
||||||
|
En savoir plus et paramétrer
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🔒 2. RGPD (Règlement UE 2016/679) : Formulaires & Données Personnelles
|
||||||
|
|
||||||
|
1. **Minimisation des données (Art. 5.1.c)** : Ne collectez que les données strictement indispensables (ex: ne pas demander le numéro de téléphone ou la date de naissance pour une simple newsletter).
|
||||||
|
2. **Case à cocher d'information explicite** :
|
||||||
|
- Case non pré-cochée obligatoire sous tout formulaire collectant des données.
|
||||||
|
- Mention claire de la finalité et lien vers la politique de confidentialité.
|
||||||
|
3. **Droit à l'effacement et portabilité (Art. 17 & 20)** :
|
||||||
|
- Toute application SaaS doit fournir un mécanisme clair permettant à l'utilisateur de supprimer définitivement son compte et ses données (*Hard delete* ou anonymisation irréversible sous 30 jours).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## ♿ 3. European Accessibility Act (EAA - Directive UE 2019/882)
|
||||||
|
|
||||||
|
Depuis le **28 juin 2025**, l'accessibilité numérique est une **obligation légale** pour le secteur privé en Europe (e-commerce, banques, billetteries, SaaS B2C) :
|
||||||
|
- **Référentiel Technique** : Norme européenne **EN 301 549** (alignée sur **WCAG 2.1 / 2.2 Niveau AA**).
|
||||||
|
- **Déclaration d'Accessibilité Obligatoire** : Chaque site doit publier une page accessible déclarant son niveau de conformité, listant les non-conformités éventuelles et fournissant un moyen de contact direct pour signaler une difficulté.
|
||||||
|
- **Accessibilité du bandeau cookie** : Le bandeau de consentement doit impérativement être navigable au clavier et vocalisable par les lecteurs d'écran.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📜 4. Mentions Légales Obligatoires (Droit Français / LCEN & Directive E-commerce)
|
||||||
|
|
||||||
|
Tout site accessible au public en France / UE doit comporter une page `/mentions-legales` facilement accessible contenant :
|
||||||
|
1. **Éditeur du site** :
|
||||||
|
- Nom / Raison sociale, forme juridique, capital social.
|
||||||
|
- Adresse du siège social, numéro d'inscription au RCS (SIREN/SIRET).
|
||||||
|
- Numéro de TVA intracommunautaire.
|
||||||
|
- Contact : adresse email et numéro de téléphone non surtaxé.
|
||||||
|
- Directeur de la publication (nom et prénom).
|
||||||
|
2. **Hébergeur** :
|
||||||
|
- Nom de l'hébergeur (ex: Vercel Inc, OVHcloud, AWS).
|
||||||
|
- Raison sociale, adresse postale complète et numéro de téléphone de l'hébergeur.
|
||||||
|
3. **Médiation de la consommation (Sites marchands B2C)** :
|
||||||
|
- Coordonnées du médiateur de la consommation agréé auquel le consommateur peut faire appel gratuitement.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📋 Checklist de Conformité Réglementaire Européenne
|
||||||
|
|
||||||
|
- [ ] Le bandeau cookies présente un bouton « Tout refuser » aussi accessible et visible que « Tout accepter ».
|
||||||
|
- [ ] Aucun cookie tiers ou traceur n'est déposé avant un clic positif de l'utilisateur.
|
||||||
|
- [ ] La page `/mentions-legales` renseigne l'éditeur complet, le n° RCS/TVA et l'hébergeur avec son adresse et téléphone.
|
||||||
|
- [ ] La page `/politique-confidentialite` précise les finalités, la base légale, la durée de conservation et les droits d'accès/suppression.
|
||||||
|
- [ ] Les formulaires disposent d'une mention d'information sans case pré-cochée.
|
||||||
|
- [ ] Le site respecte les exigences de l'EAA (WCAG 2.1/2.2 AA) et publie sa déclaration d'accessibilité.
|
||||||
|
|
@ -0,0 +1,201 @@
|
||||||
|
---
|
||||||
|
name: expo-native-ui
|
||||||
|
description: Framework (OSS). Build beautiful, native-feeling Expo screens. Covers Apple HIG styling, semantic colors, native controls, SF Symbols, media, visual effects, gradients, storage, and responsive layout. For routing and navigation, use the expo-router skill; for motion and animation, use the expo-animation skill.
|
||||||
|
version: 1.1.1
|
||||||
|
license: MIT
|
||||||
|
---
|
||||||
|
|
||||||
|
# Expo Native UI Guidelines
|
||||||
|
|
||||||
|
For routes, links, stacks, tabs, modals, sheets, and headers, use the `expo-router` skill. For any motion — entering/exiting, gestures, springs, keyboard-driven UI — use the `expo-animation` skill.
|
||||||
|
|
||||||
|
> **Before picking any UI component, check `expo-ui` first.** `@expo/ui` provides native equivalents — BottomSheet, Button, Picker, Slider, Menu, Section, Switch, SegmentedControl, and more — rendered as real SwiftUI on iOS and Jetpack Compose on Android, available in Expo Go on SDK 56+ with no custom build. Load the **`expo-ui`** skill to find the right component before falling back to React Native built-ins or community libraries. This skill (`expo-native-ui`) covers the surrounding structure: Expo Router navigation, layout, styling, and visual effects.
|
||||||
|
|
||||||
|
## References
|
||||||
|
|
||||||
|
Consult these resources as needed:
|
||||||
|
|
||||||
|
```
|
||||||
|
references/
|
||||||
|
controls.md Native iOS: Switch, Slider, SegmentedControl, DateTimePicker, Picker
|
||||||
|
gradients.md CSS gradients via experimental_backgroundImage (New Arch only)
|
||||||
|
icons.md SF Symbols via expo-symbols SymbolView: names, weights, animations; Material icons on Android
|
||||||
|
media.md Camera, audio, video, and file saving
|
||||||
|
storage.md SQLite, AsyncStorage, SecureStore
|
||||||
|
visual-effects.md Blur (expo-blur) and liquid glass (expo-glass-effect)
|
||||||
|
webgpu-three.md 3D graphics, games, GPU visualizations with WebGPU and Three.js
|
||||||
|
```
|
||||||
|
|
||||||
|
## Running the App
|
||||||
|
|
||||||
|
**CRITICAL: Always try Expo Go first before creating custom builds.**
|
||||||
|
|
||||||
|
Most Expo apps work in Expo Go without any custom native code. Before running `npx expo run:ios` or `npx expo run:android`:
|
||||||
|
|
||||||
|
1. **Start with Expo Go**: Run `npx expo start` and scan the QR code with Expo Go
|
||||||
|
2. **Check if features work**: Test your app thoroughly in Expo Go
|
||||||
|
3. **Only create custom builds when required** - see below
|
||||||
|
|
||||||
|
### When Custom Builds Are Required
|
||||||
|
|
||||||
|
You need `npx expo run:ios/android` or `eas build` ONLY when using:
|
||||||
|
|
||||||
|
- **Local Expo modules** (custom native code in `modules/`)
|
||||||
|
- **Apple targets** (widgets, app clips, extensions via `@bacons/apple-targets`)
|
||||||
|
- **Third-party native modules** not included in Expo Go
|
||||||
|
- **Custom native configuration** that can't be expressed in `app.json`
|
||||||
|
|
||||||
|
### When Expo Go Works
|
||||||
|
|
||||||
|
Expo Go supports a wide range of features out of the box:
|
||||||
|
|
||||||
|
- Most `expo-*` packages (camera, location, sensors, sqlite, etc.) — but not all: remote push notifications don't work in Expo Go on Android since SDK 53, and some packages need native capabilities Expo Go doesn't bundle (e.g. WebGPU — see `references/webgpu-three.md`)
|
||||||
|
- Expo Router navigation and deep links
|
||||||
|
- Most UI libraries (reanimated, gesture handler, etc.)
|
||||||
|
|
||||||
|
**If you're unsure, try Expo Go first.** Creating custom builds adds complexity, slower iteration, and requires Xcode/Android Studio setup.
|
||||||
|
|
||||||
|
## Code Style
|
||||||
|
|
||||||
|
- Be cautious of unterminated strings. Ensure nested backticks are escaped; never forget to escape quotes correctly.
|
||||||
|
- Always use import statements at the top of the file.
|
||||||
|
- Always use kebab-case for file names, e.g. `comment-card.tsx`
|
||||||
|
- Never use special characters in file names
|
||||||
|
- Configure tsconfig.json with path aliases, and prefer aliases over relative imports for refactors.
|
||||||
|
|
||||||
|
## Library Preferences
|
||||||
|
|
||||||
|
- **For any sheet, picker, slider, toggle, menu, or grouped-form section: use `@expo/ui` (see `expo-ui` skill) before reaching for a React Native built-in or community library** — it renders native SwiftUI/Compose and works in Expo Go on SDK 56+. For grouped/settings-style rows (short, fixed-length), use `@expo/ui`'s `List` + `ListItem`. For large or unknown-length scrolling lists (feeds, search results, catalogs), use `FlatList` or `FlashList` — `@expo/ui`'s `List` is not virtualized.
|
||||||
|
- Never use modules removed from React Native such as Picker, WebView, SafeAreaView, or AsyncStorage
|
||||||
|
- Never use legacy expo-permissions
|
||||||
|
- `expo-audio` not `expo-av`
|
||||||
|
- `expo-video` not `expo-av`
|
||||||
|
- `expo-symbols` (`SymbolView`) for SF Symbols on iOS, not `@expo/vector-icons` — see `references/icons.md`. SF Symbols are Apple-only: on Android every icon needs a Material source (`md` prop on NativeTabs triggers; in-screen options under "Android: Material Icons" in icons.md), never SF-only iconography
|
||||||
|
- `react-native-safe-area-context` not react-native SafeAreaView
|
||||||
|
- `process.env.EXPO_OS` not `Platform.OS`
|
||||||
|
- `React.use` not `React.useContext`
|
||||||
|
- `expo-image` Image component instead of intrinsic element `img`
|
||||||
|
- `expo-glass-effect` for liquid glass backdrops
|
||||||
|
- `Color` from `expo-router` for native semantic colors, not raw `PlatformColor` (type-safe, auto-adapts to light/dark)
|
||||||
|
- In SDK 56+, never import from `@react-navigation/*` directly — use `expo-router/react-navigation` instead (covers `@react-navigation/native`, `/core`, `/elements`, `/routers`)
|
||||||
|
|
||||||
|
## Responsiveness
|
||||||
|
|
||||||
|
- Wrap screens with scrollable content in a ScrollView. Screens whose root is a FlatList/FlashList must not add an outer ScrollView (the list is the scroll container), and full-bleed screens (camera, map, canvas) need neither
|
||||||
|
- Use `<ScrollView contentInsetAdjustmentBehavior="automatic" />` instead of `<SafeAreaView>` for smarter safe area insets
|
||||||
|
- `contentInsetAdjustmentBehavior="automatic"` should be applied to FlatList and SectionList as well
|
||||||
|
- Use flexbox instead of Dimensions API
|
||||||
|
- ALWAYS prefer `useWindowDimensions` over `Dimensions.get()` to measure screen size
|
||||||
|
|
||||||
|
## Behavior
|
||||||
|
|
||||||
|
- Use expo-haptics conditionally on iOS to make more delightful experiences
|
||||||
|
- Use views with built-in haptics like `<Switch />` from React Native and `@react-native-community/datetimepicker`
|
||||||
|
- When a Stack route has scrollable content, make the ScrollView (or FlatList) the first component inside the route, with `contentInsetAdjustmentBehavior="automatic"` set
|
||||||
|
- Use the `<Text selectable />` prop on text containing data that could be copied
|
||||||
|
- Consider formatting large numbers like 1.4M or 38k
|
||||||
|
- Never use intrinsic elements like 'img' or 'div' unless in a webview or Expo DOM component
|
||||||
|
- Every screen that loads data has four states (loading, error, empty, content) - never show the empty state while the first load is still resolving; the rules live in the `expo-data-fetching` skill
|
||||||
|
- On scrollable forms and search results, use `keyboardShouldPersistTaps="handled"` so controls receive the first tap and unhandled taps can dismiss the keyboard. Use `"always"` only when unhandled taps should also keep it open
|
||||||
|
- A form's primary action must never sit under the keyboard. For UI that tracks the keyboard's real frame, load the `expo-animation` skill's keyboard recipe (`react-native-keyboard-controller`) - never `Keyboard.addListener` plus a timing animation
|
||||||
|
- Every enabled control must perform its advertised action: search filters results, Save commits edits, and settings affect behavior. Empty handlers and success alerts are not implementations; local state is enough when the user requested a prototype
|
||||||
|
- For async saves, preserve drafts and handle pending/failure states per `expo-data-fetching`; do not dismiss a form before its save succeeds
|
||||||
|
|
||||||
|
Before calling a screen complete, walk through its primary task, including one failure and recovery when it loads or saves data. Check keyboard access and back/dismiss behavior. Try long titles, missing images, no search results, and large system text; required actions must remain reachable. Report what you exercised and what you could not run.
|
||||||
|
|
||||||
|
# Styling
|
||||||
|
|
||||||
|
Follow each platform's own design language: Apple Human Interface Guidelines on iOS, Material Design 3 on Android. Never dress one platform in the other's uniform - no FAB or ripple in iOS layouts; no hand-built iOS chrome (back-chevrons, large-title text, iOS-styled switches) on Android.
|
||||||
|
|
||||||
|
## General Styling Rules
|
||||||
|
|
||||||
|
- Prefer flex gap over margin and padding styles
|
||||||
|
- Prefer padding over margin where possible
|
||||||
|
- Always account for safe area, either with stack headers, tabs, or ScrollView/FlatList `contentInsetAdjustmentBehavior="automatic"`
|
||||||
|
- Ensure both top and bottom safe area insets are accounted for
|
||||||
|
- Inline styles not StyleSheet.create unless reusing styles is faster
|
||||||
|
- For any motion or animation work, load the `expo-animation` skill — it owns the animate-or-not decision, timing values, and interruption rules
|
||||||
|
- Use `{ borderCurve: 'continuous' }` for rounded corners unless creating a capsule shape
|
||||||
|
- ALWAYS use a navigation stack title instead of a custom text element on the page
|
||||||
|
- When padding a ScrollView, use `contentContainerStyle` padding and gap instead of padding on the ScrollView itself (reduces clipping)
|
||||||
|
- CSS and Tailwind are not supported - use inline styles
|
||||||
|
|
||||||
|
## Colors
|
||||||
|
|
||||||
|
Use the `Color` API from `expo-router` for native semantic colors. It is a type-safe wrapper over `PlatformColor` that exposes iOS UIKit colors through `Color.ios.*` and Android Material 3 colors through `Color.android.material.*` (static) or `Color.android.dynamic.*` (adapts to the user's wallpaper on Android 12+). These resolve on-device and automatically adapt to light/dark mode and accessibility settings, so you no longer maintain separate light/dark hex tables or a `colors.web.ts` file.
|
||||||
|
|
||||||
|
`Color` is platform-specific, so wrap each value in `Platform.select` with a `default` hex fallback for web. Centralize the palette in `theme/colors.ts` and import `colors` everywhere:
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
// theme/colors.ts
|
||||||
|
import { Platform } from "react-native";
|
||||||
|
import { Color } from "expo-router";
|
||||||
|
|
||||||
|
export const colors = {
|
||||||
|
label: Platform.select({
|
||||||
|
ios: Color.ios.label,
|
||||||
|
android: Color.android.dynamic.onSurface,
|
||||||
|
default: "#000000",
|
||||||
|
})!,
|
||||||
|
secondaryLabel: Platform.select({
|
||||||
|
ios: Color.ios.secondaryLabel,
|
||||||
|
android: Color.android.dynamic.onSurfaceVariant,
|
||||||
|
default: "#3c3c43",
|
||||||
|
})!,
|
||||||
|
separator: Platform.select({
|
||||||
|
ios: Color.ios.separator,
|
||||||
|
android: Color.android.dynamic.outlineVariant,
|
||||||
|
default: "#c6c6c8",
|
||||||
|
})!,
|
||||||
|
systemBackground: Platform.select({
|
||||||
|
ios: Color.ios.systemBackground,
|
||||||
|
android: Color.android.dynamic.surface,
|
||||||
|
default: "#ffffff",
|
||||||
|
})!,
|
||||||
|
secondarySystemBackground: Platform.select({
|
||||||
|
ios: Color.ios.secondarySystemBackground,
|
||||||
|
android: Color.android.dynamic.surfaceVariant,
|
||||||
|
default: "#f2f2f7",
|
||||||
|
})!,
|
||||||
|
systemBlue: Platform.select({
|
||||||
|
ios: Color.ios.systemBlue,
|
||||||
|
android: Color.android.dynamic.primary,
|
||||||
|
default: "#007aff",
|
||||||
|
})!,
|
||||||
|
};
|
||||||
|
```
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import { colors } from "@/theme/colors";
|
||||||
|
|
||||||
|
<View style={{ backgroundColor: colors.systemBackground }}>
|
||||||
|
<Text style={{ color: colors.label }}>Title</Text>
|
||||||
|
</View>;
|
||||||
|
```
|
||||||
|
|
||||||
|
- iOS re-resolves these colors automatically when the system theme changes. On Android, call `useColorScheme()` inside any component that renders them so it re-renders when the theme flips (required when React Compiler memoizes the component).
|
||||||
|
- Don't pass `Color` / `PlatformColor` values into Reanimated styles — they are opaque native color objects, not strings; use static colors there.
|
||||||
|
- `Platform.select({...})!` returns `string | OpaqueColorValue`. Most React Native style props accept `ColorValue` (`string | OpaqueColorValue`) so this works fine. But some third-party props only accept `string` (e.g. `tintColor` on `expo-image`). Cast when needed: `colors.label as string`.
|
||||||
|
|
||||||
|
## Text Styling
|
||||||
|
|
||||||
|
- Add the `selectable` prop to every `<Text/>` element displaying important data or error messages
|
||||||
|
- Counters should use `{ fontVariant: 'tabular-nums' }` for alignment
|
||||||
|
|
||||||
|
## Shadows
|
||||||
|
|
||||||
|
Use CSS `boxShadow` style prop. NEVER use legacy React Native shadow or elevation styles.
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
<View style={{ boxShadow: "0 1px 2px rgba(0, 0, 0, 0.05)" }} />
|
||||||
|
```
|
||||||
|
|
||||||
|
'inset' shadows are supported.
|
||||||
|
|
||||||
|
## Submitting Feedback
|
||||||
|
If you encounter errors, misleading or outdated information in this skill, report it so Expo can improve:
|
||||||
|
```bash
|
||||||
|
npx --yes submit-expo-feedback@latest --category skills --subject "expo-native-ui" "<actionable feedback>"
|
||||||
|
```
|
||||||
|
Only submit when you have something specific and actionable to report. Include as much relevant context as possible.
|
||||||
|
If an AI agent repeatedly failed or the user had to take over an Expo task, load the expo-skill-feedback skill and follow its eval-candidate flow instead of reusing the command above.
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
interface:
|
||||||
|
display_name: "Expo Native UI"
|
||||||
|
short_description: "Build beautiful, native-feeling Expo screens: HIG styling, semantic colors, controls, SF Symbols, media, and visual effects"
|
||||||
|
default_prompt: "Use $expo-native-ui to style native-feeling Expo screens, choose semantic colors and native controls, add media and visual effects, and decide when Expo Go is enough before creating native builds."
|
||||||
|
|
@ -0,0 +1,231 @@
|
||||||
|
# Native Controls
|
||||||
|
|
||||||
|
Native iOS controls provide built-in haptics, accessibility, and platform-appropriate styling.
|
||||||
|
|
||||||
|
> **Prefer `@expo/ui` for these controls.** Its `Slider`, `Switch`, `DateTimePicker`, `Menu`, and segmented pickers render as real SwiftUI / Jetpack Compose and follow platform design conventions automatically — recommended over the React Native controls below. See the **`expo-ui`** skill; use the React Native controls below as a fallback when you're not using `@expo/ui`.
|
||||||
|
|
||||||
|
## Switch
|
||||||
|
|
||||||
|
Use for binary on/off settings. Has built-in haptics.
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import { Switch } from "react-native";
|
||||||
|
import { useState } from "react";
|
||||||
|
|
||||||
|
const [enabled, setEnabled] = useState(false);
|
||||||
|
|
||||||
|
<Switch value={enabled} onValueChange={setEnabled} />;
|
||||||
|
```
|
||||||
|
|
||||||
|
Don't recolor the Switch — native styling adapts to dark mode automatically.
|
||||||
|
|
||||||
|
## Segmented Control
|
||||||
|
|
||||||
|
Use for non-navigational tabs or mode selection. Avoid changing default colors.
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import SegmentedControl from "@react-native-segmented-control/segmented-control";
|
||||||
|
import { useState } from "react";
|
||||||
|
|
||||||
|
const [index, setIndex] = useState(0);
|
||||||
|
|
||||||
|
<SegmentedControl
|
||||||
|
values={["All", "Active", "Done"]}
|
||||||
|
selectedIndex={index}
|
||||||
|
onChange={({ nativeEvent }) => setIndex(nativeEvent.selectedSegmentIndex)}
|
||||||
|
/>;
|
||||||
|
```
|
||||||
|
|
||||||
|
### Rules
|
||||||
|
|
||||||
|
- Maximum 4 options — use a picker for more
|
||||||
|
- Keep labels short (1-2 words)
|
||||||
|
- Avoid custom colors — native styling adapts to dark mode
|
||||||
|
|
||||||
|
### With Icons (iOS 14+)
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
<SegmentedControl
|
||||||
|
values={[
|
||||||
|
{ label: "List", icon: "list.bullet" },
|
||||||
|
{ label: "Grid", icon: "square.grid.2x2" },
|
||||||
|
]}
|
||||||
|
selectedIndex={index}
|
||||||
|
onChange={({ nativeEvent }) => setIndex(nativeEvent.selectedSegmentIndex)}
|
||||||
|
/>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Slider
|
||||||
|
|
||||||
|
Continuous value selection.
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import Slider from "@react-native-community/slider";
|
||||||
|
import { useState } from "react";
|
||||||
|
|
||||||
|
const [value, setValue] = useState(0.5);
|
||||||
|
|
||||||
|
<Slider
|
||||||
|
value={value}
|
||||||
|
onValueChange={setValue}
|
||||||
|
minimumValue={0}
|
||||||
|
maximumValue={1}
|
||||||
|
/>;
|
||||||
|
```
|
||||||
|
|
||||||
|
### Discrete Steps
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
<Slider
|
||||||
|
value={value}
|
||||||
|
onValueChange={setValue}
|
||||||
|
minimumValue={0}
|
||||||
|
maximumValue={10}
|
||||||
|
step={1}
|
||||||
|
/>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Date/Time Picker
|
||||||
|
|
||||||
|
Compact pickers with popovers. Has built-in haptics.
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import DateTimePicker from "@react-native-community/datetimepicker";
|
||||||
|
import { useState } from "react";
|
||||||
|
|
||||||
|
const [date, setDate] = useState(new Date());
|
||||||
|
|
||||||
|
<DateTimePicker
|
||||||
|
value={date}
|
||||||
|
onChange={(event, selectedDate) => {
|
||||||
|
if (selectedDate) setDate(selectedDate);
|
||||||
|
}}
|
||||||
|
mode="datetime"
|
||||||
|
/>;
|
||||||
|
```
|
||||||
|
|
||||||
|
### Modes
|
||||||
|
|
||||||
|
- `date` — Date only
|
||||||
|
- `time` — Time only
|
||||||
|
- `datetime` — Date and time
|
||||||
|
|
||||||
|
### Display Styles
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
// Compact inline (default)
|
||||||
|
<DateTimePicker value={date} mode="date" />
|
||||||
|
|
||||||
|
// Spinner wheel
|
||||||
|
<DateTimePicker
|
||||||
|
value={date}
|
||||||
|
mode="date"
|
||||||
|
display="spinner"
|
||||||
|
style={{ width: 200, height: 150 }}
|
||||||
|
/>
|
||||||
|
|
||||||
|
// Full calendar
|
||||||
|
<DateTimePicker value={date} mode="date" display="inline" />
|
||||||
|
```
|
||||||
|
|
||||||
|
### Time Intervals
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
<DateTimePicker
|
||||||
|
value={date}
|
||||||
|
mode="time"
|
||||||
|
minuteInterval={15}
|
||||||
|
/>
|
||||||
|
```
|
||||||
|
|
||||||
|
### Min/Max Dates
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
<DateTimePicker
|
||||||
|
value={date}
|
||||||
|
mode="date"
|
||||||
|
minimumDate={new Date(2020, 0, 1)}
|
||||||
|
maximumDate={new Date(2030, 11, 31)}
|
||||||
|
/>
|
||||||
|
```
|
||||||
|
|
||||||
|
## TextInput
|
||||||
|
|
||||||
|
Native text input with various keyboard types.
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import { TextInput } from "react-native";
|
||||||
|
import { colors } from "@/theme/colors";
|
||||||
|
|
||||||
|
<TextInput
|
||||||
|
placeholder="Enter text..."
|
||||||
|
placeholderTextColor={colors.secondaryLabel as string}
|
||||||
|
style={{
|
||||||
|
padding: 12,
|
||||||
|
fontSize: 16,
|
||||||
|
borderRadius: 8,
|
||||||
|
backgroundColor: colors.secondarySystemBackground,
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
```
|
||||||
|
|
||||||
|
### Keyboard Types
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
// Email
|
||||||
|
<TextInput keyboardType="email-address" autoCapitalize="none" />
|
||||||
|
|
||||||
|
// Phone
|
||||||
|
<TextInput keyboardType="phone-pad" />
|
||||||
|
|
||||||
|
// Number
|
||||||
|
<TextInput keyboardType="numeric" />
|
||||||
|
|
||||||
|
// Password
|
||||||
|
<TextInput secureTextEntry />
|
||||||
|
|
||||||
|
// Search
|
||||||
|
<TextInput
|
||||||
|
returnKeyType="search"
|
||||||
|
enablesReturnKeyAutomatically
|
||||||
|
/>
|
||||||
|
```
|
||||||
|
|
||||||
|
### Multiline
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
<TextInput
|
||||||
|
multiline
|
||||||
|
numberOfLines={4}
|
||||||
|
textAlignVertical="top"
|
||||||
|
style={{ minHeight: 100 }}
|
||||||
|
/>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Picker (Wheel)
|
||||||
|
|
||||||
|
For selection from many options (5+ items).
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import { Picker } from "@react-native-picker/picker";
|
||||||
|
import { useState } from "react";
|
||||||
|
|
||||||
|
const [selected, setSelected] = useState("js");
|
||||||
|
|
||||||
|
<Picker selectedValue={selected} onValueChange={setSelected}>
|
||||||
|
<Picker.Item label="JavaScript" value="js" />
|
||||||
|
<Picker.Item label="TypeScript" value="ts" />
|
||||||
|
<Picker.Item label="Python" value="py" />
|
||||||
|
<Picker.Item label="Go" value="go" />
|
||||||
|
</Picker>;
|
||||||
|
```
|
||||||
|
|
||||||
|
## Best Practices
|
||||||
|
|
||||||
|
- **Haptics**: Switch and DateTimePicker have built-in haptics — don't add extra
|
||||||
|
- **No native Stepper**: React Native has no `Stepper` component — compose increment/decrement from two Buttons or a numeric TextInput
|
||||||
|
- **Accessibility**: Native controls have proper accessibility labels by default
|
||||||
|
- **Dark Mode**: Avoid custom colors — native styling adapts automatically
|
||||||
|
- **Spacing**: Use consistent padding around controls (12-16pt)
|
||||||
|
- **Labels**: Place labels above or to the left of controls
|
||||||
|
- **Grouping**: Group related controls in sections with headers
|
||||||
|
|
@ -0,0 +1,106 @@
|
||||||
|
# CSS Gradients
|
||||||
|
|
||||||
|
> **New Architecture Only**: CSS gradients require React Native's New Architecture (Fabric). They are not available in the old architecture or Expo Go.
|
||||||
|
|
||||||
|
Use CSS gradients with the `experimental_backgroundImage` style property.
|
||||||
|
|
||||||
|
## Linear Gradients
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
// Top to bottom
|
||||||
|
<View style={{
|
||||||
|
experimental_backgroundImage: 'linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%)'
|
||||||
|
}} />
|
||||||
|
|
||||||
|
// Left to right
|
||||||
|
<View style={{
|
||||||
|
experimental_backgroundImage: 'linear-gradient(to right, #ff0000 0%, #0000ff 100%)'
|
||||||
|
}} />
|
||||||
|
|
||||||
|
// Diagonal
|
||||||
|
<View style={{
|
||||||
|
experimental_backgroundImage: 'linear-gradient(45deg, #ff0000 0%, #00ff00 50%, #0000ff 100%)'
|
||||||
|
}} />
|
||||||
|
|
||||||
|
// Using degrees
|
||||||
|
<View style={{
|
||||||
|
experimental_backgroundImage: 'linear-gradient(135deg, transparent 0%, black 100%)'
|
||||||
|
}} />
|
||||||
|
```
|
||||||
|
|
||||||
|
## Radial Gradients
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
// Circle at center
|
||||||
|
<View style={{
|
||||||
|
experimental_backgroundImage: 'radial-gradient(circle at center, rgba(255, 0, 0, 1) 0%, rgba(0, 0, 255, 1) 100%)'
|
||||||
|
}} />
|
||||||
|
|
||||||
|
// Ellipse
|
||||||
|
<View style={{
|
||||||
|
experimental_backgroundImage: 'radial-gradient(ellipse at center, #fff 0%, #000 100%)'
|
||||||
|
}} />
|
||||||
|
|
||||||
|
// Positioned
|
||||||
|
<View style={{
|
||||||
|
experimental_backgroundImage: 'radial-gradient(circle at top left, #ff0000 0%, transparent 70%)'
|
||||||
|
}} />
|
||||||
|
```
|
||||||
|
|
||||||
|
## Multiple Gradients
|
||||||
|
|
||||||
|
Stack multiple gradients by comma-separating them:
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
<View style={{
|
||||||
|
experimental_backgroundImage: `
|
||||||
|
linear-gradient(to bottom, transparent 0%, black 100%),
|
||||||
|
radial-gradient(circle at top right, rgba(255, 0, 0, 0.5) 0%, transparent 50%)
|
||||||
|
`
|
||||||
|
}} />
|
||||||
|
```
|
||||||
|
|
||||||
|
## Common Patterns
|
||||||
|
|
||||||
|
### Overlay on Image
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
<View style={{ position: 'relative' }}>
|
||||||
|
<Image source={{ uri: '...' }} style={{ width: '100%', height: 200 }} />
|
||||||
|
<View style={{
|
||||||
|
position: 'absolute',
|
||||||
|
inset: 0,
|
||||||
|
experimental_backgroundImage: 'linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%)'
|
||||||
|
}} />
|
||||||
|
</View>
|
||||||
|
```
|
||||||
|
|
||||||
|
### Frosted Glass Effect
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
<View style={{
|
||||||
|
experimental_backgroundImage: 'linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%)',
|
||||||
|
backdropFilter: 'blur(10px)',
|
||||||
|
}} />
|
||||||
|
```
|
||||||
|
|
||||||
|
### Button Gradient
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
<Pressable style={{
|
||||||
|
experimental_backgroundImage: 'linear-gradient(to bottom, #4CAF50 0%, #388E3C 100%)',
|
||||||
|
padding: 16,
|
||||||
|
borderRadius: 8,
|
||||||
|
}}>
|
||||||
|
<Text style={{ color: 'white', textAlign: 'center' }}>Submit</Text>
|
||||||
|
</Pressable>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Important Notes
|
||||||
|
|
||||||
|
- Do NOT use `expo-linear-gradient` — use CSS gradients instead
|
||||||
|
- Gradients are strings, not objects
|
||||||
|
- Use `rgba()` for transparency, or `transparent` keyword
|
||||||
|
- Color stops use percentages (0%, 50%, 100%)
|
||||||
|
- Direction keywords: `to top`, `to bottom`, `to left`, `to right`, `to top left`, etc.
|
||||||
|
- Degree values: `45deg`, `90deg`, `135deg`, etc.
|
||||||
|
|
@ -0,0 +1,232 @@
|
||||||
|
# Icons (SF Symbols)
|
||||||
|
|
||||||
|
Use SF Symbols on iOS for native feel. SF Symbols are an Apple asset and never render on Android - every icon needs a Material counterpart (see "Android: Material Icons" below). Never use FontAwesome or Ionicons on either platform, and never emoji as icons.
|
||||||
|
|
||||||
|
## Basic Usage
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import { SymbolView } from "expo-symbols";
|
||||||
|
import { colors } from "@/theme/colors";
|
||||||
|
|
||||||
|
<SymbolView
|
||||||
|
tintColor={colors.label}
|
||||||
|
resizeMode="scaleAspectFit"
|
||||||
|
name="square.and.arrow.down"
|
||||||
|
style={{ width: 16, height: 16 }}
|
||||||
|
/>;
|
||||||
|
```
|
||||||
|
|
||||||
|
## Props
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
<SymbolView
|
||||||
|
name="star.fill" // SF Symbol name (required)
|
||||||
|
tintColor={colors.label} // Icon color
|
||||||
|
size={24} // Shorthand for width/height
|
||||||
|
resizeMode="scaleAspectFit" // How to scale
|
||||||
|
weight="regular" // thin | ultraLight | light | regular | medium | semibold | bold | heavy | black
|
||||||
|
scale="medium" // small | medium | large
|
||||||
|
style={{ width: 16, height: 16 }} // Standard style props
|
||||||
|
/>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Common Icons
|
||||||
|
|
||||||
|
### Navigation & Actions
|
||||||
|
- `house.fill` - home
|
||||||
|
- `gear` - settings
|
||||||
|
- `magnifyingglass` - search
|
||||||
|
- `plus` - add
|
||||||
|
- `xmark` - close
|
||||||
|
- `chevron.left` - back
|
||||||
|
- `chevron.right` - forward
|
||||||
|
- `arrow.left` - back arrow
|
||||||
|
- `arrow.right` - forward arrow
|
||||||
|
|
||||||
|
### Media
|
||||||
|
- `play.fill` - play
|
||||||
|
- `pause.fill` - pause
|
||||||
|
- `stop.fill` - stop
|
||||||
|
- `backward.fill` - rewind
|
||||||
|
- `forward.fill` - fast forward
|
||||||
|
- `speaker.wave.2.fill` - volume
|
||||||
|
- `speaker.slash.fill` - mute
|
||||||
|
|
||||||
|
### Camera
|
||||||
|
- `camera` - camera
|
||||||
|
- `camera.fill` - camera filled
|
||||||
|
- `arrow.triangle.2.circlepath` - flip camera
|
||||||
|
- `photo` - gallery/photos
|
||||||
|
- `bolt` - flash
|
||||||
|
- `bolt.slash` - flash off
|
||||||
|
|
||||||
|
### Communication
|
||||||
|
- `message` - message
|
||||||
|
- `message.fill` - message filled
|
||||||
|
- `envelope` - email
|
||||||
|
- `envelope.fill` - email filled
|
||||||
|
- `phone` - phone
|
||||||
|
- `phone.fill` - phone filled
|
||||||
|
- `video` - video call
|
||||||
|
- `video.fill` - video call filled
|
||||||
|
|
||||||
|
### Social
|
||||||
|
- `heart` - like
|
||||||
|
- `heart.fill` - liked
|
||||||
|
- `star` - favorite
|
||||||
|
- `star.fill` - favorited
|
||||||
|
- `hand.thumbsup` - thumbs up
|
||||||
|
- `hand.thumbsdown` - thumbs down
|
||||||
|
- `person` - profile
|
||||||
|
- `person.fill` - profile filled
|
||||||
|
- `person.2` - people
|
||||||
|
- `person.2.fill` - people filled
|
||||||
|
|
||||||
|
### Content Actions
|
||||||
|
- `square.and.arrow.up` - share
|
||||||
|
- `square.and.arrow.down` - download
|
||||||
|
- `doc.on.doc` - copy
|
||||||
|
- `trash` - delete
|
||||||
|
- `pencil` - edit
|
||||||
|
- `folder` - folder
|
||||||
|
- `folder.fill` - folder filled
|
||||||
|
- `bookmark` - bookmark
|
||||||
|
- `bookmark.fill` - bookmarked
|
||||||
|
|
||||||
|
### Status & Feedback
|
||||||
|
- `checkmark` - success/done
|
||||||
|
- `checkmark.circle.fill` - completed
|
||||||
|
- `xmark.circle.fill` - error/failed
|
||||||
|
- `exclamationmark.triangle` - warning
|
||||||
|
- `info.circle` - info
|
||||||
|
- `questionmark.circle` - help
|
||||||
|
- `bell` - notification
|
||||||
|
- `bell.fill` - notification filled
|
||||||
|
|
||||||
|
### Misc
|
||||||
|
- `ellipsis` - more options
|
||||||
|
- `ellipsis.circle` - more in circle
|
||||||
|
- `line.3.horizontal` - menu/hamburger
|
||||||
|
- `slider.horizontal.3` - filters
|
||||||
|
- `arrow.clockwise` - refresh
|
||||||
|
- `location` - location
|
||||||
|
- `location.fill` - location filled
|
||||||
|
- `map` - map
|
||||||
|
- `mappin` - pin
|
||||||
|
- `clock` - time
|
||||||
|
- `calendar` - calendar
|
||||||
|
- `link` - link
|
||||||
|
- `nosign` - block/prohibited
|
||||||
|
|
||||||
|
## Animated Symbols
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
<SymbolView
|
||||||
|
name="checkmark.circle"
|
||||||
|
animationSpec={{
|
||||||
|
effect: {
|
||||||
|
type: "bounce",
|
||||||
|
direction: "up",
|
||||||
|
},
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
```
|
||||||
|
|
||||||
|
### Animation Effects
|
||||||
|
|
||||||
|
- `bounce` - Bouncy animation
|
||||||
|
- `pulse` - Pulsing effect
|
||||||
|
- `variableColor` - Color cycling
|
||||||
|
- `scale` - Scale animation
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
// Bounce with direction
|
||||||
|
animationSpec={{
|
||||||
|
effect: { type: "bounce", direction: "up" } // up | down
|
||||||
|
}}
|
||||||
|
|
||||||
|
// Pulse
|
||||||
|
animationSpec={{
|
||||||
|
effect: { type: "pulse" }
|
||||||
|
}}
|
||||||
|
|
||||||
|
// Variable color (multicolor symbols)
|
||||||
|
animationSpec={{
|
||||||
|
effect: {
|
||||||
|
type: "variableColor",
|
||||||
|
cumulative: true,
|
||||||
|
reversing: true
|
||||||
|
}
|
||||||
|
}}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Symbol Weights
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
// Lighter weights
|
||||||
|
<SymbolView name="star" weight="ultraLight" />
|
||||||
|
<SymbolView name="star" weight="thin" />
|
||||||
|
<SymbolView name="star" weight="light" />
|
||||||
|
|
||||||
|
// Default
|
||||||
|
<SymbolView name="star" weight="regular" />
|
||||||
|
|
||||||
|
// Heavier weights
|
||||||
|
<SymbolView name="star" weight="medium" />
|
||||||
|
<SymbolView name="star" weight="semibold" />
|
||||||
|
<SymbolView name="star" weight="bold" />
|
||||||
|
<SymbolView name="star" weight="heavy" />
|
||||||
|
<SymbolView name="star" weight="black" />
|
||||||
|
```
|
||||||
|
|
||||||
|
## Symbol Scales
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
<SymbolView name="star" scale="small" />
|
||||||
|
<SymbolView name="star" scale="medium" /> // default
|
||||||
|
<SymbolView name="star" scale="large" />
|
||||||
|
```
|
||||||
|
|
||||||
|
## Multicolor Symbols
|
||||||
|
|
||||||
|
Some symbols support multiple colors:
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
<SymbolView
|
||||||
|
name="cloud.sun.rain.fill"
|
||||||
|
type="multicolor"
|
||||||
|
/>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Android: Material Icons
|
||||||
|
|
||||||
|
On Android an SF Symbol source renders nothing - an app that ships SF-only iconography ships blank icons. Give every icon a Material source:
|
||||||
|
|
||||||
|
- **Tab bars**: pass `md` (Material Symbol name) beside `sf` on NativeTabs triggers - `<NativeTabs.Trigger.Icon sf="gear" md="settings" />` (SDK 55+, see the `expo-router` skill).
|
||||||
|
- **In screens**: `@expo/vector-icons` Material families, gated by platform:
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import MaterialIcons from "@expo/vector-icons/MaterialIcons";
|
||||||
|
|
||||||
|
process.env.EXPO_OS === "ios" ? (
|
||||||
|
<SymbolView name="gear" tintColor={colors.label} style={{ width: 24, height: 24 }} />
|
||||||
|
) : (
|
||||||
|
<MaterialIcons name="settings" size={24} color={colors.label} />
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
One icon family per platform - never a mixed set, never SF names on Android or Material glyphs on iOS.
|
||||||
|
|
||||||
|
## Finding Symbol Names
|
||||||
|
|
||||||
|
1. Use the SF Symbols app on macOS (free from Apple)
|
||||||
|
2. Search at https://developer.apple.com/sf-symbols/
|
||||||
|
3. Symbol names use dot notation: `square.and.arrow.up`
|
||||||
|
|
||||||
|
## Best Practices
|
||||||
|
|
||||||
|
- On iOS, always use SF Symbols over vector icon libraries; on Android, use Material icons (see above)
|
||||||
|
- Match symbol weight to nearby text weight
|
||||||
|
- Use `.fill` variants for selected/active states
|
||||||
|
- Use the cross-platform `colors` helper (see SKILL.md "Colors") for tint to support dark mode
|
||||||
|
- Keep icons at consistent sizes (16, 20, 24, 32)
|
||||||
|
|
@ -0,0 +1,193 @@
|
||||||
|
# Media
|
||||||
|
|
||||||
|
## Camera
|
||||||
|
|
||||||
|
- Hide navigation headers when there's a full screen camera
|
||||||
|
- Ensure to flip the camera with `mirror` to emulate social apps
|
||||||
|
- Use liquid glass buttons on cameras
|
||||||
|
- Icons: `arrow.triangle.2.circlepath` (flip), `photo` (gallery), `bolt` (flash)
|
||||||
|
- Gate the camera behind an explanation screen with a Grant button (as below) — never fire the permission prompt on mount
|
||||||
|
- Lazily request media library permission (at first save/pick)
|
||||||
|
|
||||||
|
The example uses the `GlassButton` helper defined in `visual-effects.md` (Glass Buttons section).
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import React, { useRef, useState } from "react";
|
||||||
|
import { View, Pressable, Text } from "react-native";
|
||||||
|
import { CameraView, CameraType, useCameraPermissions } from "expo-camera";
|
||||||
|
import * as ImagePicker from "expo-image-picker";
|
||||||
|
import * as Haptics from "expo-haptics";
|
||||||
|
import { colors } from "@/theme/colors";
|
||||||
|
import { GlassView } from "expo-glass-effect";
|
||||||
|
import { useSafeAreaInsets } from "react-native-safe-area-context";
|
||||||
|
|
||||||
|
function Camera({ onPicture }: { onPicture: (uri: string) => Promise<void> }) {
|
||||||
|
const [permission, requestPermission] = useCameraPermissions();
|
||||||
|
const cameraRef = useRef<CameraView>(null);
|
||||||
|
const [type, setType] = useState<CameraType>("back");
|
||||||
|
const { bottom } = useSafeAreaInsets();
|
||||||
|
|
||||||
|
if (!permission?.granted) {
|
||||||
|
return (
|
||||||
|
<View style={{ flex: 1, justifyContent: "center", alignItems: "center", backgroundColor: colors.systemBackground }}>
|
||||||
|
<Text style={{ color: colors.label, padding: 16 }}>Camera access is required</Text>
|
||||||
|
<GlassView isInteractive tintColor={colors.systemBlue} style={{ borderRadius: 12 }}>
|
||||||
|
<Pressable onPress={requestPermission} style={{ padding: 12, borderRadius: 12 }}>
|
||||||
|
<Text style={{ color: "white" }}>Grant Permission</Text>
|
||||||
|
</Pressable>
|
||||||
|
</GlassView>
|
||||||
|
</View>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
const takePhoto = async () => {
|
||||||
|
await Haptics.selectionAsync();
|
||||||
|
if (!cameraRef.current) return;
|
||||||
|
const photo = await cameraRef.current.takePictureAsync({ quality: 0.8 });
|
||||||
|
await onPicture(photo.uri);
|
||||||
|
};
|
||||||
|
|
||||||
|
const selectPhoto = async () => {
|
||||||
|
await Haptics.selectionAsync();
|
||||||
|
const result = await ImagePicker.launchImageLibraryAsync({
|
||||||
|
mediaTypes: "images",
|
||||||
|
allowsEditing: false,
|
||||||
|
quality: 0.8,
|
||||||
|
});
|
||||||
|
if (!result.canceled && result.assets?.[0]) {
|
||||||
|
await onPicture(result.assets[0].uri);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
return (
|
||||||
|
<View style={{ flex: 1, backgroundColor: "black" }}>
|
||||||
|
<CameraView ref={cameraRef} mirror style={{ flex: 1 }} facing={type} />
|
||||||
|
<View style={{ position: "absolute", left: 0, right: 0, bottom: bottom, gap: 16, alignItems: "center" }}>
|
||||||
|
<GlassView isInteractive style={{ padding: 8, borderRadius: 99 }}>
|
||||||
|
<Pressable onPress={takePhoto} style={{ width: 64, height: 64, borderRadius: 99, backgroundColor: "white" }} />
|
||||||
|
</GlassView>
|
||||||
|
<View style={{ flexDirection: "row", justifyContent: "space-around", paddingHorizontal: 8 }}>
|
||||||
|
<GlassButton onPress={selectPhoto} icon="photo" />
|
||||||
|
<GlassButton onPress={() => setType(t => t === "back" ? "front" : "back")} icon="arrow.triangle.2.circlepath" />
|
||||||
|
</View>
|
||||||
|
</View>
|
||||||
|
</View>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Audio Playback
|
||||||
|
|
||||||
|
Use `expo-audio` not `expo-av`:
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import { useAudioPlayer } from 'expo-audio';
|
||||||
|
|
||||||
|
const player = useAudioPlayer({ uri: 'https://stream.nightride.fm/rektory.mp3' });
|
||||||
|
|
||||||
|
<Button title="Play" onPress={() => player.play()} />
|
||||||
|
```
|
||||||
|
|
||||||
|
## Audio Recording (Microphone)
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import {
|
||||||
|
useAudioRecorder,
|
||||||
|
AudioModule,
|
||||||
|
RecordingPresets,
|
||||||
|
setAudioModeAsync,
|
||||||
|
useAudioRecorderState,
|
||||||
|
} from 'expo-audio';
|
||||||
|
import { Alert, Button } from 'react-native';
|
||||||
|
|
||||||
|
function App() {
|
||||||
|
const audioRecorder = useAudioRecorder(RecordingPresets.HIGH_QUALITY);
|
||||||
|
const recorderState = useAudioRecorderState(audioRecorder);
|
||||||
|
|
||||||
|
// Request the microphone on first record, not on mount — no prompt before user intent
|
||||||
|
const record = async () => {
|
||||||
|
const status = await AudioModule.requestRecordingPermissionsAsync();
|
||||||
|
if (!status.granted) {
|
||||||
|
Alert.alert('Permission to access microphone was denied');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
await setAudioModeAsync({ playsInSilentMode: true, allowsRecording: true });
|
||||||
|
await audioRecorder.prepareToRecordAsync();
|
||||||
|
audioRecorder.record();
|
||||||
|
};
|
||||||
|
|
||||||
|
const stop = () => audioRecorder.stop();
|
||||||
|
|
||||||
|
return (
|
||||||
|
<Button
|
||||||
|
title={recorderState.isRecording ? 'Stop' : 'Start'}
|
||||||
|
onPress={recorderState.isRecording ? stop : record}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Video Playback
|
||||||
|
|
||||||
|
Use `expo-video` not `expo-av`:
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import { useVideoPlayer, VideoView } from 'expo-video';
|
||||||
|
import { useEvent } from 'expo';
|
||||||
|
|
||||||
|
const videoSource = 'https://example.com/video.mp4';
|
||||||
|
|
||||||
|
const player = useVideoPlayer(videoSource, player => {
|
||||||
|
player.loop = true;
|
||||||
|
player.play();
|
||||||
|
});
|
||||||
|
|
||||||
|
const { isPlaying } = useEvent(player, 'playingChange', { isPlaying: player.playing });
|
||||||
|
|
||||||
|
<VideoView player={player} fullscreenOptions={{}} allowsPictureInPicture />
|
||||||
|
```
|
||||||
|
|
||||||
|
VideoView options:
|
||||||
|
- `allowsPictureInPicture`: boolean
|
||||||
|
- `contentFit`: 'contain' | 'cover' | 'fill'
|
||||||
|
- `nativeControls`: boolean
|
||||||
|
- `playsInline`: boolean
|
||||||
|
- `startsPictureInPictureAutomatically`: boolean
|
||||||
|
|
||||||
|
## Saving Media
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import * as MediaLibrary from "expo-media-library";
|
||||||
|
|
||||||
|
const { granted } = await MediaLibrary.requestPermissionsAsync();
|
||||||
|
if (granted) {
|
||||||
|
await MediaLibrary.saveToLibraryAsync(uri);
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Saving Base64 Images
|
||||||
|
|
||||||
|
`MediaLibrary.saveToLibraryAsync` only accepts local file paths. Save base64 strings to disk first:
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import { File, Paths } from "expo-file-system/next";
|
||||||
|
|
||||||
|
function base64ToLocalUri(base64: string, filename?: string) {
|
||||||
|
if (!filename) {
|
||||||
|
const match = base64.match(/^data:(image\/[a-zA-Z]+);base64,/);
|
||||||
|
const ext = match ? match[1].split("/")[1] : "jpg";
|
||||||
|
filename = `generated-${Date.now()}.${ext}`;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (base64.startsWith("data:")) base64 = base64.split(",")[1];
|
||||||
|
const binaryString = atob(base64);
|
||||||
|
const len = binaryString.length;
|
||||||
|
const bytes = new Uint8Array(new ArrayBuffer(len));
|
||||||
|
for (let i = 0; i < len; i++) bytes[i] = binaryString.charCodeAt(i);
|
||||||
|
|
||||||
|
const f = new File(Paths.cache, filename);
|
||||||
|
f.create({ overwrite: true });
|
||||||
|
f.write(bytes);
|
||||||
|
return f.uri;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
@ -0,0 +1,121 @@
|
||||||
|
# Storage
|
||||||
|
|
||||||
|
## Key-Value Storage
|
||||||
|
|
||||||
|
Use the localStorage polyfill for key-value storage. **Never use AsyncStorage**
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import "expo-sqlite/localStorage/install";
|
||||||
|
|
||||||
|
// Simple get/set
|
||||||
|
localStorage.setItem("key", "value");
|
||||||
|
localStorage.getItem("key");
|
||||||
|
|
||||||
|
// Store objects as JSON
|
||||||
|
localStorage.setItem("user", JSON.stringify({ name: "John", id: 1 }));
|
||||||
|
const user = JSON.parse(localStorage.getItem("user") ?? "{}");
|
||||||
|
```
|
||||||
|
|
||||||
|
## When to Use What
|
||||||
|
|
||||||
|
| Use Case | Solution |
|
||||||
|
| ---------------------------------------------------- | ----------------------- |
|
||||||
|
| Simple key-value (settings, preferences, small data) | `localStorage` polyfill |
|
||||||
|
| Large datasets, complex queries, relational data | Full `expo-sqlite` |
|
||||||
|
| Sensitive data (tokens, passwords) | `expo-secure-store` |
|
||||||
|
|
||||||
|
## Storage with React State
|
||||||
|
|
||||||
|
Create a storage utility with subscriptions for reactive updates:
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
// utils/storage.ts
|
||||||
|
import "expo-sqlite/localStorage/install";
|
||||||
|
|
||||||
|
type Listener = () => void;
|
||||||
|
const listeners = new Map<string, Set<Listener>>();
|
||||||
|
|
||||||
|
export const storage = {
|
||||||
|
get<T>(key: string, defaultValue: T): T {
|
||||||
|
const value = localStorage.getItem(key);
|
||||||
|
return value ? JSON.parse(value) : defaultValue;
|
||||||
|
},
|
||||||
|
|
||||||
|
set<T>(key: string, value: T): void {
|
||||||
|
localStorage.setItem(key, JSON.stringify(value));
|
||||||
|
listeners.get(key)?.forEach((fn) => fn());
|
||||||
|
},
|
||||||
|
|
||||||
|
subscribe(key: string, listener: Listener): () => void {
|
||||||
|
if (!listeners.has(key)) listeners.set(key, new Set());
|
||||||
|
listeners.get(key)!.add(listener);
|
||||||
|
return () => listeners.get(key)?.delete(listener);
|
||||||
|
},
|
||||||
|
};
|
||||||
|
```
|
||||||
|
|
||||||
|
## React Hook for Storage
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
// hooks/use-storage.ts
|
||||||
|
import { useSyncExternalStore } from "react";
|
||||||
|
import { storage } from "@/utils/storage";
|
||||||
|
|
||||||
|
export function useStorage<T>(
|
||||||
|
key: string,
|
||||||
|
defaultValue: T
|
||||||
|
): [T, (value: T) => void] {
|
||||||
|
const value = useSyncExternalStore(
|
||||||
|
(cb) => storage.subscribe(key, cb),
|
||||||
|
() => storage.get(key, defaultValue)
|
||||||
|
);
|
||||||
|
|
||||||
|
return [value, (newValue: T) => storage.set(key, newValue)];
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Usage:
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
function Settings() {
|
||||||
|
const [theme, setTheme] = useStorage("theme", "light");
|
||||||
|
|
||||||
|
return (
|
||||||
|
<Switch
|
||||||
|
value={theme === "dark"}
|
||||||
|
onValueChange={(dark) => setTheme(dark ? "dark" : "light")}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Full SQLite for Complex Data
|
||||||
|
|
||||||
|
For larger datasets or complex queries, use expo-sqlite directly:
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import * as SQLite from "expo-sqlite";
|
||||||
|
|
||||||
|
const db = await SQLite.openDatabaseAsync("app.db");
|
||||||
|
|
||||||
|
// Create table
|
||||||
|
await db.execAsync(`
|
||||||
|
CREATE TABLE IF NOT EXISTS events (
|
||||||
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||||
|
title TEXT NOT NULL,
|
||||||
|
date TEXT NOT NULL,
|
||||||
|
location TEXT
|
||||||
|
)
|
||||||
|
`);
|
||||||
|
|
||||||
|
// Insert
|
||||||
|
await db.runAsync("INSERT INTO events (title, date) VALUES (?, ?)", [
|
||||||
|
"Meeting",
|
||||||
|
"2024-01-15",
|
||||||
|
]);
|
||||||
|
|
||||||
|
// Query
|
||||||
|
const events = await db.getAllAsync("SELECT * FROM events WHERE date > ?", [
|
||||||
|
"2024-01-01",
|
||||||
|
]);
|
||||||
|
```
|
||||||
|
|
@ -0,0 +1,198 @@
|
||||||
|
# Visual Effects
|
||||||
|
|
||||||
|
## Backdrop Blur
|
||||||
|
|
||||||
|
Use `expo-blur` for blur effects. Prefer systemMaterial tints as they adapt to dark mode.
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import { BlurView } from "expo-blur";
|
||||||
|
|
||||||
|
<BlurView tint="systemMaterial" intensity={100} />;
|
||||||
|
```
|
||||||
|
|
||||||
|
### Tint Options
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
// System materials (adapt to dark mode)
|
||||||
|
<BlurView tint="systemMaterial" />
|
||||||
|
<BlurView tint="systemThinMaterial" />
|
||||||
|
<BlurView tint="systemUltraThinMaterial" />
|
||||||
|
<BlurView tint="systemThickMaterial" />
|
||||||
|
<BlurView tint="systemChromeMaterial" />
|
||||||
|
|
||||||
|
// Basic tints
|
||||||
|
<BlurView tint="light" />
|
||||||
|
<BlurView tint="dark" />
|
||||||
|
<BlurView tint="default" />
|
||||||
|
|
||||||
|
// Prominent (more visible)
|
||||||
|
<BlurView tint="prominent" />
|
||||||
|
|
||||||
|
// Extra light/dark
|
||||||
|
<BlurView tint="extraLight" />
|
||||||
|
```
|
||||||
|
|
||||||
|
### Intensity
|
||||||
|
|
||||||
|
Control blur strength with `intensity` (0-100):
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
<BlurView tint="systemMaterial" intensity={50} /> // Subtle
|
||||||
|
<BlurView tint="systemMaterial" intensity={100} /> // Full
|
||||||
|
```
|
||||||
|
|
||||||
|
### Rounded Corners
|
||||||
|
|
||||||
|
BlurView requires `overflow: 'hidden'` to clip rounded corners:
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
<BlurView
|
||||||
|
tint="systemMaterial"
|
||||||
|
intensity={100}
|
||||||
|
style={{
|
||||||
|
borderRadius: 16,
|
||||||
|
overflow: 'hidden',
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
```
|
||||||
|
|
||||||
|
### Overlay Pattern
|
||||||
|
|
||||||
|
Common pattern for overlaying blur on content:
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
<View style={{ position: 'relative' }}>
|
||||||
|
<Image source={{ uri: '...' }} style={{ width: '100%', height: 200 }} />
|
||||||
|
<BlurView
|
||||||
|
tint="systemUltraThinMaterial"
|
||||||
|
intensity={80}
|
||||||
|
style={{
|
||||||
|
position: 'absolute',
|
||||||
|
bottom: 0,
|
||||||
|
left: 0,
|
||||||
|
right: 0,
|
||||||
|
padding: 16,
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<Text style={{ color: 'white' }}>Caption</Text>
|
||||||
|
</BlurView>
|
||||||
|
</View>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Glass Effects (iOS 26+)
|
||||||
|
|
||||||
|
Use `expo-glass-effect` for liquid glass backdrops on iOS 26+.
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import { GlassView } from "expo-glass-effect";
|
||||||
|
|
||||||
|
<GlassView style={{ borderRadius: 16, padding: 16 }}>
|
||||||
|
<Text>Content inside glass</Text>
|
||||||
|
</GlassView>
|
||||||
|
```
|
||||||
|
|
||||||
|
### Interactive Glass
|
||||||
|
|
||||||
|
Add `isInteractive` for buttons and pressable glass:
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import { GlassView } from "expo-glass-effect";
|
||||||
|
import { SymbolView } from "expo-symbols";
|
||||||
|
import { colors } from "@/theme/colors";
|
||||||
|
|
||||||
|
<GlassView isInteractive style={{ borderRadius: 50 }}>
|
||||||
|
<Pressable style={{ padding: 12 }} onPress={handlePress}>
|
||||||
|
<SymbolView name="plus" tintColor={colors.label} size={36} />
|
||||||
|
</Pressable>
|
||||||
|
</GlassView>
|
||||||
|
```
|
||||||
|
|
||||||
|
### Glass Buttons
|
||||||
|
|
||||||
|
Create liquid glass buttons:
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
function GlassButton({ icon, onPress }) {
|
||||||
|
return (
|
||||||
|
<GlassView isInteractive style={{ borderRadius: 50 }}>
|
||||||
|
<Pressable style={{ padding: 12 }} onPress={onPress}>
|
||||||
|
<SymbolView name={icon} tintColor={colors.label} size={24} />
|
||||||
|
</Pressable>
|
||||||
|
</GlassView>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Usage
|
||||||
|
<GlassButton icon="plus" onPress={handleAdd} />
|
||||||
|
<GlassButton icon="gear" onPress={handleSettings} />
|
||||||
|
```
|
||||||
|
|
||||||
|
### Glass Card
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
<GlassView style={{ borderRadius: 20, padding: 20 }}>
|
||||||
|
<Text style={{ fontSize: 18, fontWeight: '600', color: colors.label }}>
|
||||||
|
Card Title
|
||||||
|
</Text>
|
||||||
|
<Text style={{ color: colors.secondaryLabel, marginTop: 8 }}>
|
||||||
|
Card content goes here
|
||||||
|
</Text>
|
||||||
|
</GlassView>
|
||||||
|
```
|
||||||
|
|
||||||
|
### Checking Availability
|
||||||
|
|
||||||
|
Check both guards: `isLiquidGlassAvailable()` (OS support) and `isGlassEffectAPIAvailable()` — some iOS 26 beta versions lack the API and crash without the second check.
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import { isLiquidGlassAvailable, isGlassEffectAPIAvailable } from "expo-glass-effect";
|
||||||
|
|
||||||
|
const canUseGlass = isLiquidGlassAvailable() && isGlassEffectAPIAvailable();
|
||||||
|
```
|
||||||
|
|
||||||
|
### Fallback Pattern
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import { GlassView, isLiquidGlassAvailable, isGlassEffectAPIAvailable } from "expo-glass-effect";
|
||||||
|
import { BlurView } from "expo-blur";
|
||||||
|
|
||||||
|
function AdaptiveGlass({ children, style }) {
|
||||||
|
if (isLiquidGlassAvailable() && isGlassEffectAPIAvailable()) {
|
||||||
|
return <GlassView style={style}>{children}</GlassView>;
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<BlurView tint="systemMaterial" intensity={80} style={style}>
|
||||||
|
{children}
|
||||||
|
</BlurView>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
When the user has Reduce Transparency enabled (`AccessibilityInfo.isReduceTransparencyEnabled()`), skip glass *and* blur — render a solid `colors.systemBackground` surface instead.
|
||||||
|
|
||||||
|
## Sheet with Glass Background
|
||||||
|
|
||||||
|
Make sheet backgrounds liquid glass on iOS 26+:
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
<Stack.Screen
|
||||||
|
name="sheet"
|
||||||
|
options={{
|
||||||
|
presentation: "formSheet",
|
||||||
|
sheetGrabberVisible: true,
|
||||||
|
sheetAllowedDetents: [0.5, 1.0],
|
||||||
|
contentStyle: { backgroundColor: "transparent" },
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Best Practices
|
||||||
|
|
||||||
|
- Use `systemMaterial` tints for automatic dark mode support
|
||||||
|
- Always set `overflow: 'hidden'` on BlurView for rounded corners — but never on a `GlassView` or its ancestors: glass clips itself via `borderRadius` (+ `borderCurve`), and outside clipping cuts off the rim highlight and press bulge
|
||||||
|
- Use `isInteractive` on GlassView only for actual controls (buttons, pressables) — leave background surfaces non-interactive
|
||||||
|
- Check `isLiquidGlassAvailable()` **and** `isGlassEffectAPIAvailable()`, provide fallbacks, and respect Reduce Transparency with a solid surface
|
||||||
|
- Never animate opacity on a `GlassView` or an ancestor — animate content around a stable glass surface, or switch `glassEffectStyle` on the mounted view to change its look
|
||||||
|
- Avoid nesting blur views (performance impact)
|
||||||
|
- Keep blur intensity reasonable (50-100) for readability
|
||||||
|
|
@ -0,0 +1,605 @@
|
||||||
|
# WebGPU & Three.js for Expo
|
||||||
|
|
||||||
|
**Use this skill for ANY 3D graphics, games, GPU compute, or Three.js features in React Native.**
|
||||||
|
|
||||||
|
## Locked Versions (Tested & Working)
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"react-native-wgpu": "^0.4.1",
|
||||||
|
"three": "0.172.0",
|
||||||
|
"@react-three/fiber": "^9.4.0",
|
||||||
|
"wgpu-matrix": "^3.0.2",
|
||||||
|
"@types/three": "0.172.0"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
**Critical:** These versions are tested together. Mismatched versions cause type errors and runtime issues.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm install react-native-wgpu@^0.4.1 three@0.172.0 @react-three/fiber@^9.4.0 wgpu-matrix@^3.0.2 @types/three@0.172.0 --legacy-peer-deps
|
||||||
|
```
|
||||||
|
|
||||||
|
**Note:** `--legacy-peer-deps` may be required due to peer dependency conflicts with canary Expo versions.
|
||||||
|
|
||||||
|
## Metro Configuration
|
||||||
|
|
||||||
|
Create `metro.config.js` in project root:
|
||||||
|
|
||||||
|
```js
|
||||||
|
const { getDefaultConfig } = require("expo/metro-config");
|
||||||
|
|
||||||
|
const config = getDefaultConfig(__dirname);
|
||||||
|
|
||||||
|
config.resolver.resolveRequest = (context, moduleName, platform) => {
|
||||||
|
// Force 'three' to webgpu build
|
||||||
|
if (moduleName.startsWith("three")) {
|
||||||
|
moduleName = "three/webgpu";
|
||||||
|
}
|
||||||
|
|
||||||
|
// Use standard react-three/fiber instead of React Native version
|
||||||
|
if (platform !== "web" && moduleName.startsWith("@react-three/fiber")) {
|
||||||
|
return context.resolveRequest(
|
||||||
|
{
|
||||||
|
...context,
|
||||||
|
unstable_conditionNames: ["module"],
|
||||||
|
mainFields: ["module"],
|
||||||
|
},
|
||||||
|
moduleName,
|
||||||
|
platform
|
||||||
|
);
|
||||||
|
}
|
||||||
|
return context.resolveRequest(context, moduleName, platform);
|
||||||
|
};
|
||||||
|
|
||||||
|
module.exports = config;
|
||||||
|
```
|
||||||
|
|
||||||
|
## Required Lib Files
|
||||||
|
|
||||||
|
Create these files in `src/lib/`:
|
||||||
|
|
||||||
|
### 1. make-webgpu-renderer.ts
|
||||||
|
|
||||||
|
```ts
|
||||||
|
import type { NativeCanvas } from "react-native-wgpu";
|
||||||
|
import * as THREE from "three/webgpu";
|
||||||
|
|
||||||
|
export class ReactNativeCanvas {
|
||||||
|
constructor(private canvas: NativeCanvas) {}
|
||||||
|
|
||||||
|
get width() {
|
||||||
|
return this.canvas.width;
|
||||||
|
}
|
||||||
|
get height() {
|
||||||
|
return this.canvas.height;
|
||||||
|
}
|
||||||
|
set width(width: number) {
|
||||||
|
this.canvas.width = width;
|
||||||
|
}
|
||||||
|
set height(height: number) {
|
||||||
|
this.canvas.height = height;
|
||||||
|
}
|
||||||
|
get clientWidth() {
|
||||||
|
return this.canvas.width;
|
||||||
|
}
|
||||||
|
get clientHeight() {
|
||||||
|
return this.canvas.height;
|
||||||
|
}
|
||||||
|
set clientWidth(width: number) {
|
||||||
|
this.canvas.width = width;
|
||||||
|
}
|
||||||
|
set clientHeight(height: number) {
|
||||||
|
this.canvas.height = height;
|
||||||
|
}
|
||||||
|
|
||||||
|
addEventListener(_type: string, _listener: EventListener) {}
|
||||||
|
removeEventListener(_type: string, _listener: EventListener) {}
|
||||||
|
dispatchEvent(_event: Event) {}
|
||||||
|
setPointerCapture() {}
|
||||||
|
releasePointerCapture() {}
|
||||||
|
}
|
||||||
|
|
||||||
|
export const makeWebGPURenderer = (
|
||||||
|
context: GPUCanvasContext,
|
||||||
|
{ antialias = true }: { antialias?: boolean } = {}
|
||||||
|
) =>
|
||||||
|
new THREE.WebGPURenderer({
|
||||||
|
antialias,
|
||||||
|
// @ts-expect-error
|
||||||
|
canvas: new ReactNativeCanvas(context.canvas),
|
||||||
|
context,
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
### 2. fiber-canvas.tsx
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import * as THREE from "three/webgpu";
|
||||||
|
import React, { useEffect, useRef } from "react";
|
||||||
|
import type { ReconcilerRoot, RootState } from "@react-three/fiber";
|
||||||
|
import {
|
||||||
|
extend,
|
||||||
|
createRoot,
|
||||||
|
unmountComponentAtNode,
|
||||||
|
events,
|
||||||
|
} from "@react-three/fiber";
|
||||||
|
import type { ViewProps } from "react-native";
|
||||||
|
import { PixelRatio } from "react-native";
|
||||||
|
import { Canvas, type CanvasRef } from "react-native-wgpu";
|
||||||
|
|
||||||
|
import {
|
||||||
|
makeWebGPURenderer,
|
||||||
|
ReactNativeCanvas,
|
||||||
|
} from "@/lib/make-webgpu-renderer";
|
||||||
|
|
||||||
|
// Extend THREE namespace for R3F - add all components you use
|
||||||
|
extend({
|
||||||
|
AmbientLight: THREE.AmbientLight,
|
||||||
|
DirectionalLight: THREE.DirectionalLight,
|
||||||
|
PointLight: THREE.PointLight,
|
||||||
|
SpotLight: THREE.SpotLight,
|
||||||
|
Mesh: THREE.Mesh,
|
||||||
|
Group: THREE.Group,
|
||||||
|
Points: THREE.Points,
|
||||||
|
BoxGeometry: THREE.BoxGeometry,
|
||||||
|
SphereGeometry: THREE.SphereGeometry,
|
||||||
|
CylinderGeometry: THREE.CylinderGeometry,
|
||||||
|
ConeGeometry: THREE.ConeGeometry,
|
||||||
|
DodecahedronGeometry: THREE.DodecahedronGeometry,
|
||||||
|
BufferGeometry: THREE.BufferGeometry,
|
||||||
|
BufferAttribute: THREE.BufferAttribute,
|
||||||
|
MeshStandardMaterial: THREE.MeshStandardMaterial,
|
||||||
|
MeshBasicMaterial: THREE.MeshBasicMaterial,
|
||||||
|
PointsMaterial: THREE.PointsMaterial,
|
||||||
|
PerspectiveCamera: THREE.PerspectiveCamera,
|
||||||
|
Scene: THREE.Scene,
|
||||||
|
});
|
||||||
|
|
||||||
|
interface FiberCanvasProps {
|
||||||
|
children: React.ReactNode;
|
||||||
|
style?: ViewProps["style"];
|
||||||
|
camera?: THREE.PerspectiveCamera;
|
||||||
|
scene?: THREE.Scene;
|
||||||
|
}
|
||||||
|
|
||||||
|
export const FiberCanvas = ({
|
||||||
|
children,
|
||||||
|
style,
|
||||||
|
scene,
|
||||||
|
camera,
|
||||||
|
}: FiberCanvasProps) => {
|
||||||
|
const root = useRef<ReconcilerRoot<OffscreenCanvas>>(null!);
|
||||||
|
const canvasRef = useRef<CanvasRef>(null);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
const context = canvasRef.current!.getContext("webgpu")!;
|
||||||
|
const renderer = makeWebGPURenderer(context);
|
||||||
|
|
||||||
|
// @ts-expect-error - ReactNativeCanvas wraps native canvas
|
||||||
|
const canvas = new ReactNativeCanvas(context.canvas) as HTMLCanvasElement;
|
||||||
|
canvas.width = canvas.clientWidth * PixelRatio.get();
|
||||||
|
canvas.height = canvas.clientHeight * PixelRatio.get();
|
||||||
|
const size = {
|
||||||
|
top: 0,
|
||||||
|
left: 0,
|
||||||
|
width: canvas.clientWidth,
|
||||||
|
height: canvas.clientHeight,
|
||||||
|
};
|
||||||
|
|
||||||
|
if (!root.current) {
|
||||||
|
root.current = createRoot(canvas);
|
||||||
|
}
|
||||||
|
root.current.configure({
|
||||||
|
size,
|
||||||
|
events,
|
||||||
|
scene,
|
||||||
|
camera,
|
||||||
|
gl: renderer,
|
||||||
|
frameloop: "always",
|
||||||
|
dpr: 1,
|
||||||
|
onCreated: async (state: RootState) => {
|
||||||
|
// @ts-expect-error - WebGPU renderer has init method
|
||||||
|
await state.gl.init();
|
||||||
|
const renderFrame = state.gl.render.bind(state.gl);
|
||||||
|
state.gl.render = (s: THREE.Scene, c: THREE.Camera) => {
|
||||||
|
renderFrame(s, c);
|
||||||
|
context?.present();
|
||||||
|
};
|
||||||
|
},
|
||||||
|
});
|
||||||
|
root.current.render(children);
|
||||||
|
return () => {
|
||||||
|
if (canvas != null) {
|
||||||
|
unmountComponentAtNode(canvas!);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
|
return <Canvas ref={canvasRef} style={style} />;
|
||||||
|
};
|
||||||
|
```
|
||||||
|
|
||||||
|
## Basic 3D Scene
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import * as THREE from "three/webgpu";
|
||||||
|
import { View } from "react-native";
|
||||||
|
import { useRef } from "react";
|
||||||
|
import { useFrame, useThree } from "@react-three/fiber";
|
||||||
|
import { FiberCanvas } from "@/lib/fiber-canvas";
|
||||||
|
|
||||||
|
function RotatingBox() {
|
||||||
|
const ref = useRef<THREE.Mesh>(null!);
|
||||||
|
|
||||||
|
useFrame((_, delta) => {
|
||||||
|
ref.current.rotation.x += delta;
|
||||||
|
ref.current.rotation.y += delta * 0.5;
|
||||||
|
});
|
||||||
|
|
||||||
|
return (
|
||||||
|
<mesh ref={ref}>
|
||||||
|
<boxGeometry args={[1, 1, 1]} />
|
||||||
|
<meshStandardMaterial color="hotpink" />
|
||||||
|
</mesh>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function Scene() {
|
||||||
|
const { camera } = useThree();
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
camera.position.set(0, 2, 5);
|
||||||
|
camera.lookAt(0, 0, 0);
|
||||||
|
}, [camera]);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ambientLight intensity={0.5} />
|
||||||
|
<directionalLight position={[10, 10, 5]} intensity={1} />
|
||||||
|
<RotatingBox />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default function App() {
|
||||||
|
return (
|
||||||
|
<View style={{ flex: 1 }}>
|
||||||
|
<FiberCanvas style={{ flex: 1 }}>
|
||||||
|
<Scene />
|
||||||
|
</FiberCanvas>
|
||||||
|
</View>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Lazy Loading (Recommended)
|
||||||
|
|
||||||
|
Use React.lazy to code-split Three.js for better loading:
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import React, { Suspense } from "react";
|
||||||
|
import { ActivityIndicator, View } from "react-native";
|
||||||
|
|
||||||
|
const Scene = React.lazy(() => import("@/components/scene"));
|
||||||
|
|
||||||
|
export default function Page() {
|
||||||
|
return (
|
||||||
|
<View style={{ flex: 1 }}>
|
||||||
|
<Suspense fallback={<ActivityIndicator size="large" />}>
|
||||||
|
<Scene />
|
||||||
|
</Suspense>
|
||||||
|
</View>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Common Geometries
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
// Box
|
||||||
|
<mesh>
|
||||||
|
<boxGeometry args={[width, height, depth]} />
|
||||||
|
<meshStandardMaterial color="red" />
|
||||||
|
</mesh>
|
||||||
|
|
||||||
|
// Sphere
|
||||||
|
<mesh>
|
||||||
|
<sphereGeometry args={[radius, widthSegments, heightSegments]} />
|
||||||
|
<meshStandardMaterial color="blue" />
|
||||||
|
</mesh>
|
||||||
|
|
||||||
|
// Cylinder
|
||||||
|
<mesh>
|
||||||
|
<cylinderGeometry args={[radiusTop, radiusBottom, height, segments]} />
|
||||||
|
<meshStandardMaterial color="green" />
|
||||||
|
</mesh>
|
||||||
|
|
||||||
|
// Cone
|
||||||
|
<mesh>
|
||||||
|
<coneGeometry args={[radius, height, segments]} />
|
||||||
|
<meshStandardMaterial color="yellow" />
|
||||||
|
</mesh>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Lighting
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
// Ambient (uniform light everywhere)
|
||||||
|
<ambientLight intensity={0.5} />
|
||||||
|
|
||||||
|
// Directional (sun-like)
|
||||||
|
<directionalLight position={[10, 10, 5]} intensity={1} />
|
||||||
|
|
||||||
|
// Point (light bulb)
|
||||||
|
<pointLight position={[0, 5, 0]} intensity={2} distance={10} />
|
||||||
|
|
||||||
|
// Spot (flashlight)
|
||||||
|
<spotLight position={[0, 10, 0]} angle={0.3} penumbra={1} intensity={2} />
|
||||||
|
```
|
||||||
|
|
||||||
|
## Animation with useFrame
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import { useFrame } from "@react-three/fiber";
|
||||||
|
import { useRef } from "react";
|
||||||
|
import * as THREE from "three/webgpu";
|
||||||
|
|
||||||
|
function AnimatedMesh() {
|
||||||
|
const ref = useRef<THREE.Mesh>(null!);
|
||||||
|
|
||||||
|
// Runs every frame - delta is time since last frame
|
||||||
|
useFrame((state, delta) => {
|
||||||
|
// Rotate
|
||||||
|
ref.current.rotation.y += delta;
|
||||||
|
|
||||||
|
// Oscillate position
|
||||||
|
ref.current.position.y = Math.sin(state.clock.elapsedTime) * 2;
|
||||||
|
});
|
||||||
|
|
||||||
|
return (
|
||||||
|
<mesh ref={ref}>
|
||||||
|
<boxGeometry />
|
||||||
|
<meshStandardMaterial color="orange" />
|
||||||
|
</mesh>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Particle Systems
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import * as THREE from "three/webgpu";
|
||||||
|
import { useRef, useEffect } from "react";
|
||||||
|
import { useFrame } from "@react-three/fiber";
|
||||||
|
|
||||||
|
function Particles({ count = 500 }) {
|
||||||
|
const ref = useRef<THREE.Points>(null!);
|
||||||
|
const positions = useRef<Float32Array>(new Float32Array(count * 3));
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
for (let i = 0; i < count; i++) {
|
||||||
|
positions.current[i * 3] = (Math.random() - 0.5) * 50;
|
||||||
|
positions.current[i * 3 + 1] = (Math.random() - 0.5) * 50;
|
||||||
|
positions.current[i * 3 + 2] = (Math.random() - 0.5) * 50;
|
||||||
|
}
|
||||||
|
}, [count]);
|
||||||
|
|
||||||
|
useFrame((_, delta) => {
|
||||||
|
// Animate particles
|
||||||
|
for (let i = 0; i < count; i++) {
|
||||||
|
positions.current[i * 3 + 1] -= delta * 2;
|
||||||
|
if (positions.current[i * 3 + 1] < -25) {
|
||||||
|
positions.current[i * 3 + 1] = 25;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
ref.current.geometry.attributes.position.needsUpdate = true;
|
||||||
|
});
|
||||||
|
|
||||||
|
return (
|
||||||
|
<points ref={ref}>
|
||||||
|
<bufferGeometry>
|
||||||
|
<bufferAttribute
|
||||||
|
attach="attributes-position"
|
||||||
|
args={[positions.current, 3]}
|
||||||
|
/>
|
||||||
|
</bufferGeometry>
|
||||||
|
<pointsMaterial color="#ffffff" size={0.2} sizeAttenuation />
|
||||||
|
</points>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Touch Controls (Orbit)
|
||||||
|
|
||||||
|
See the full `orbit-controls.tsx` implementation in the lib files. Usage:
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import { View } from "react-native";
|
||||||
|
import { FiberCanvas } from "@/lib/fiber-canvas";
|
||||||
|
import useControls from "@/lib/orbit-controls";
|
||||||
|
|
||||||
|
function Scene() {
|
||||||
|
const [OrbitControls, events] = useControls();
|
||||||
|
|
||||||
|
return (
|
||||||
|
<View style={{ flex: 1 }} {...events}>
|
||||||
|
<FiberCanvas style={{ flex: 1 }}>
|
||||||
|
<OrbitControls />
|
||||||
|
{/* Your 3D content */}
|
||||||
|
</FiberCanvas>
|
||||||
|
</View>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Common Issues & Solutions
|
||||||
|
|
||||||
|
### 1. "X is not part of the THREE namespace"
|
||||||
|
|
||||||
|
**Problem:** Error like `AmbientLight is not part of the THREE namespace`
|
||||||
|
|
||||||
|
**Solution:** Add the missing component to the `extend()` call in fiber-canvas.tsx:
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
extend({
|
||||||
|
AmbientLight: THREE.AmbientLight,
|
||||||
|
// Add other missing components...
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
### 2. TypeScript Errors with Three.js
|
||||||
|
|
||||||
|
**Problem:** Type mismatches between three.js and R3F
|
||||||
|
|
||||||
|
**Solution:** Use `@ts-expect-error` comments where needed:
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
// @ts-expect-error - WebGPU renderer types don't match
|
||||||
|
await state.gl.init();
|
||||||
|
```
|
||||||
|
|
||||||
|
### 3. Blank Screen
|
||||||
|
|
||||||
|
**Problem:** Canvas renders but nothing visible
|
||||||
|
|
||||||
|
**Solution:**
|
||||||
|
|
||||||
|
1. Ensure camera is positioned correctly and looking at scene
|
||||||
|
2. Add lighting (objects are black without light)
|
||||||
|
3. Check that `extend()` includes all components used
|
||||||
|
|
||||||
|
### 4. Performance Issues
|
||||||
|
|
||||||
|
**Problem:** Low frame rate or stuttering
|
||||||
|
|
||||||
|
**Solution:**
|
||||||
|
|
||||||
|
- Reduce polygon count in geometries
|
||||||
|
- Use `useMemo` for static data
|
||||||
|
- Limit particle count
|
||||||
|
- Use `instancedMesh` for many identical objects
|
||||||
|
|
||||||
|
### 5. Peer Dependency Errors
|
||||||
|
|
||||||
|
**Problem:** npm install fails with ERESOLVE
|
||||||
|
|
||||||
|
**Solution:** Use `--legacy-peer-deps`:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm install <packages> --legacy-peer-deps
|
||||||
|
```
|
||||||
|
|
||||||
|
## Building
|
||||||
|
|
||||||
|
WebGPU requires a custom build:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npx expo prebuild
|
||||||
|
npx expo run:ios
|
||||||
|
```
|
||||||
|
|
||||||
|
**Note:** WebGPU does NOT work in Expo Go.
|
||||||
|
|
||||||
|
## File Structure
|
||||||
|
|
||||||
|
```
|
||||||
|
src/
|
||||||
|
├── app/
|
||||||
|
│ └── index.tsx # Entry point with lazy loading
|
||||||
|
├── components/
|
||||||
|
│ ├── scene.tsx # Main 3D scene
|
||||||
|
│ └── game.tsx # Game logic
|
||||||
|
└── lib/
|
||||||
|
├── fiber-canvas.tsx # R3F canvas wrapper
|
||||||
|
├── make-webgpu-renderer.ts # WebGPU renderer
|
||||||
|
└── orbit-controls.tsx # Touch controls
|
||||||
|
```
|
||||||
|
|
||||||
|
## Decision Tree
|
||||||
|
|
||||||
|
```
|
||||||
|
Need 3D graphics?
|
||||||
|
├── Simple shapes → mesh + geometry + material
|
||||||
|
├── Animated objects → useFrame + refs
|
||||||
|
├── Many objects → instancedMesh
|
||||||
|
├── Particles → Points + BufferGeometry
|
||||||
|
│
|
||||||
|
Need interaction?
|
||||||
|
├── Orbit camera → useControls hook
|
||||||
|
├── Touch objects → onClick on mesh
|
||||||
|
├── Gestures → react-native-gesture-handler
|
||||||
|
│
|
||||||
|
Performance critical?
|
||||||
|
├── Static geometry → useMemo
|
||||||
|
├── Many instances → InstancedMesh
|
||||||
|
└── Complex scenes → LOD (Level of Detail)
|
||||||
|
```
|
||||||
|
|
||||||
|
## Example: Complete Game Scene
|
||||||
|
|
||||||
|
```tsx
|
||||||
|
import * as THREE from "three/webgpu";
|
||||||
|
import { View, Text, Pressable } from "react-native";
|
||||||
|
import { useRef, useState, useCallback } from "react";
|
||||||
|
import { useFrame, useThree } from "@react-three/fiber";
|
||||||
|
import { FiberCanvas } from "@/lib/fiber-canvas";
|
||||||
|
|
||||||
|
function Player({ position }: { position: THREE.Vector3 }) {
|
||||||
|
const ref = useRef<THREE.Mesh>(null!);
|
||||||
|
|
||||||
|
useFrame(() => {
|
||||||
|
ref.current.position.copy(position);
|
||||||
|
});
|
||||||
|
|
||||||
|
return (
|
||||||
|
<mesh ref={ref}>
|
||||||
|
<coneGeometry args={[0.5, 1, 8]} />
|
||||||
|
<meshStandardMaterial color="#00ffff" />
|
||||||
|
</mesh>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function GameScene({ playerX }: { playerX: number }) {
|
||||||
|
const { camera } = useThree();
|
||||||
|
const playerPos = useRef(new THREE.Vector3(0, 0, 0));
|
||||||
|
|
||||||
|
playerPos.current.x = playerX;
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
camera.position.set(0, 10, 15);
|
||||||
|
camera.lookAt(0, 0, 0);
|
||||||
|
}, [camera]);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ambientLight intensity={0.5} />
|
||||||
|
<directionalLight position={[5, 10, 5]} />
|
||||||
|
<Player position={playerPos.current} />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default function Game() {
|
||||||
|
const [playerX, setPlayerX] = useState(0);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<View style={{ flex: 1, backgroundColor: "#000" }}>
|
||||||
|
<FiberCanvas style={{ flex: 1 }}>
|
||||||
|
<GameScene playerX={playerX} />
|
||||||
|
</FiberCanvas>
|
||||||
|
|
||||||
|
<View style={{ position: "absolute", bottom: 40, flexDirection: "row" }}>
|
||||||
|
<Pressable onPress={() => setPlayerX((x) => x - 1)}>
|
||||||
|
<Text style={{ color: "#fff", fontSize: 32 }}>◀</Text>
|
||||||
|
</Pressable>
|
||||||
|
<Pressable onPress={() => setPlayerX((x) => x + 1)}>
|
||||||
|
<Text style={{ color: "#fff", fontSize: 32 }}>▶</Text>
|
||||||
|
</Pressable>
|
||||||
|
</View>
|
||||||
|
</View>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
```
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue