Initial commit: Add Home Assistant skill
- Add homeassistant.skill (packaged version) - Add skills/homeassistant source directory - Include scripts for API interaction and validation - Add comprehensive reference documentation - Include automation templates - Add README and .gitignore
This commit is contained in:
17
.gitignore
vendored
Normal file
17
.gitignore
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# macOS
|
||||||
|
.DS_Store
|
||||||
|
.AppleDouble
|
||||||
|
.LSOverride
|
||||||
|
|
||||||
|
# Python
|
||||||
|
__pycache__/
|
||||||
|
*.py[cod]
|
||||||
|
*$py.class
|
||||||
|
*.so
|
||||||
|
.Python
|
||||||
|
env/
|
||||||
|
venv/
|
||||||
|
*.egg-info/
|
||||||
|
|
||||||
|
# Claude
|
||||||
|
.claude/
|
||||||
65
README.md
Normal file
65
README.md
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
# Claude Skills Collection
|
||||||
|
|
||||||
|
This repository contains custom Claude Code skills for various use cases.
|
||||||
|
|
||||||
|
## Available Skills
|
||||||
|
|
||||||
|
### Home Assistant Skill
|
||||||
|
|
||||||
|
**Location:** `homeassistant.skill` (packaged) or `skills/homeassistant/` (source)
|
||||||
|
|
||||||
|
Comprehensive Home Assistant smart home automation toolkit that helps with:
|
||||||
|
- Creating and editing automations in YAML
|
||||||
|
- Controlling and querying devices via the Home Assistant API
|
||||||
|
- Writing and validating configuration files
|
||||||
|
- Troubleshooting automation and configuration issues
|
||||||
|
- Understanding Home Assistant concepts (triggers, conditions, actions)
|
||||||
|
|
||||||
|
**Features:**
|
||||||
|
- Python scripts for API interaction
|
||||||
|
- YAML validation tools
|
||||||
|
- Pre-built automation templates
|
||||||
|
- Comprehensive reference documentation
|
||||||
|
- Troubleshooting guides
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
### As Personal Skill (recommended)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Extract and install to personal skills directory
|
||||||
|
mkdir -p ~/.claude/skills/homeassistant
|
||||||
|
unzip homeassistant.skill -d ~/.claude/skills/
|
||||||
|
mv ~/.claude/skills/homeassistant/homeassistant/* ~/.claude/skills/homeassistant/
|
||||||
|
rmdir ~/.claude/skills/homeassistant/homeassistant
|
||||||
|
```
|
||||||
|
|
||||||
|
### As Project Skill
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Extract and install to project skills directory
|
||||||
|
mkdir -p .claude/skills/homeassistant
|
||||||
|
unzip homeassistant.skill -d .claude/skills/
|
||||||
|
mv .claude/skills/homeassistant/homeassistant/* .claude/skills/homeassistant/
|
||||||
|
rmdir .claude/skills/homeassistant/homeassistant
|
||||||
|
```
|
||||||
|
|
||||||
|
## Skill Structure
|
||||||
|
|
||||||
|
Skills in this repository include:
|
||||||
|
- `SKILL.md` - Main skill documentation with YAML frontmatter
|
||||||
|
- `scripts/` - Executable Python/Bash scripts
|
||||||
|
- `references/` - Detailed documentation loaded as needed
|
||||||
|
- `assets/` - Templates and resources for output
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Skills are automatically activated by Claude Code when relevant to your request. No manual invocation needed.
|
||||||
|
|
||||||
|
## Contributing
|
||||||
|
|
||||||
|
This is a personal skill collection. Feel free to fork and adapt for your own use.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
See individual skill directories for licensing information.
|
||||||
BIN
homeassistant.skill
Normal file
BIN
homeassistant.skill
Normal file
Binary file not shown.
202
skills/algorithmic-art/LICENSE.txt
Normal file
202
skills/algorithmic-art/LICENSE.txt
Normal file
@@ -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 [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
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.
|
||||||
405
skills/algorithmic-art/SKILL.md
Normal file
405
skills/algorithmic-art/SKILL.md
Normal file
@@ -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
|
||||||
223
skills/algorithmic-art/templates/generator_template.js
Normal file
223
skills/algorithmic-art/templates/generator_template.js
Normal file
@@ -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!
|
||||||
|
//
|
||||||
|
// ============================================================================
|
||||||
599
skills/algorithmic-art/templates/viewer.html
Normal file
599
skills/algorithmic-art/templates/viewer.html
Normal file
@@ -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>
|
||||||
202
skills/brand-guidelines/LICENSE.txt
Normal file
202
skills/brand-guidelines/LICENSE.txt
Normal file
@@ -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 [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
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.
|
||||||
73
skills/brand-guidelines/SKILL.md
Normal file
73
skills/brand-guidelines/SKILL.md
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
---
|
||||||
|
name: brand-guidelines
|
||||||
|
description: Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
|
||||||
|
license: Complete terms in LICENSE.txt
|
||||||
|
---
|
||||||
|
|
||||||
|
# Anthropic Brand Styling
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
To access Anthropic's official brand identity and style resources, use this skill.
|
||||||
|
|
||||||
|
**Keywords**: branding, corporate identity, visual identity, post-processing, styling, brand colors, typography, Anthropic brand, visual formatting, visual design
|
||||||
|
|
||||||
|
## Brand Guidelines
|
||||||
|
|
||||||
|
### Colors
|
||||||
|
|
||||||
|
**Main Colors:**
|
||||||
|
|
||||||
|
- Dark: `#141413` - Primary text and dark backgrounds
|
||||||
|
- Light: `#faf9f5` - Light backgrounds and text on dark
|
||||||
|
- Mid Gray: `#b0aea5` - Secondary elements
|
||||||
|
- Light Gray: `#e8e6dc` - Subtle backgrounds
|
||||||
|
|
||||||
|
**Accent Colors:**
|
||||||
|
|
||||||
|
- Orange: `#d97757` - Primary accent
|
||||||
|
- Blue: `#6a9bcc` - Secondary accent
|
||||||
|
- Green: `#788c5d` - Tertiary accent
|
||||||
|
|
||||||
|
### Typography
|
||||||
|
|
||||||
|
- **Headings**: Poppins (with Arial fallback)
|
||||||
|
- **Body Text**: Lora (with Georgia fallback)
|
||||||
|
- **Note**: Fonts should be pre-installed in your environment for best results
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
### Smart Font Application
|
||||||
|
|
||||||
|
- Applies Poppins font to headings (24pt and larger)
|
||||||
|
- Applies Lora font to body text
|
||||||
|
- Automatically falls back to Arial/Georgia if custom fonts unavailable
|
||||||
|
- Preserves readability across all systems
|
||||||
|
|
||||||
|
### Text Styling
|
||||||
|
|
||||||
|
- Headings (24pt+): Poppins font
|
||||||
|
- Body text: Lora font
|
||||||
|
- Smart color selection based on background
|
||||||
|
- Preserves text hierarchy and formatting
|
||||||
|
|
||||||
|
### Shape and Accent Colors
|
||||||
|
|
||||||
|
- Non-text shapes use accent colors
|
||||||
|
- Cycles through orange, blue, and green accents
|
||||||
|
- Maintains visual interest while staying on-brand
|
||||||
|
|
||||||
|
## Technical Details
|
||||||
|
|
||||||
|
### Font Management
|
||||||
|
|
||||||
|
- Uses system-installed Poppins and Lora fonts when available
|
||||||
|
- Provides automatic fallback to Arial (headings) and Georgia (body)
|
||||||
|
- No font installation required - works with existing system fonts
|
||||||
|
- For best results, pre-install Poppins and Lora fonts in your environment
|
||||||
|
|
||||||
|
### Color Application
|
||||||
|
|
||||||
|
- Uses RGB color values for precise brand matching
|
||||||
|
- Applied via python-pptx's RGBColor class
|
||||||
|
- Maintains color fidelity across different systems
|
||||||
202
skills/canvas-design/LICENSE.txt
Normal file
202
skills/canvas-design/LICENSE.txt
Normal file
@@ -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 [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
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.
|
||||||
130
skills/canvas-design/SKILL.md
Normal file
130
skills/canvas-design/SKILL.md
Normal file
@@ -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.
|
||||||
93
skills/canvas-design/canvas-fonts/ArsenalSC-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/ArsenalSC-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/ArsenalSC-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/ArsenalSC-Regular.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/BigShoulders-Bold.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/BigShoulders-Bold.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/BigShoulders-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/BigShoulders-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/BigShoulders-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/BigShoulders-Regular.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/Boldonse-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/Boldonse-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/Boldonse-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/Boldonse-Regular.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/CrimsonPro-Bold.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/CrimsonPro-Bold.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/CrimsonPro-Italic.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/CrimsonPro-Italic.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/CrimsonPro-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/CrimsonPro-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/CrimsonPro-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/CrimsonPro-Regular.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/DMMono-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/DMMono-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/DMMono-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/DMMono-Regular.ttf
Normal file
Binary file not shown.
94
skills/canvas-design/canvas-fonts/EricaOne-OFL.txt
Normal file
94
skills/canvas-design/canvas-fonts/EricaOne-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/EricaOne-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/EricaOne-Regular.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/GeistMono-Bold.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/GeistMono-Bold.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/GeistMono-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/GeistMono-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/GeistMono-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/GeistMono-Regular.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/Gloock-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/Gloock-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/Gloock-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/Gloock-Regular.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/IBMPlexMono-Bold.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/IBMPlexMono-Bold.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/IBMPlexMono-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/IBMPlexMono-Regular.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/IBMPlexSerif-Bold.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/IBMPlexSerif-Bold.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/IBMPlexSerif-BoldItalic.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/IBMPlexSerif-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/IBMPlexSerif-Italic.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/IBMPlexSerif-Italic.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/IBMPlexSerif-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/IBMPlexSerif-Regular.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/InstrumentSans-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/InstrumentSans-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/Italiana-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/Italiana-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/Italiana-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/Italiana-Regular.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/Jura-Light.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/Jura-Light.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/Jura-Medium.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/Jura-Medium.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/Jura-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/Jura-OFL.txt
Normal file
@@ -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.
|
||||||
93
skills/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/LibreBaskerville-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/LibreBaskerville-Regular.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/Lora-Bold.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/Lora-Bold.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/Lora-BoldItalic.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/Lora-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/Lora-Italic.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/Lora-Italic.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/Lora-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/Lora-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/Lora-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/Lora-Regular.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/NationalPark-Bold.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/NationalPark-Bold.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/NationalPark-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/NationalPark-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/NationalPark-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/NationalPark-Regular.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/Outfit-Bold.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/Outfit-Bold.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/Outfit-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/Outfit-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/Outfit-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/Outfit-Regular.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/PixelifySans-Medium.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/PixelifySans-Medium.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/PixelifySans-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/PixelifySans-OFL.txt
Normal file
@@ -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.
|
||||||
93
skills/canvas-design/canvas-fonts/PoiretOne-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/PoiretOne-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/PoiretOne-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/PoiretOne-Regular.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/RedHatMono-Bold.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/RedHatMono-Bold.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/RedHatMono-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/RedHatMono-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/RedHatMono-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/RedHatMono-Regular.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/Silkscreen-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/Silkscreen-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/Silkscreen-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/Silkscreen-Regular.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/SmoochSans-Medium.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/SmoochSans-Medium.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/SmoochSans-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/SmoochSans-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/Tektur-Medium.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/Tektur-Medium.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/Tektur-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/Tektur-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/Tektur-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/Tektur-Regular.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/WorkSans-Bold.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/WorkSans-Bold.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/WorkSans-BoldItalic.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/WorkSans-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
skills/canvas-design/canvas-fonts/WorkSans-Italic.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/WorkSans-Italic.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/WorkSans-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/WorkSans-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/WorkSans-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/WorkSans-Regular.ttf
Normal file
Binary file not shown.
93
skills/canvas-design/canvas-fonts/YoungSerif-OFL.txt
Normal file
93
skills/canvas-design/canvas-fonts/YoungSerif-OFL.txt
Normal file
@@ -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.
|
||||||
BIN
skills/canvas-design/canvas-fonts/YoungSerif-Regular.ttf
Normal file
BIN
skills/canvas-design/canvas-fonts/YoungSerif-Regular.ttf
Normal file
Binary file not shown.
375
skills/doc-coauthoring/SKILL.md
Normal file
375
skills/doc-coauthoring/SKILL.md
Normal file
@@ -0,0 +1,375 @@
|
|||||||
|
---
|
||||||
|
name: doc-coauthoring
|
||||||
|
description: Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.
|
||||||
|
---
|
||||||
|
|
||||||
|
# Doc Co-Authoring Workflow
|
||||||
|
|
||||||
|
This skill provides a structured workflow for guiding users through collaborative document creation. Act as an active guide, walking users through three stages: Context Gathering, Refinement & Structure, and Reader Testing.
|
||||||
|
|
||||||
|
## When to Offer This Workflow
|
||||||
|
|
||||||
|
**Trigger conditions:**
|
||||||
|
- User mentions writing documentation: "write a doc", "draft a proposal", "create a spec", "write up"
|
||||||
|
- User mentions specific doc types: "PRD", "design doc", "decision doc", "RFC"
|
||||||
|
- User seems to be starting a substantial writing task
|
||||||
|
|
||||||
|
**Initial offer:**
|
||||||
|
Offer the user a structured workflow for co-authoring the document. Explain the three stages:
|
||||||
|
|
||||||
|
1. **Context Gathering**: User provides all relevant context while Claude asks clarifying questions
|
||||||
|
2. **Refinement & Structure**: Iteratively build each section through brainstorming and editing
|
||||||
|
3. **Reader Testing**: Test the doc with a fresh Claude (no context) to catch blind spots before others read it
|
||||||
|
|
||||||
|
Explain that this approach helps ensure the doc works well when others read it (including when they paste it into Claude). Ask if they want to try this workflow or prefer to work freeform.
|
||||||
|
|
||||||
|
If user declines, work freeform. If user accepts, proceed to Stage 1.
|
||||||
|
|
||||||
|
## Stage 1: Context Gathering
|
||||||
|
|
||||||
|
**Goal:** Close the gap between what the user knows and what Claude knows, enabling smart guidance later.
|
||||||
|
|
||||||
|
### Initial Questions
|
||||||
|
|
||||||
|
Start by asking the user for meta-context about the document:
|
||||||
|
|
||||||
|
1. What type of document is this? (e.g., technical spec, decision doc, proposal)
|
||||||
|
2. Who's the primary audience?
|
||||||
|
3. What's the desired impact when someone reads this?
|
||||||
|
4. Is there a template or specific format to follow?
|
||||||
|
5. Any other constraints or context to know?
|
||||||
|
|
||||||
|
Inform them they can answer in shorthand or dump information however works best for them.
|
||||||
|
|
||||||
|
**If user provides a template or mentions a doc type:**
|
||||||
|
- Ask if they have a template document to share
|
||||||
|
- If they provide a link to a shared document, use the appropriate integration to fetch it
|
||||||
|
- If they provide a file, read it
|
||||||
|
|
||||||
|
**If user mentions editing an existing shared document:**
|
||||||
|
- Use the appropriate integration to read the current state
|
||||||
|
- Check for images without alt-text
|
||||||
|
- If images exist without alt-text, explain that when others use Claude to understand the doc, Claude won't be able to see them. Ask if they want alt-text generated. If so, request they paste each image into chat for descriptive alt-text generation.
|
||||||
|
|
||||||
|
### Info Dumping
|
||||||
|
|
||||||
|
Once initial questions are answered, encourage the user to dump all the context they have. Request information such as:
|
||||||
|
- Background on the project/problem
|
||||||
|
- Related team discussions or shared documents
|
||||||
|
- Why alternative solutions aren't being used
|
||||||
|
- Organizational context (team dynamics, past incidents, politics)
|
||||||
|
- Timeline pressures or constraints
|
||||||
|
- Technical architecture or dependencies
|
||||||
|
- Stakeholder concerns
|
||||||
|
|
||||||
|
Advise them not to worry about organizing it - just get it all out. Offer multiple ways to provide context:
|
||||||
|
- Info dump stream-of-consciousness
|
||||||
|
- Point to team channels or threads to read
|
||||||
|
- Link to shared documents
|
||||||
|
|
||||||
|
**If integrations are available** (e.g., Slack, Teams, Google Drive, SharePoint, or other MCP servers), mention that these can be used to pull in context directly.
|
||||||
|
|
||||||
|
**If no integrations are detected and in Claude.ai or Claude app:** Suggest they can enable connectors in their Claude settings to allow pulling context from messaging apps and document storage directly.
|
||||||
|
|
||||||
|
Inform them clarifying questions will be asked once they've done their initial dump.
|
||||||
|
|
||||||
|
**During context gathering:**
|
||||||
|
|
||||||
|
- If user mentions team channels or shared documents:
|
||||||
|
- If integrations available: Inform them the content will be read now, then use the appropriate integration
|
||||||
|
- If integrations not available: Explain lack of access. Suggest they enable connectors in Claude settings, or paste the relevant content directly.
|
||||||
|
|
||||||
|
- If user mentions entities/projects that are unknown:
|
||||||
|
- Ask if connected tools should be searched to learn more
|
||||||
|
- Wait for user confirmation before searching
|
||||||
|
|
||||||
|
- As user provides context, track what's being learned and what's still unclear
|
||||||
|
|
||||||
|
**Asking clarifying questions:**
|
||||||
|
|
||||||
|
When user signals they've done their initial dump (or after substantial context provided), ask clarifying questions to ensure understanding:
|
||||||
|
|
||||||
|
Generate 5-10 numbered questions based on gaps in the context.
|
||||||
|
|
||||||
|
Inform them they can use shorthand to answer (e.g., "1: yes, 2: see #channel, 3: no because backwards compat"), link to more docs, point to channels to read, or just keep info-dumping. Whatever's most efficient for them.
|
||||||
|
|
||||||
|
**Exit condition:**
|
||||||
|
Sufficient context has been gathered when questions show understanding - when edge cases and trade-offs can be asked about without needing basics explained.
|
||||||
|
|
||||||
|
**Transition:**
|
||||||
|
Ask if there's any more context they want to provide at this stage, or if it's time to move on to drafting the document.
|
||||||
|
|
||||||
|
If user wants to add more, let them. When ready, proceed to Stage 2.
|
||||||
|
|
||||||
|
## Stage 2: Refinement & Structure
|
||||||
|
|
||||||
|
**Goal:** Build the document section by section through brainstorming, curation, and iterative refinement.
|
||||||
|
|
||||||
|
**Instructions to user:**
|
||||||
|
Explain that the document will be built section by section. For each section:
|
||||||
|
1. Clarifying questions will be asked about what to include
|
||||||
|
2. 5-20 options will be brainstormed
|
||||||
|
3. User will indicate what to keep/remove/combine
|
||||||
|
4. The section will be drafted
|
||||||
|
5. It will be refined through surgical edits
|
||||||
|
|
||||||
|
Start with whichever section has the most unknowns (usually the core decision/proposal), then work through the rest.
|
||||||
|
|
||||||
|
**Section ordering:**
|
||||||
|
|
||||||
|
If the document structure is clear:
|
||||||
|
Ask which section they'd like to start with.
|
||||||
|
|
||||||
|
Suggest starting with whichever section has the most unknowns. For decision docs, that's usually the core proposal. For specs, it's typically the technical approach. Summary sections are best left for last.
|
||||||
|
|
||||||
|
If user doesn't know what sections they need:
|
||||||
|
Based on the type of document and template, suggest 3-5 sections appropriate for the doc type.
|
||||||
|
|
||||||
|
Ask if this structure works, or if they want to adjust it.
|
||||||
|
|
||||||
|
**Once structure is agreed:**
|
||||||
|
|
||||||
|
Create the initial document structure with placeholder text for all sections.
|
||||||
|
|
||||||
|
**If access to artifacts is available:**
|
||||||
|
Use `create_file` to create an artifact. This gives both Claude and the user a scaffold to work from.
|
||||||
|
|
||||||
|
Inform them that the initial structure with placeholders for all sections will be created.
|
||||||
|
|
||||||
|
Create artifact with all section headers and brief placeholder text like "[To be written]" or "[Content here]".
|
||||||
|
|
||||||
|
Provide the scaffold link and indicate it's time to fill in each section.
|
||||||
|
|
||||||
|
**If no access to artifacts:**
|
||||||
|
Create a markdown file in the working directory. Name it appropriately (e.g., `decision-doc.md`, `technical-spec.md`).
|
||||||
|
|
||||||
|
Inform them that the initial structure with placeholders for all sections will be created.
|
||||||
|
|
||||||
|
Create file with all section headers and placeholder text.
|
||||||
|
|
||||||
|
Confirm the filename has been created and indicate it's time to fill in each section.
|
||||||
|
|
||||||
|
**For each section:**
|
||||||
|
|
||||||
|
### Step 1: Clarifying Questions
|
||||||
|
|
||||||
|
Announce work will begin on the [SECTION NAME] section. Ask 5-10 clarifying questions about what should be included:
|
||||||
|
|
||||||
|
Generate 5-10 specific questions based on context and section purpose.
|
||||||
|
|
||||||
|
Inform them they can answer in shorthand or just indicate what's important to cover.
|
||||||
|
|
||||||
|
### Step 2: Brainstorming
|
||||||
|
|
||||||
|
For the [SECTION NAME] section, brainstorm [5-20] things that might be included, depending on the section's complexity. Look for:
|
||||||
|
- Context shared that might have been forgotten
|
||||||
|
- Angles or considerations not yet mentioned
|
||||||
|
|
||||||
|
Generate 5-20 numbered options based on section complexity. At the end, offer to brainstorm more if they want additional options.
|
||||||
|
|
||||||
|
### Step 3: Curation
|
||||||
|
|
||||||
|
Ask which points should be kept, removed, or combined. Request brief justifications to help learn priorities for the next sections.
|
||||||
|
|
||||||
|
Provide examples:
|
||||||
|
- "Keep 1,4,7,9"
|
||||||
|
- "Remove 3 (duplicates 1)"
|
||||||
|
- "Remove 6 (audience already knows this)"
|
||||||
|
- "Combine 11 and 12"
|
||||||
|
|
||||||
|
**If user gives freeform feedback** (e.g., "looks good" or "I like most of it but...") instead of numbered selections, extract their preferences and proceed. Parse what they want kept/removed/changed and apply it.
|
||||||
|
|
||||||
|
### Step 4: Gap Check
|
||||||
|
|
||||||
|
Based on what they've selected, ask if there's anything important missing for the [SECTION NAME] section.
|
||||||
|
|
||||||
|
### Step 5: Drafting
|
||||||
|
|
||||||
|
Use `str_replace` to replace the placeholder text for this section with the actual drafted content.
|
||||||
|
|
||||||
|
Announce the [SECTION NAME] section will be drafted now based on what they've selected.
|
||||||
|
|
||||||
|
**If using artifacts:**
|
||||||
|
After drafting, provide a link to the artifact.
|
||||||
|
|
||||||
|
Ask them to read through it and indicate what to change. Note that being specific helps learning for the next sections.
|
||||||
|
|
||||||
|
**If using a file (no artifacts):**
|
||||||
|
After drafting, confirm completion.
|
||||||
|
|
||||||
|
Inform them the [SECTION NAME] section has been drafted in [filename]. Ask them to read through it and indicate what to change. Note that being specific helps learning for the next sections.
|
||||||
|
|
||||||
|
**Key instruction for user (include when drafting the first section):**
|
||||||
|
Provide a note: Instead of editing the doc directly, ask them to indicate what to change. This helps learning of their style for future sections. For example: "Remove the X bullet - already covered by Y" or "Make the third paragraph more concise".
|
||||||
|
|
||||||
|
### Step 6: Iterative Refinement
|
||||||
|
|
||||||
|
As user provides feedback:
|
||||||
|
- Use `str_replace` to make edits (never reprint the whole doc)
|
||||||
|
- **If using artifacts:** Provide link to artifact after each edit
|
||||||
|
- **If using files:** Just confirm edits are complete
|
||||||
|
- If user edits doc directly and asks to read it: mentally note the changes they made and keep them in mind for future sections (this shows their preferences)
|
||||||
|
|
||||||
|
**Continue iterating** until user is satisfied with the section.
|
||||||
|
|
||||||
|
### Quality Checking
|
||||||
|
|
||||||
|
After 3 consecutive iterations with no substantial changes, ask if anything can be removed without losing important information.
|
||||||
|
|
||||||
|
When section is done, confirm [SECTION NAME] is complete. Ask if ready to move to the next section.
|
||||||
|
|
||||||
|
**Repeat for all sections.**
|
||||||
|
|
||||||
|
### Near Completion
|
||||||
|
|
||||||
|
As approaching completion (80%+ of sections done), announce intention to re-read the entire document and check for:
|
||||||
|
- Flow and consistency across sections
|
||||||
|
- Redundancy or contradictions
|
||||||
|
- Anything that feels like "slop" or generic filler
|
||||||
|
- Whether every sentence carries weight
|
||||||
|
|
||||||
|
Read entire document and provide feedback.
|
||||||
|
|
||||||
|
**When all sections are drafted and refined:**
|
||||||
|
Announce all sections are drafted. Indicate intention to review the complete document one more time.
|
||||||
|
|
||||||
|
Review for overall coherence, flow, completeness.
|
||||||
|
|
||||||
|
Provide any final suggestions.
|
||||||
|
|
||||||
|
Ask if ready to move to Reader Testing, or if they want to refine anything else.
|
||||||
|
|
||||||
|
## Stage 3: Reader Testing
|
||||||
|
|
||||||
|
**Goal:** Test the document with a fresh Claude (no context bleed) to verify it works for readers.
|
||||||
|
|
||||||
|
**Instructions to user:**
|
||||||
|
Explain that testing will now occur to see if the document actually works for readers. This catches blind spots - things that make sense to the authors but might confuse others.
|
||||||
|
|
||||||
|
### Testing Approach
|
||||||
|
|
||||||
|
**If access to sub-agents is available (e.g., in Claude Code):**
|
||||||
|
|
||||||
|
Perform the testing directly without user involvement.
|
||||||
|
|
||||||
|
### Step 1: Predict Reader Questions
|
||||||
|
|
||||||
|
Announce intention to predict what questions readers might ask when trying to discover this document.
|
||||||
|
|
||||||
|
Generate 5-10 questions that readers would realistically ask.
|
||||||
|
|
||||||
|
### Step 2: Test with Sub-Agent
|
||||||
|
|
||||||
|
Announce that these questions will be tested with a fresh Claude instance (no context from this conversation).
|
||||||
|
|
||||||
|
For each question, invoke a sub-agent with just the document content and the question.
|
||||||
|
|
||||||
|
Summarize what Reader Claude got right/wrong for each question.
|
||||||
|
|
||||||
|
### Step 3: Run Additional Checks
|
||||||
|
|
||||||
|
Announce additional checks will be performed.
|
||||||
|
|
||||||
|
Invoke sub-agent to check for ambiguity, false assumptions, contradictions.
|
||||||
|
|
||||||
|
Summarize any issues found.
|
||||||
|
|
||||||
|
### Step 4: Report and Fix
|
||||||
|
|
||||||
|
If issues found:
|
||||||
|
Report that Reader Claude struggled with specific issues.
|
||||||
|
|
||||||
|
List the specific issues.
|
||||||
|
|
||||||
|
Indicate intention to fix these gaps.
|
||||||
|
|
||||||
|
Loop back to refinement for problematic sections.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**If no access to sub-agents (e.g., claude.ai web interface):**
|
||||||
|
|
||||||
|
The user will need to do the testing manually.
|
||||||
|
|
||||||
|
### Step 1: Predict Reader Questions
|
||||||
|
|
||||||
|
Ask what questions people might ask when trying to discover this document. What would they type into Claude.ai?
|
||||||
|
|
||||||
|
Generate 5-10 questions that readers would realistically ask.
|
||||||
|
|
||||||
|
### Step 2: Setup Testing
|
||||||
|
|
||||||
|
Provide testing instructions:
|
||||||
|
1. Open a fresh Claude conversation: https://claude.ai
|
||||||
|
2. Paste or share the document content (if using a shared doc platform with connectors enabled, provide the link)
|
||||||
|
3. Ask Reader Claude the generated questions
|
||||||
|
|
||||||
|
For each question, instruct Reader Claude to provide:
|
||||||
|
- The answer
|
||||||
|
- Whether anything was ambiguous or unclear
|
||||||
|
- What knowledge/context the doc assumes is already known
|
||||||
|
|
||||||
|
Check if Reader Claude gives correct answers or misinterprets anything.
|
||||||
|
|
||||||
|
### Step 3: Additional Checks
|
||||||
|
|
||||||
|
Also ask Reader Claude:
|
||||||
|
- "What in this doc might be ambiguous or unclear to readers?"
|
||||||
|
- "What knowledge or context does this doc assume readers already have?"
|
||||||
|
- "Are there any internal contradictions or inconsistencies?"
|
||||||
|
|
||||||
|
### Step 4: Iterate Based on Results
|
||||||
|
|
||||||
|
Ask what Reader Claude got wrong or struggled with. Indicate intention to fix those gaps.
|
||||||
|
|
||||||
|
Loop back to refinement for any problematic sections.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Exit Condition (Both Approaches)
|
||||||
|
|
||||||
|
When Reader Claude consistently answers questions correctly and doesn't surface new gaps or ambiguities, the doc is ready.
|
||||||
|
|
||||||
|
## Final Review
|
||||||
|
|
||||||
|
When Reader Testing passes:
|
||||||
|
Announce the doc has passed Reader Claude testing. Before completion:
|
||||||
|
|
||||||
|
1. Recommend they do a final read-through themselves - they own this document and are responsible for its quality
|
||||||
|
2. Suggest double-checking any facts, links, or technical details
|
||||||
|
3. Ask them to verify it achieves the impact they wanted
|
||||||
|
|
||||||
|
Ask if they want one more review, or if the work is done.
|
||||||
|
|
||||||
|
**If user wants final review, provide it. Otherwise:**
|
||||||
|
Announce document completion. Provide a few final tips:
|
||||||
|
- Consider linking this conversation in an appendix so readers can see how the doc was developed
|
||||||
|
- Use appendices to provide depth without bloating the main doc
|
||||||
|
- Update the doc as feedback is received from real readers
|
||||||
|
|
||||||
|
## Tips for Effective Guidance
|
||||||
|
|
||||||
|
**Tone:**
|
||||||
|
- Be direct and procedural
|
||||||
|
- Explain rationale briefly when it affects user behavior
|
||||||
|
- Don't try to "sell" the approach - just execute it
|
||||||
|
|
||||||
|
**Handling Deviations:**
|
||||||
|
- If user wants to skip a stage: Ask if they want to skip this and write freeform
|
||||||
|
- If user seems frustrated: Acknowledge this is taking longer than expected. Suggest ways to move faster
|
||||||
|
- Always give user agency to adjust the process
|
||||||
|
|
||||||
|
**Context Management:**
|
||||||
|
- Throughout, if context is missing on something mentioned, proactively ask
|
||||||
|
- Don't let gaps accumulate - address them as they come up
|
||||||
|
|
||||||
|
**Artifact Management:**
|
||||||
|
- Use `create_file` for drafting full sections
|
||||||
|
- Use `str_replace` for all edits
|
||||||
|
- Provide artifact link after every change
|
||||||
|
- Never use artifacts for brainstorming lists - that's just conversation
|
||||||
|
|
||||||
|
**Quality over Speed:**
|
||||||
|
- Don't rush through stages
|
||||||
|
- Each iteration should make meaningful improvements
|
||||||
|
- The goal is a document that actually works for readers
|
||||||
30
skills/docx/LICENSE.txt
Normal file
30
skills/docx/LICENSE.txt
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
© 2025 Anthropic, PBC. All rights reserved.
|
||||||
|
|
||||||
|
LICENSE: Use of these materials (including all code, prompts, assets, files,
|
||||||
|
and other components of this Skill) is governed by your agreement with
|
||||||
|
Anthropic regarding use of Anthropic's services. If no separate agreement
|
||||||
|
exists, use is governed by Anthropic's Consumer Terms of Service or
|
||||||
|
Commercial Terms of Service, as applicable:
|
||||||
|
https://www.anthropic.com/legal/consumer-terms
|
||||||
|
https://www.anthropic.com/legal/commercial-terms
|
||||||
|
Your applicable agreement is referred to as the "Agreement." "Services" are
|
||||||
|
as defined in the Agreement.
|
||||||
|
|
||||||
|
ADDITIONAL RESTRICTIONS: Notwithstanding anything in the Agreement to the
|
||||||
|
contrary, users may not:
|
||||||
|
|
||||||
|
- Extract these materials from the Services or retain copies of these
|
||||||
|
materials outside the Services
|
||||||
|
- Reproduce or copy these materials, except for temporary copies created
|
||||||
|
automatically during authorized use of the Services
|
||||||
|
- Create derivative works based on these materials
|
||||||
|
- Distribute, sublicense, or transfer these materials to any third party
|
||||||
|
- Make, offer to sell, sell, or import any inventions embodied in these
|
||||||
|
materials
|
||||||
|
- Reverse engineer, decompile, or disassemble these materials
|
||||||
|
|
||||||
|
The receipt, viewing, or possession of these materials does not convey or
|
||||||
|
imply any license or right beyond those expressly granted above.
|
||||||
|
|
||||||
|
Anthropic retains all right, title, and interest in these materials,
|
||||||
|
including all copyrights, patents, and other intellectual property rights.
|
||||||
197
skills/docx/SKILL.md
Normal file
197
skills/docx/SKILL.md
Normal file
@@ -0,0 +1,197 @@
|
|||||||
|
---
|
||||||
|
name: docx
|
||||||
|
description: "Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks"
|
||||||
|
license: Proprietary. LICENSE.txt has complete terms
|
||||||
|
---
|
||||||
|
|
||||||
|
# DOCX creation, editing, and analysis
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
A user may ask you to create, edit, or analyze the contents of a .docx file. A .docx file is essentially a ZIP archive containing XML files and other resources that you can read or edit. You have different tools and workflows available for different tasks.
|
||||||
|
|
||||||
|
## Workflow Decision Tree
|
||||||
|
|
||||||
|
### Reading/Analyzing Content
|
||||||
|
Use "Text extraction" or "Raw XML access" sections below
|
||||||
|
|
||||||
|
### Creating New Document
|
||||||
|
Use "Creating a new Word document" workflow
|
||||||
|
|
||||||
|
### Editing Existing Document
|
||||||
|
- **Your own document + simple changes**
|
||||||
|
Use "Basic OOXML editing" workflow
|
||||||
|
|
||||||
|
- **Someone else's document**
|
||||||
|
Use **"Redlining workflow"** (recommended default)
|
||||||
|
|
||||||
|
- **Legal, academic, business, or government docs**
|
||||||
|
Use **"Redlining workflow"** (required)
|
||||||
|
|
||||||
|
## Reading and analyzing content
|
||||||
|
|
||||||
|
### Text extraction
|
||||||
|
If you just need to read the text contents of a document, you should convert the document to markdown using pandoc. Pandoc provides excellent support for preserving document structure and can show tracked changes:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Convert document to markdown with tracked changes
|
||||||
|
pandoc --track-changes=all path-to-file.docx -o output.md
|
||||||
|
# Options: --track-changes=accept/reject/all
|
||||||
|
```
|
||||||
|
|
||||||
|
### Raw XML access
|
||||||
|
You need raw XML access for: comments, complex formatting, document structure, embedded media, and metadata. For any of these features, you'll need to unpack a document and read its raw XML contents.
|
||||||
|
|
||||||
|
#### Unpacking a file
|
||||||
|
`python ooxml/scripts/unpack.py <office_file> <output_directory>`
|
||||||
|
|
||||||
|
#### Key file structures
|
||||||
|
* `word/document.xml` - Main document contents
|
||||||
|
* `word/comments.xml` - Comments referenced in document.xml
|
||||||
|
* `word/media/` - Embedded images and media files
|
||||||
|
* Tracked changes use `<w:ins>` (insertions) and `<w:del>` (deletions) tags
|
||||||
|
|
||||||
|
## Creating a new Word document
|
||||||
|
|
||||||
|
When creating a new Word document from scratch, use **docx-js**, which allows you to create Word documents using JavaScript/TypeScript.
|
||||||
|
|
||||||
|
### Workflow
|
||||||
|
1. **MANDATORY - READ ENTIRE FILE**: Read [`docx-js.md`](docx-js.md) (~500 lines) completely from start to finish. **NEVER set any range limits when reading this file.** Read the full file content for detailed syntax, critical formatting rules, and best practices before proceeding with document creation.
|
||||||
|
2. Create a JavaScript/TypeScript file using Document, Paragraph, TextRun components (You can assume all dependencies are installed, but if not, refer to the dependencies section below)
|
||||||
|
3. Export as .docx using Packer.toBuffer()
|
||||||
|
|
||||||
|
## Editing an existing Word document
|
||||||
|
|
||||||
|
When editing an existing Word document, use the **Document library** (a Python library for OOXML manipulation). The library automatically handles infrastructure setup and provides methods for document manipulation. For complex scenarios, you can access the underlying DOM directly through the library.
|
||||||
|
|
||||||
|
### Workflow
|
||||||
|
1. **MANDATORY - READ ENTIRE FILE**: Read [`ooxml.md`](ooxml.md) (~600 lines) completely from start to finish. **NEVER set any range limits when reading this file.** Read the full file content for the Document library API and XML patterns for directly editing document files.
|
||||||
|
2. Unpack the document: `python ooxml/scripts/unpack.py <office_file> <output_directory>`
|
||||||
|
3. Create and run a Python script using the Document library (see "Document Library" section in ooxml.md)
|
||||||
|
4. Pack the final document: `python ooxml/scripts/pack.py <input_directory> <office_file>`
|
||||||
|
|
||||||
|
The Document library provides both high-level methods for common operations and direct DOM access for complex scenarios.
|
||||||
|
|
||||||
|
## Redlining workflow for document review
|
||||||
|
|
||||||
|
This workflow allows you to plan comprehensive tracked changes using markdown before implementing them in OOXML. **CRITICAL**: For complete tracked changes, you must implement ALL changes systematically.
|
||||||
|
|
||||||
|
**Batching Strategy**: Group related changes into batches of 3-10 changes. This makes debugging manageable while maintaining efficiency. Test each batch before moving to the next.
|
||||||
|
|
||||||
|
**Principle: Minimal, Precise Edits**
|
||||||
|
When implementing tracked changes, only mark text that actually changes. Repeating unchanged text makes edits harder to review and appears unprofessional. Break replacements into: [unchanged text] + [deletion] + [insertion] + [unchanged text]. Preserve the original run's RSID for unchanged text by extracting the `<w:r>` element from the original and reusing it.
|
||||||
|
|
||||||
|
Example - Changing "30 days" to "60 days" in a sentence:
|
||||||
|
```python
|
||||||
|
# BAD - Replaces entire sentence
|
||||||
|
'<w:del><w:r><w:delText>The term is 30 days.</w:delText></w:r></w:del><w:ins><w:r><w:t>The term is 60 days.</w:t></w:r></w:ins>'
|
||||||
|
|
||||||
|
# GOOD - Only marks what changed, preserves original <w:r> for unchanged text
|
||||||
|
'<w:r w:rsidR="00AB12CD"><w:t>The term is </w:t></w:r><w:del><w:r><w:delText>30</w:delText></w:r></w:del><w:ins><w:r><w:t>60</w:t></w:r></w:ins><w:r w:rsidR="00AB12CD"><w:t> days.</w:t></w:r>'
|
||||||
|
```
|
||||||
|
|
||||||
|
### Tracked changes workflow
|
||||||
|
|
||||||
|
1. **Get markdown representation**: Convert document to markdown with tracked changes preserved:
|
||||||
|
```bash
|
||||||
|
pandoc --track-changes=all path-to-file.docx -o current.md
|
||||||
|
```
|
||||||
|
|
||||||
|
2. **Identify and group changes**: Review the document and identify ALL changes needed, organizing them into logical batches:
|
||||||
|
|
||||||
|
**Location methods** (for finding changes in XML):
|
||||||
|
- Section/heading numbers (e.g., "Section 3.2", "Article IV")
|
||||||
|
- Paragraph identifiers if numbered
|
||||||
|
- Grep patterns with unique surrounding text
|
||||||
|
- Document structure (e.g., "first paragraph", "signature block")
|
||||||
|
- **DO NOT use markdown line numbers** - they don't map to XML structure
|
||||||
|
|
||||||
|
**Batch organization** (group 3-10 related changes per batch):
|
||||||
|
- By section: "Batch 1: Section 2 amendments", "Batch 2: Section 5 updates"
|
||||||
|
- By type: "Batch 1: Date corrections", "Batch 2: Party name changes"
|
||||||
|
- By complexity: Start with simple text replacements, then tackle complex structural changes
|
||||||
|
- Sequential: "Batch 1: Pages 1-3", "Batch 2: Pages 4-6"
|
||||||
|
|
||||||
|
3. **Read documentation and unpack**:
|
||||||
|
- **MANDATORY - READ ENTIRE FILE**: Read [`ooxml.md`](ooxml.md) (~600 lines) completely from start to finish. **NEVER set any range limits when reading this file.** Pay special attention to the "Document Library" and "Tracked Change Patterns" sections.
|
||||||
|
- **Unpack the document**: `python ooxml/scripts/unpack.py <file.docx> <dir>`
|
||||||
|
- **Note the suggested RSID**: The unpack script will suggest an RSID to use for your tracked changes. Copy this RSID for use in step 4b.
|
||||||
|
|
||||||
|
4. **Implement changes in batches**: Group changes logically (by section, by type, or by proximity) and implement them together in a single script. This approach:
|
||||||
|
- Makes debugging easier (smaller batch = easier to isolate errors)
|
||||||
|
- Allows incremental progress
|
||||||
|
- Maintains efficiency (batch size of 3-10 changes works well)
|
||||||
|
|
||||||
|
**Suggested batch groupings:**
|
||||||
|
- By document section (e.g., "Section 3 changes", "Definitions", "Termination clause")
|
||||||
|
- By change type (e.g., "Date changes", "Party name updates", "Legal term replacements")
|
||||||
|
- By proximity (e.g., "Changes on pages 1-3", "Changes in first half of document")
|
||||||
|
|
||||||
|
For each batch of related changes:
|
||||||
|
|
||||||
|
**a. Map text to XML**: Grep for text in `word/document.xml` to verify how text is split across `<w:r>` elements.
|
||||||
|
|
||||||
|
**b. Create and run script**: Use `get_node` to find nodes, implement changes, then `doc.save()`. See **"Document Library"** section in ooxml.md for patterns.
|
||||||
|
|
||||||
|
**Note**: Always grep `word/document.xml` immediately before writing a script to get current line numbers and verify text content. Line numbers change after each script run.
|
||||||
|
|
||||||
|
5. **Pack the document**: After all batches are complete, convert the unpacked directory back to .docx:
|
||||||
|
```bash
|
||||||
|
python ooxml/scripts/pack.py unpacked reviewed-document.docx
|
||||||
|
```
|
||||||
|
|
||||||
|
6. **Final verification**: Do a comprehensive check of the complete document:
|
||||||
|
- Convert final document to markdown:
|
||||||
|
```bash
|
||||||
|
pandoc --track-changes=all reviewed-document.docx -o verification.md
|
||||||
|
```
|
||||||
|
- Verify ALL changes were applied correctly:
|
||||||
|
```bash
|
||||||
|
grep "original phrase" verification.md # Should NOT find it
|
||||||
|
grep "replacement phrase" verification.md # Should find it
|
||||||
|
```
|
||||||
|
- Check that no unintended changes were introduced
|
||||||
|
|
||||||
|
|
||||||
|
## Converting Documents to Images
|
||||||
|
|
||||||
|
To visually analyze Word documents, convert them to images using a two-step process:
|
||||||
|
|
||||||
|
1. **Convert DOCX to PDF**:
|
||||||
|
```bash
|
||||||
|
soffice --headless --convert-to pdf document.docx
|
||||||
|
```
|
||||||
|
|
||||||
|
2. **Convert PDF pages to JPEG images**:
|
||||||
|
```bash
|
||||||
|
pdftoppm -jpeg -r 150 document.pdf page
|
||||||
|
```
|
||||||
|
This creates files like `page-1.jpg`, `page-2.jpg`, etc.
|
||||||
|
|
||||||
|
Options:
|
||||||
|
- `-r 150`: Sets resolution to 150 DPI (adjust for quality/size balance)
|
||||||
|
- `-jpeg`: Output JPEG format (use `-png` for PNG if preferred)
|
||||||
|
- `-f N`: First page to convert (e.g., `-f 2` starts from page 2)
|
||||||
|
- `-l N`: Last page to convert (e.g., `-l 5` stops at page 5)
|
||||||
|
- `page`: Prefix for output files
|
||||||
|
|
||||||
|
Example for specific range:
|
||||||
|
```bash
|
||||||
|
pdftoppm -jpeg -r 150 -f 2 -l 5 document.pdf page # Converts only pages 2-5
|
||||||
|
```
|
||||||
|
|
||||||
|
## Code Style Guidelines
|
||||||
|
**IMPORTANT**: When generating code for DOCX operations:
|
||||||
|
- Write concise code
|
||||||
|
- Avoid verbose variable names and redundant operations
|
||||||
|
- Avoid unnecessary print statements
|
||||||
|
|
||||||
|
## Dependencies
|
||||||
|
|
||||||
|
Required dependencies (install if not available):
|
||||||
|
|
||||||
|
- **pandoc**: `sudo apt-get install pandoc` (for text extraction)
|
||||||
|
- **docx**: `npm install -g docx` (for creating new documents)
|
||||||
|
- **LibreOffice**: `sudo apt-get install libreoffice` (for PDF conversion)
|
||||||
|
- **Poppler**: `sudo apt-get install poppler-utils` (for pdftoppm to convert PDF to images)
|
||||||
|
- **defusedxml**: `pip install defusedxml` (for secure XML parsing)
|
||||||
350
skills/docx/docx-js.md
Normal file
350
skills/docx/docx-js.md
Normal file
@@ -0,0 +1,350 @@
|
|||||||
|
# DOCX Library Tutorial
|
||||||
|
|
||||||
|
Generate .docx files with JavaScript/TypeScript.
|
||||||
|
|
||||||
|
**Important: Read this entire document before starting.** Critical formatting rules and common pitfalls are covered throughout - skipping sections may result in corrupted files or rendering issues.
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
Assumes docx is already installed globally
|
||||||
|
If not installed: `npm install -g docx`
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
const { Document, Packer, Paragraph, TextRun, Table, TableRow, TableCell, ImageRun, Media,
|
||||||
|
Header, Footer, AlignmentType, PageOrientation, LevelFormat, ExternalHyperlink,
|
||||||
|
InternalHyperlink, TableOfContents, HeadingLevel, BorderStyle, WidthType, TabStopType,
|
||||||
|
TabStopPosition, UnderlineType, ShadingType, VerticalAlign, SymbolRun, PageNumber,
|
||||||
|
FootnoteReferenceRun, Footnote, PageBreak } = require('docx');
|
||||||
|
|
||||||
|
// Create & Save
|
||||||
|
const doc = new Document({ sections: [{ children: [/* content */] }] });
|
||||||
|
Packer.toBuffer(doc).then(buffer => fs.writeFileSync("doc.docx", buffer)); // Node.js
|
||||||
|
Packer.toBlob(doc).then(blob => { /* download logic */ }); // Browser
|
||||||
|
```
|
||||||
|
|
||||||
|
## Text & Formatting
|
||||||
|
```javascript
|
||||||
|
// IMPORTANT: Never use \n for line breaks - always use separate Paragraph elements
|
||||||
|
// ❌ WRONG: new TextRun("Line 1\nLine 2")
|
||||||
|
// ✅ CORRECT: new Paragraph({ children: [new TextRun("Line 1")] }), new Paragraph({ children: [new TextRun("Line 2")] })
|
||||||
|
|
||||||
|
// Basic text with all formatting options
|
||||||
|
new Paragraph({
|
||||||
|
alignment: AlignmentType.CENTER,
|
||||||
|
spacing: { before: 200, after: 200 },
|
||||||
|
indent: { left: 720, right: 720 },
|
||||||
|
children: [
|
||||||
|
new TextRun({ text: "Bold", bold: true }),
|
||||||
|
new TextRun({ text: "Italic", italics: true }),
|
||||||
|
new TextRun({ text: "Underlined", underline: { type: UnderlineType.DOUBLE, color: "FF0000" } }),
|
||||||
|
new TextRun({ text: "Colored", color: "FF0000", size: 28, font: "Arial" }), // Arial default
|
||||||
|
new TextRun({ text: "Highlighted", highlight: "yellow" }),
|
||||||
|
new TextRun({ text: "Strikethrough", strike: true }),
|
||||||
|
new TextRun({ text: "x2", superScript: true }),
|
||||||
|
new TextRun({ text: "H2O", subScript: true }),
|
||||||
|
new TextRun({ text: "SMALL CAPS", smallCaps: true }),
|
||||||
|
new SymbolRun({ char: "2022", font: "Symbol" }), // Bullet •
|
||||||
|
new SymbolRun({ char: "00A9", font: "Arial" }) // Copyright © - Arial for symbols
|
||||||
|
]
|
||||||
|
})
|
||||||
|
```
|
||||||
|
|
||||||
|
## Styles & Professional Formatting
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
const doc = new Document({
|
||||||
|
styles: {
|
||||||
|
default: { document: { run: { font: "Arial", size: 24 } } }, // 12pt default
|
||||||
|
paragraphStyles: [
|
||||||
|
// Document title style - override built-in Title style
|
||||||
|
{ id: "Title", name: "Title", basedOn: "Normal",
|
||||||
|
run: { size: 56, bold: true, color: "000000", font: "Arial" },
|
||||||
|
paragraph: { spacing: { before: 240, after: 120 }, alignment: AlignmentType.CENTER } },
|
||||||
|
// IMPORTANT: Override built-in heading styles by using their exact IDs
|
||||||
|
{ id: "Heading1", name: "Heading 1", basedOn: "Normal", next: "Normal", quickFormat: true,
|
||||||
|
run: { size: 32, bold: true, color: "000000", font: "Arial" }, // 16pt
|
||||||
|
paragraph: { spacing: { before: 240, after: 240 }, outlineLevel: 0 } }, // Required for TOC
|
||||||
|
{ id: "Heading2", name: "Heading 2", basedOn: "Normal", next: "Normal", quickFormat: true,
|
||||||
|
run: { size: 28, bold: true, color: "000000", font: "Arial" }, // 14pt
|
||||||
|
paragraph: { spacing: { before: 180, after: 180 }, outlineLevel: 1 } },
|
||||||
|
// Custom styles use your own IDs
|
||||||
|
{ id: "myStyle", name: "My Style", basedOn: "Normal",
|
||||||
|
run: { size: 28, bold: true, color: "000000" },
|
||||||
|
paragraph: { spacing: { after: 120 }, alignment: AlignmentType.CENTER } }
|
||||||
|
],
|
||||||
|
characterStyles: [{ id: "myCharStyle", name: "My Char Style",
|
||||||
|
run: { color: "FF0000", bold: true, underline: { type: UnderlineType.SINGLE } } }]
|
||||||
|
},
|
||||||
|
sections: [{
|
||||||
|
properties: { page: { margin: { top: 1440, right: 1440, bottom: 1440, left: 1440 } } },
|
||||||
|
children: [
|
||||||
|
new Paragraph({ heading: HeadingLevel.TITLE, children: [new TextRun("Document Title")] }), // Uses overridden Title style
|
||||||
|
new Paragraph({ heading: HeadingLevel.HEADING_1, children: [new TextRun("Heading 1")] }), // Uses overridden Heading1 style
|
||||||
|
new Paragraph({ style: "myStyle", children: [new TextRun("Custom paragraph style")] }),
|
||||||
|
new Paragraph({ children: [
|
||||||
|
new TextRun("Normal with "),
|
||||||
|
new TextRun({ text: "custom char style", style: "myCharStyle" })
|
||||||
|
]})
|
||||||
|
]
|
||||||
|
}]
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
**Professional Font Combinations:**
|
||||||
|
- **Arial (Headers) + Arial (Body)** - Most universally supported, clean and professional
|
||||||
|
- **Times New Roman (Headers) + Arial (Body)** - Classic serif headers with modern sans-serif body
|
||||||
|
- **Georgia (Headers) + Verdana (Body)** - Optimized for screen reading, elegant contrast
|
||||||
|
|
||||||
|
**Key Styling Principles:**
|
||||||
|
- **Override built-in styles**: Use exact IDs like "Heading1", "Heading2", "Heading3" to override Word's built-in heading styles
|
||||||
|
- **HeadingLevel constants**: `HeadingLevel.HEADING_1` uses "Heading1" style, `HeadingLevel.HEADING_2` uses "Heading2" style, etc.
|
||||||
|
- **Include outlineLevel**: Set `outlineLevel: 0` for H1, `outlineLevel: 1` for H2, etc. to ensure TOC works correctly
|
||||||
|
- **Use custom styles** instead of inline formatting for consistency
|
||||||
|
- **Set a default font** using `styles.default.document.run.font` - Arial is universally supported
|
||||||
|
- **Establish visual hierarchy** with different font sizes (titles > headers > body)
|
||||||
|
- **Add proper spacing** with `before` and `after` paragraph spacing
|
||||||
|
- **Use colors sparingly**: Default to black (000000) and shades of gray for titles and headings (heading 1, heading 2, etc.)
|
||||||
|
- **Set consistent margins** (1440 = 1 inch is standard)
|
||||||
|
|
||||||
|
|
||||||
|
## Lists (ALWAYS USE PROPER LISTS - NEVER USE UNICODE BULLETS)
|
||||||
|
```javascript
|
||||||
|
// Bullets - ALWAYS use the numbering config, NOT unicode symbols
|
||||||
|
// CRITICAL: Use LevelFormat.BULLET constant, NOT the string "bullet"
|
||||||
|
const doc = new Document({
|
||||||
|
numbering: {
|
||||||
|
config: [
|
||||||
|
{ reference: "bullet-list",
|
||||||
|
levels: [{ level: 0, format: LevelFormat.BULLET, text: "•", alignment: AlignmentType.LEFT,
|
||||||
|
style: { paragraph: { indent: { left: 720, hanging: 360 } } } }] },
|
||||||
|
{ reference: "first-numbered-list",
|
||||||
|
levels: [{ level: 0, format: LevelFormat.DECIMAL, text: "%1.", alignment: AlignmentType.LEFT,
|
||||||
|
style: { paragraph: { indent: { left: 720, hanging: 360 } } } }] },
|
||||||
|
{ reference: "second-numbered-list", // Different reference = restarts at 1
|
||||||
|
levels: [{ level: 0, format: LevelFormat.DECIMAL, text: "%1.", alignment: AlignmentType.LEFT,
|
||||||
|
style: { paragraph: { indent: { left: 720, hanging: 360 } } } }] }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
sections: [{
|
||||||
|
children: [
|
||||||
|
// Bullet list items
|
||||||
|
new Paragraph({ numbering: { reference: "bullet-list", level: 0 },
|
||||||
|
children: [new TextRun("First bullet point")] }),
|
||||||
|
new Paragraph({ numbering: { reference: "bullet-list", level: 0 },
|
||||||
|
children: [new TextRun("Second bullet point")] }),
|
||||||
|
// Numbered list items
|
||||||
|
new Paragraph({ numbering: { reference: "first-numbered-list", level: 0 },
|
||||||
|
children: [new TextRun("First numbered item")] }),
|
||||||
|
new Paragraph({ numbering: { reference: "first-numbered-list", level: 0 },
|
||||||
|
children: [new TextRun("Second numbered item")] }),
|
||||||
|
// ⚠️ CRITICAL: Different reference = INDEPENDENT list that restarts at 1
|
||||||
|
// Same reference = CONTINUES previous numbering
|
||||||
|
new Paragraph({ numbering: { reference: "second-numbered-list", level: 0 },
|
||||||
|
children: [new TextRun("Starts at 1 again (because different reference)")] })
|
||||||
|
]
|
||||||
|
}]
|
||||||
|
});
|
||||||
|
|
||||||
|
// ⚠️ CRITICAL NUMBERING RULE: Each reference creates an INDEPENDENT numbered list
|
||||||
|
// - Same reference = continues numbering (1, 2, 3... then 4, 5, 6...)
|
||||||
|
// - Different reference = restarts at 1 (1, 2, 3... then 1, 2, 3...)
|
||||||
|
// Use unique reference names for each separate numbered section!
|
||||||
|
|
||||||
|
// ⚠️ CRITICAL: NEVER use unicode bullets - they create fake lists that don't work properly
|
||||||
|
// new TextRun("• Item") // WRONG
|
||||||
|
// new SymbolRun({ char: "2022" }) // WRONG
|
||||||
|
// ✅ ALWAYS use numbering config with LevelFormat.BULLET for real Word lists
|
||||||
|
```
|
||||||
|
|
||||||
|
## Tables
|
||||||
|
```javascript
|
||||||
|
// Complete table with margins, borders, headers, and bullet points
|
||||||
|
const tableBorder = { style: BorderStyle.SINGLE, size: 1, color: "CCCCCC" };
|
||||||
|
const cellBorders = { top: tableBorder, bottom: tableBorder, left: tableBorder, right: tableBorder };
|
||||||
|
|
||||||
|
new Table({
|
||||||
|
columnWidths: [4680, 4680], // ⚠️ CRITICAL: Set column widths at table level - values in DXA (twentieths of a point)
|
||||||
|
margins: { top: 100, bottom: 100, left: 180, right: 180 }, // Set once for all cells
|
||||||
|
rows: [
|
||||||
|
new TableRow({
|
||||||
|
tableHeader: true,
|
||||||
|
children: [
|
||||||
|
new TableCell({
|
||||||
|
borders: cellBorders,
|
||||||
|
width: { size: 4680, type: WidthType.DXA }, // ALSO set width on each cell
|
||||||
|
// ⚠️ CRITICAL: Always use ShadingType.CLEAR to prevent black backgrounds in Word.
|
||||||
|
shading: { fill: "D5E8F0", type: ShadingType.CLEAR },
|
||||||
|
verticalAlign: VerticalAlign.CENTER,
|
||||||
|
children: [new Paragraph({
|
||||||
|
alignment: AlignmentType.CENTER,
|
||||||
|
children: [new TextRun({ text: "Header", bold: true, size: 22 })]
|
||||||
|
})]
|
||||||
|
}),
|
||||||
|
new TableCell({
|
||||||
|
borders: cellBorders,
|
||||||
|
width: { size: 4680, type: WidthType.DXA }, // ALSO set width on each cell
|
||||||
|
shading: { fill: "D5E8F0", type: ShadingType.CLEAR },
|
||||||
|
children: [new Paragraph({
|
||||||
|
alignment: AlignmentType.CENTER,
|
||||||
|
children: [new TextRun({ text: "Bullet Points", bold: true, size: 22 })]
|
||||||
|
})]
|
||||||
|
})
|
||||||
|
]
|
||||||
|
}),
|
||||||
|
new TableRow({
|
||||||
|
children: [
|
||||||
|
new TableCell({
|
||||||
|
borders: cellBorders,
|
||||||
|
width: { size: 4680, type: WidthType.DXA }, // ALSO set width on each cell
|
||||||
|
children: [new Paragraph({ children: [new TextRun("Regular data")] })]
|
||||||
|
}),
|
||||||
|
new TableCell({
|
||||||
|
borders: cellBorders,
|
||||||
|
width: { size: 4680, type: WidthType.DXA }, // ALSO set width on each cell
|
||||||
|
children: [
|
||||||
|
new Paragraph({
|
||||||
|
numbering: { reference: "bullet-list", level: 0 },
|
||||||
|
children: [new TextRun("First bullet point")]
|
||||||
|
}),
|
||||||
|
new Paragraph({
|
||||||
|
numbering: { reference: "bullet-list", level: 0 },
|
||||||
|
children: [new TextRun("Second bullet point")]
|
||||||
|
})
|
||||||
|
]
|
||||||
|
})
|
||||||
|
]
|
||||||
|
})
|
||||||
|
]
|
||||||
|
})
|
||||||
|
```
|
||||||
|
|
||||||
|
**IMPORTANT: Table Width & Borders**
|
||||||
|
- Use BOTH `columnWidths: [width1, width2, ...]` array AND `width: { size: X, type: WidthType.DXA }` on each cell
|
||||||
|
- Values in DXA (twentieths of a point): 1440 = 1 inch, Letter usable width = 9360 DXA (with 1" margins)
|
||||||
|
- Apply borders to individual `TableCell` elements, NOT the `Table` itself
|
||||||
|
|
||||||
|
**Precomputed Column Widths (Letter size with 1" margins = 9360 DXA total):**
|
||||||
|
- **2 columns:** `columnWidths: [4680, 4680]` (equal width)
|
||||||
|
- **3 columns:** `columnWidths: [3120, 3120, 3120]` (equal width)
|
||||||
|
|
||||||
|
## Links & Navigation
|
||||||
|
```javascript
|
||||||
|
// TOC (requires headings) - CRITICAL: Use HeadingLevel only, NOT custom styles
|
||||||
|
// ❌ WRONG: new Paragraph({ heading: HeadingLevel.HEADING_1, style: "customHeader", children: [new TextRun("Title")] })
|
||||||
|
// ✅ CORRECT: new Paragraph({ heading: HeadingLevel.HEADING_1, children: [new TextRun("Title")] })
|
||||||
|
new TableOfContents("Table of Contents", { hyperlink: true, headingStyleRange: "1-3" }),
|
||||||
|
|
||||||
|
// External link
|
||||||
|
new Paragraph({
|
||||||
|
children: [new ExternalHyperlink({
|
||||||
|
children: [new TextRun({ text: "Google", style: "Hyperlink" })],
|
||||||
|
link: "https://www.google.com"
|
||||||
|
})]
|
||||||
|
}),
|
||||||
|
|
||||||
|
// Internal link & bookmark
|
||||||
|
new Paragraph({
|
||||||
|
children: [new InternalHyperlink({
|
||||||
|
children: [new TextRun({ text: "Go to Section", style: "Hyperlink" })],
|
||||||
|
anchor: "section1"
|
||||||
|
})]
|
||||||
|
}),
|
||||||
|
new Paragraph({
|
||||||
|
children: [new TextRun("Section Content")],
|
||||||
|
bookmark: { id: "section1", name: "section1" }
|
||||||
|
}),
|
||||||
|
```
|
||||||
|
|
||||||
|
## Images & Media
|
||||||
|
```javascript
|
||||||
|
// Basic image with sizing & positioning
|
||||||
|
// CRITICAL: Always specify 'type' parameter - it's REQUIRED for ImageRun
|
||||||
|
new Paragraph({
|
||||||
|
alignment: AlignmentType.CENTER,
|
||||||
|
children: [new ImageRun({
|
||||||
|
type: "png", // NEW REQUIREMENT: Must specify image type (png, jpg, jpeg, gif, bmp, svg)
|
||||||
|
data: fs.readFileSync("image.png"),
|
||||||
|
transformation: { width: 200, height: 150, rotation: 0 }, // rotation in degrees
|
||||||
|
altText: { title: "Logo", description: "Company logo", name: "Name" } // IMPORTANT: All three fields are required
|
||||||
|
})]
|
||||||
|
})
|
||||||
|
```
|
||||||
|
|
||||||
|
## Page Breaks
|
||||||
|
```javascript
|
||||||
|
// Manual page break
|
||||||
|
new Paragraph({ children: [new PageBreak()] }),
|
||||||
|
|
||||||
|
// Page break before paragraph
|
||||||
|
new Paragraph({
|
||||||
|
pageBreakBefore: true,
|
||||||
|
children: [new TextRun("This starts on a new page")]
|
||||||
|
})
|
||||||
|
|
||||||
|
// ⚠️ CRITICAL: NEVER use PageBreak standalone - it will create invalid XML that Word cannot open
|
||||||
|
// ❌ WRONG: new PageBreak()
|
||||||
|
// ✅ CORRECT: new Paragraph({ children: [new PageBreak()] })
|
||||||
|
```
|
||||||
|
|
||||||
|
## Headers/Footers & Page Setup
|
||||||
|
```javascript
|
||||||
|
const doc = new Document({
|
||||||
|
sections: [{
|
||||||
|
properties: {
|
||||||
|
page: {
|
||||||
|
margin: { top: 1440, right: 1440, bottom: 1440, left: 1440 }, // 1440 = 1 inch
|
||||||
|
size: { orientation: PageOrientation.LANDSCAPE },
|
||||||
|
pageNumbers: { start: 1, formatType: "decimal" } // "upperRoman", "lowerRoman", "upperLetter", "lowerLetter"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
headers: {
|
||||||
|
default: new Header({ children: [new Paragraph({
|
||||||
|
alignment: AlignmentType.RIGHT,
|
||||||
|
children: [new TextRun("Header Text")]
|
||||||
|
})] })
|
||||||
|
},
|
||||||
|
footers: {
|
||||||
|
default: new Footer({ children: [new Paragraph({
|
||||||
|
alignment: AlignmentType.CENTER,
|
||||||
|
children: [new TextRun("Page "), new TextRun({ children: [PageNumber.CURRENT] }), new TextRun(" of "), new TextRun({ children: [PageNumber.TOTAL_PAGES] })]
|
||||||
|
})] })
|
||||||
|
},
|
||||||
|
children: [/* content */]
|
||||||
|
}]
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
## Tabs
|
||||||
|
```javascript
|
||||||
|
new Paragraph({
|
||||||
|
tabStops: [
|
||||||
|
{ type: TabStopType.LEFT, position: TabStopPosition.MAX / 4 },
|
||||||
|
{ type: TabStopType.CENTER, position: TabStopPosition.MAX / 2 },
|
||||||
|
{ type: TabStopType.RIGHT, position: TabStopPosition.MAX * 3 / 4 }
|
||||||
|
],
|
||||||
|
children: [new TextRun("Left\tCenter\tRight")]
|
||||||
|
})
|
||||||
|
```
|
||||||
|
|
||||||
|
## Constants & Quick Reference
|
||||||
|
- **Underlines:** `SINGLE`, `DOUBLE`, `WAVY`, `DASH`
|
||||||
|
- **Borders:** `SINGLE`, `DOUBLE`, `DASHED`, `DOTTED`
|
||||||
|
- **Numbering:** `DECIMAL` (1,2,3), `UPPER_ROMAN` (I,II,III), `LOWER_LETTER` (a,b,c)
|
||||||
|
- **Tabs:** `LEFT`, `CENTER`, `RIGHT`, `DECIMAL`
|
||||||
|
- **Symbols:** `"2022"` (•), `"00A9"` (©), `"00AE"` (®), `"2122"` (™), `"00B0"` (°), `"F070"` (✓), `"F0FC"` (✗)
|
||||||
|
|
||||||
|
## Critical Issues & Common Mistakes
|
||||||
|
- **CRITICAL: PageBreak must ALWAYS be inside a Paragraph** - standalone PageBreak creates invalid XML that Word cannot open
|
||||||
|
- **ALWAYS use ShadingType.CLEAR for table cell shading** - Never use ShadingType.SOLID (causes black background).
|
||||||
|
- Measurements in DXA (1440 = 1 inch) | Each table cell needs ≥1 Paragraph | TOC requires HeadingLevel styles only
|
||||||
|
- **ALWAYS use custom styles** with Arial font for professional appearance and proper visual hierarchy
|
||||||
|
- **ALWAYS set a default font** using `styles.default.document.run.font` - Arial recommended
|
||||||
|
- **ALWAYS use columnWidths array for tables** + individual cell widths for compatibility
|
||||||
|
- **NEVER use unicode symbols for bullets** - always use proper numbering configuration with `LevelFormat.BULLET` constant (NOT the string "bullet")
|
||||||
|
- **NEVER use \n for line breaks anywhere** - always use separate Paragraph elements for each line
|
||||||
|
- **ALWAYS use TextRun objects within Paragraph children** - never use text property directly on Paragraph
|
||||||
|
- **CRITICAL for images**: ImageRun REQUIRES `type` parameter - always specify "png", "jpg", "jpeg", "gif", "bmp", or "svg"
|
||||||
|
- **CRITICAL for bullets**: Must use `LevelFormat.BULLET` constant, not string "bullet", and include `text: "•"` for the bullet character
|
||||||
|
- **CRITICAL for numbering**: Each numbering reference creates an INDEPENDENT list. Same reference = continues numbering (1,2,3 then 4,5,6). Different reference = restarts at 1 (1,2,3 then 1,2,3). Use unique reference names for each separate numbered section!
|
||||||
|
- **CRITICAL for TOC**: When using TableOfContents, headings must use HeadingLevel ONLY - do NOT add custom styles to heading paragraphs or TOC will break
|
||||||
|
- **Tables**: Set `columnWidths` array + individual cell widths, apply borders to cells not table
|
||||||
|
- **Set table margins at TABLE level** for consistent cell padding (avoids repetition per cell)
|
||||||
610
skills/docx/ooxml.md
Normal file
610
skills/docx/ooxml.md
Normal file
@@ -0,0 +1,610 @@
|
|||||||
|
# Office Open XML Technical Reference
|
||||||
|
|
||||||
|
**Important: Read this entire document before starting.** This document covers:
|
||||||
|
- [Technical Guidelines](#technical-guidelines) - Schema compliance rules and validation requirements
|
||||||
|
- [Document Content Patterns](#document-content-patterns) - XML patterns for headings, lists, tables, formatting, etc.
|
||||||
|
- [Document Library (Python)](#document-library-python) - Recommended approach for OOXML manipulation with automatic infrastructure setup
|
||||||
|
- [Tracked Changes (Redlining)](#tracked-changes-redlining) - XML patterns for implementing tracked changes
|
||||||
|
|
||||||
|
## Technical Guidelines
|
||||||
|
|
||||||
|
### Schema Compliance
|
||||||
|
- **Element ordering in `<w:pPr>`**: `<w:pStyle>`, `<w:numPr>`, `<w:spacing>`, `<w:ind>`, `<w:jc>`
|
||||||
|
- **Whitespace**: Add `xml:space='preserve'` to `<w:t>` elements with leading/trailing spaces
|
||||||
|
- **Unicode**: Escape characters in ASCII content: `"` becomes `“`
|
||||||
|
- **Character encoding reference**: Curly quotes `""` become `“”`, apostrophe `'` becomes `’`, em-dash `—` becomes `—`
|
||||||
|
- **Tracked changes**: Use `<w:del>` and `<w:ins>` tags with `w:author="Claude"` outside `<w:r>` elements
|
||||||
|
- **Critical**: `<w:ins>` closes with `</w:ins>`, `<w:del>` closes with `</w:del>` - never mix
|
||||||
|
- **RSIDs must be 8-digit hex**: Use values like `00AB1234` (only 0-9, A-F characters)
|
||||||
|
- **trackRevisions placement**: Add `<w:trackRevisions/>` after `<w:proofState>` in settings.xml
|
||||||
|
- **Images**: Add to `word/media/`, reference in `document.xml`, set dimensions to prevent overflow
|
||||||
|
|
||||||
|
## Document Content Patterns
|
||||||
|
|
||||||
|
### Basic Structure
|
||||||
|
```xml
|
||||||
|
<w:p>
|
||||||
|
<w:r><w:t>Text content</w:t></w:r>
|
||||||
|
</w:p>
|
||||||
|
```
|
||||||
|
|
||||||
|
### Headings and Styles
|
||||||
|
```xml
|
||||||
|
<w:p>
|
||||||
|
<w:pPr>
|
||||||
|
<w:pStyle w:val="Title"/>
|
||||||
|
<w:jc w:val="center"/>
|
||||||
|
</w:pPr>
|
||||||
|
<w:r><w:t>Document Title</w:t></w:r>
|
||||||
|
</w:p>
|
||||||
|
|
||||||
|
<w:p>
|
||||||
|
<w:pPr><w:pStyle w:val="Heading2"/></w:pPr>
|
||||||
|
<w:r><w:t>Section Heading</w:t></w:r>
|
||||||
|
</w:p>
|
||||||
|
```
|
||||||
|
|
||||||
|
### Text Formatting
|
||||||
|
```xml
|
||||||
|
<!-- Bold -->
|
||||||
|
<w:r><w:rPr><w:b/><w:bCs/></w:rPr><w:t>Bold</w:t></w:r>
|
||||||
|
<!-- Italic -->
|
||||||
|
<w:r><w:rPr><w:i/><w:iCs/></w:rPr><w:t>Italic</w:t></w:r>
|
||||||
|
<!-- Underline -->
|
||||||
|
<w:r><w:rPr><w:u w:val="single"/></w:rPr><w:t>Underlined</w:t></w:r>
|
||||||
|
<!-- Highlight -->
|
||||||
|
<w:r><w:rPr><w:highlight w:val="yellow"/></w:rPr><w:t>Highlighted</w:t></w:r>
|
||||||
|
```
|
||||||
|
|
||||||
|
### Lists
|
||||||
|
```xml
|
||||||
|
<!-- Numbered list -->
|
||||||
|
<w:p>
|
||||||
|
<w:pPr>
|
||||||
|
<w:pStyle w:val="ListParagraph"/>
|
||||||
|
<w:numPr><w:ilvl w:val="0"/><w:numId w:val="1"/></w:numPr>
|
||||||
|
<w:spacing w:before="240"/>
|
||||||
|
</w:pPr>
|
||||||
|
<w:r><w:t>First item</w:t></w:r>
|
||||||
|
</w:p>
|
||||||
|
|
||||||
|
<!-- Restart numbered list at 1 - use different numId -->
|
||||||
|
<w:p>
|
||||||
|
<w:pPr>
|
||||||
|
<w:pStyle w:val="ListParagraph"/>
|
||||||
|
<w:numPr><w:ilvl w:val="0"/><w:numId w:val="2"/></w:numPr>
|
||||||
|
<w:spacing w:before="240"/>
|
||||||
|
</w:pPr>
|
||||||
|
<w:r><w:t>New list item 1</w:t></w:r>
|
||||||
|
</w:p>
|
||||||
|
|
||||||
|
<!-- Bullet list (level 2) -->
|
||||||
|
<w:p>
|
||||||
|
<w:pPr>
|
||||||
|
<w:pStyle w:val="ListParagraph"/>
|
||||||
|
<w:numPr><w:ilvl w:val="1"/><w:numId w:val="1"/></w:numPr>
|
||||||
|
<w:spacing w:before="240"/>
|
||||||
|
<w:ind w:left="900"/>
|
||||||
|
</w:pPr>
|
||||||
|
<w:r><w:t>Bullet item</w:t></w:r>
|
||||||
|
</w:p>
|
||||||
|
```
|
||||||
|
|
||||||
|
### Tables
|
||||||
|
```xml
|
||||||
|
<w:tbl>
|
||||||
|
<w:tblPr>
|
||||||
|
<w:tblStyle w:val="TableGrid"/>
|
||||||
|
<w:tblW w:w="0" w:type="auto"/>
|
||||||
|
</w:tblPr>
|
||||||
|
<w:tblGrid>
|
||||||
|
<w:gridCol w:w="4675"/><w:gridCol w:w="4675"/>
|
||||||
|
</w:tblGrid>
|
||||||
|
<w:tr>
|
||||||
|
<w:tc>
|
||||||
|
<w:tcPr><w:tcW w:w="4675" w:type="dxa"/></w:tcPr>
|
||||||
|
<w:p><w:r><w:t>Cell 1</w:t></w:r></w:p>
|
||||||
|
</w:tc>
|
||||||
|
<w:tc>
|
||||||
|
<w:tcPr><w:tcW w:w="4675" w:type="dxa"/></w:tcPr>
|
||||||
|
<w:p><w:r><w:t>Cell 2</w:t></w:r></w:p>
|
||||||
|
</w:tc>
|
||||||
|
</w:tr>
|
||||||
|
</w:tbl>
|
||||||
|
```
|
||||||
|
|
||||||
|
### Layout
|
||||||
|
```xml
|
||||||
|
<!-- Page break before new section (common pattern) -->
|
||||||
|
<w:p>
|
||||||
|
<w:r>
|
||||||
|
<w:br w:type="page"/>
|
||||||
|
</w:r>
|
||||||
|
</w:p>
|
||||||
|
<w:p>
|
||||||
|
<w:pPr>
|
||||||
|
<w:pStyle w:val="Heading1"/>
|
||||||
|
</w:pPr>
|
||||||
|
<w:r>
|
||||||
|
<w:t>New Section Title</w:t>
|
||||||
|
</w:r>
|
||||||
|
</w:p>
|
||||||
|
|
||||||
|
<!-- Centered paragraph -->
|
||||||
|
<w:p>
|
||||||
|
<w:pPr>
|
||||||
|
<w:spacing w:before="240" w:after="0"/>
|
||||||
|
<w:jc w:val="center"/>
|
||||||
|
</w:pPr>
|
||||||
|
<w:r><w:t>Centered text</w:t></w:r>
|
||||||
|
</w:p>
|
||||||
|
|
||||||
|
<!-- Font change - paragraph level (applies to all runs) -->
|
||||||
|
<w:p>
|
||||||
|
<w:pPr>
|
||||||
|
<w:rPr><w:rFonts w:ascii="Courier New" w:hAnsi="Courier New"/></w:rPr>
|
||||||
|
</w:pPr>
|
||||||
|
<w:r><w:t>Monospace text</w:t></w:r>
|
||||||
|
</w:p>
|
||||||
|
|
||||||
|
<!-- Font change - run level (specific to this text) -->
|
||||||
|
<w:p>
|
||||||
|
<w:r>
|
||||||
|
<w:rPr><w:rFonts w:ascii="Courier New" w:hAnsi="Courier New"/></w:rPr>
|
||||||
|
<w:t>This text is Courier New</w:t>
|
||||||
|
</w:r>
|
||||||
|
<w:r><w:t> and this text uses default font</w:t></w:r>
|
||||||
|
</w:p>
|
||||||
|
```
|
||||||
|
|
||||||
|
## File Updates
|
||||||
|
|
||||||
|
When adding content, update these files:
|
||||||
|
|
||||||
|
**`word/_rels/document.xml.rels`:**
|
||||||
|
```xml
|
||||||
|
<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering" Target="numbering.xml"/>
|
||||||
|
<Relationship Id="rId5" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="media/image1.png"/>
|
||||||
|
```
|
||||||
|
|
||||||
|
**`[Content_Types].xml`:**
|
||||||
|
```xml
|
||||||
|
<Default Extension="png" ContentType="image/png"/>
|
||||||
|
<Override PartName="/word/numbering.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml"/>
|
||||||
|
```
|
||||||
|
|
||||||
|
### Images
|
||||||
|
**CRITICAL**: Calculate dimensions to prevent page overflow and maintain aspect ratio.
|
||||||
|
|
||||||
|
```xml
|
||||||
|
<!-- Minimal required structure -->
|
||||||
|
<w:p>
|
||||||
|
<w:r>
|
||||||
|
<w:drawing>
|
||||||
|
<wp:inline>
|
||||||
|
<wp:extent cx="2743200" cy="1828800"/>
|
||||||
|
<wp:docPr id="1" name="Picture 1"/>
|
||||||
|
<a:graphic xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main">
|
||||||
|
<a:graphicData uri="http://schemas.openxmlformats.org/drawingml/2006/picture">
|
||||||
|
<pic:pic xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture">
|
||||||
|
<pic:nvPicPr>
|
||||||
|
<pic:cNvPr id="0" name="image1.png"/>
|
||||||
|
<pic:cNvPicPr/>
|
||||||
|
</pic:nvPicPr>
|
||||||
|
<pic:blipFill>
|
||||||
|
<a:blip r:embed="rId5"/>
|
||||||
|
<!-- Add for stretch fill with aspect ratio preservation -->
|
||||||
|
<a:stretch>
|
||||||
|
<a:fillRect/>
|
||||||
|
</a:stretch>
|
||||||
|
</pic:blipFill>
|
||||||
|
<pic:spPr>
|
||||||
|
<a:xfrm>
|
||||||
|
<a:ext cx="2743200" cy="1828800"/>
|
||||||
|
</a:xfrm>
|
||||||
|
<a:prstGeom prst="rect"/>
|
||||||
|
</pic:spPr>
|
||||||
|
</pic:pic>
|
||||||
|
</a:graphicData>
|
||||||
|
</a:graphic>
|
||||||
|
</wp:inline>
|
||||||
|
</w:drawing>
|
||||||
|
</w:r>
|
||||||
|
</w:p>
|
||||||
|
```
|
||||||
|
|
||||||
|
### Links (Hyperlinks)
|
||||||
|
|
||||||
|
**IMPORTANT**: All hyperlinks (both internal and external) require the Hyperlink style to be defined in styles.xml. Without this style, links will look like regular text instead of blue underlined clickable links.
|
||||||
|
|
||||||
|
**External Links:**
|
||||||
|
```xml
|
||||||
|
<!-- In document.xml -->
|
||||||
|
<w:hyperlink r:id="rId5">
|
||||||
|
<w:r>
|
||||||
|
<w:rPr><w:rStyle w:val="Hyperlink"/></w:rPr>
|
||||||
|
<w:t>Link Text</w:t>
|
||||||
|
</w:r>
|
||||||
|
</w:hyperlink>
|
||||||
|
|
||||||
|
<!-- In word/_rels/document.xml.rels -->
|
||||||
|
<Relationship Id="rId5" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink"
|
||||||
|
Target="https://www.example.com/" TargetMode="External"/>
|
||||||
|
```
|
||||||
|
|
||||||
|
**Internal Links:**
|
||||||
|
|
||||||
|
```xml
|
||||||
|
<!-- Link to bookmark -->
|
||||||
|
<w:hyperlink w:anchor="myBookmark">
|
||||||
|
<w:r>
|
||||||
|
<w:rPr><w:rStyle w:val="Hyperlink"/></w:rPr>
|
||||||
|
<w:t>Link Text</w:t>
|
||||||
|
</w:r>
|
||||||
|
</w:hyperlink>
|
||||||
|
|
||||||
|
<!-- Bookmark target -->
|
||||||
|
<w:bookmarkStart w:id="0" w:name="myBookmark"/>
|
||||||
|
<w:r><w:t>Target content</w:t></w:r>
|
||||||
|
<w:bookmarkEnd w:id="0"/>
|
||||||
|
```
|
||||||
|
|
||||||
|
**Hyperlink Style (required in styles.xml):**
|
||||||
|
```xml
|
||||||
|
<w:style w:type="character" w:styleId="Hyperlink">
|
||||||
|
<w:name w:val="Hyperlink"/>
|
||||||
|
<w:basedOn w:val="DefaultParagraphFont"/>
|
||||||
|
<w:uiPriority w:val="99"/>
|
||||||
|
<w:unhideWhenUsed/>
|
||||||
|
<w:rPr>
|
||||||
|
<w:color w:val="467886" w:themeColor="hyperlink"/>
|
||||||
|
<w:u w:val="single"/>
|
||||||
|
</w:rPr>
|
||||||
|
</w:style>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Document Library (Python)
|
||||||
|
|
||||||
|
Use the Document class from `scripts/document.py` for all tracked changes and comments. It automatically handles infrastructure setup (people.xml, RSIDs, settings.xml, comment files, relationships, content types). Only use direct XML manipulation for complex scenarios not supported by the library.
|
||||||
|
|
||||||
|
**Working with Unicode and Entities:**
|
||||||
|
- **Searching**: Both entity notation and Unicode characters work - `contains="“Company"` and `contains="\u201cCompany"` find the same text
|
||||||
|
- **Replacing**: Use either entities (`“`) or Unicode (`\u201c`) - both work and will be converted appropriately based on the file's encoding (ascii → entities, utf-8 → Unicode)
|
||||||
|
|
||||||
|
### Initialization
|
||||||
|
|
||||||
|
**Find the docx skill root** (directory containing `scripts/` and `ooxml/`):
|
||||||
|
```bash
|
||||||
|
# Search for document.py to locate the skill root
|
||||||
|
# Note: /mnt/skills is used here as an example; check your context for the actual location
|
||||||
|
find /mnt/skills -name "document.py" -path "*/docx/scripts/*" 2>/dev/null | head -1
|
||||||
|
# Example output: /mnt/skills/docx/scripts/document.py
|
||||||
|
# Skill root is: /mnt/skills/docx
|
||||||
|
```
|
||||||
|
|
||||||
|
**Run your script with PYTHONPATH** set to the docx skill root:
|
||||||
|
```bash
|
||||||
|
PYTHONPATH=/mnt/skills/docx python your_script.py
|
||||||
|
```
|
||||||
|
|
||||||
|
**In your script**, import from the skill root:
|
||||||
|
```python
|
||||||
|
from scripts.document import Document, DocxXMLEditor
|
||||||
|
|
||||||
|
# Basic initialization (automatically creates temp copy and sets up infrastructure)
|
||||||
|
doc = Document('unpacked')
|
||||||
|
|
||||||
|
# Customize author and initials
|
||||||
|
doc = Document('unpacked', author="John Doe", initials="JD")
|
||||||
|
|
||||||
|
# Enable track revisions mode
|
||||||
|
doc = Document('unpacked', track_revisions=True)
|
||||||
|
|
||||||
|
# Specify custom RSID (auto-generated if not provided)
|
||||||
|
doc = Document('unpacked', rsid="07DC5ECB")
|
||||||
|
```
|
||||||
|
|
||||||
|
### Creating Tracked Changes
|
||||||
|
|
||||||
|
**CRITICAL**: Only mark text that actually changes. Keep ALL unchanged text outside `<w:del>`/`<w:ins>` tags. Marking unchanged text makes edits unprofessional and harder to review.
|
||||||
|
|
||||||
|
**Attribute Handling**: The Document class auto-injects attributes (w:id, w:date, w:rsidR, w:rsidDel, w16du:dateUtc, xml:space) into new elements. When preserving unchanged text from the original document, copy the original `<w:r>` element with its existing attributes to maintain document integrity.
|
||||||
|
|
||||||
|
**Method Selection Guide**:
|
||||||
|
- **Adding your own changes to regular text**: Use `replace_node()` with `<w:del>`/`<w:ins>` tags, or `suggest_deletion()` for removing entire `<w:r>` or `<w:p>` elements
|
||||||
|
- **Partially modifying another author's tracked change**: Use `replace_node()` to nest your changes inside their `<w:ins>`/`<w:del>`
|
||||||
|
- **Completely rejecting another author's insertion**: Use `revert_insertion()` on the `<w:ins>` element (NOT `suggest_deletion()`)
|
||||||
|
- **Completely rejecting another author's deletion**: Use `revert_deletion()` on the `<w:del>` element to restore deleted content using tracked changes
|
||||||
|
|
||||||
|
```python
|
||||||
|
# Minimal edit - change one word: "The report is monthly" → "The report is quarterly"
|
||||||
|
# Original: <w:r w:rsidR="00AB12CD"><w:rPr><w:rFonts w:ascii="Calibri"/></w:rPr><w:t>The report is monthly</w:t></w:r>
|
||||||
|
node = doc["word/document.xml"].get_node(tag="w:r", contains="The report is monthly")
|
||||||
|
rpr = tags[0].toxml() if (tags := node.getElementsByTagName("w:rPr")) else ""
|
||||||
|
replacement = f'<w:r w:rsidR="00AB12CD">{rpr}<w:t>The report is </w:t></w:r><w:del><w:r>{rpr}<w:delText>monthly</w:delText></w:r></w:del><w:ins><w:r>{rpr}<w:t>quarterly</w:t></w:r></w:ins>'
|
||||||
|
doc["word/document.xml"].replace_node(node, replacement)
|
||||||
|
|
||||||
|
# Minimal edit - change number: "within 30 days" → "within 45 days"
|
||||||
|
# Original: <w:r w:rsidR="00XYZ789"><w:rPr><w:rFonts w:ascii="Calibri"/></w:rPr><w:t>within 30 days</w:t></w:r>
|
||||||
|
node = doc["word/document.xml"].get_node(tag="w:r", contains="within 30 days")
|
||||||
|
rpr = tags[0].toxml() if (tags := node.getElementsByTagName("w:rPr")) else ""
|
||||||
|
replacement = f'<w:r w:rsidR="00XYZ789">{rpr}<w:t>within </w:t></w:r><w:del><w:r>{rpr}<w:delText>30</w:delText></w:r></w:del><w:ins><w:r>{rpr}<w:t>45</w:t></w:r></w:ins><w:r w:rsidR="00XYZ789">{rpr}<w:t> days</w:t></w:r>'
|
||||||
|
doc["word/document.xml"].replace_node(node, replacement)
|
||||||
|
|
||||||
|
# Complete replacement - preserve formatting even when replacing all text
|
||||||
|
node = doc["word/document.xml"].get_node(tag="w:r", contains="apple")
|
||||||
|
rpr = tags[0].toxml() if (tags := node.getElementsByTagName("w:rPr")) else ""
|
||||||
|
replacement = f'<w:del><w:r>{rpr}<w:delText>apple</w:delText></w:r></w:del><w:ins><w:r>{rpr}<w:t>banana orange</w:t></w:r></w:ins>'
|
||||||
|
doc["word/document.xml"].replace_node(node, replacement)
|
||||||
|
|
||||||
|
# Insert new content (no attributes needed - auto-injected)
|
||||||
|
node = doc["word/document.xml"].get_node(tag="w:r", contains="existing text")
|
||||||
|
doc["word/document.xml"].insert_after(node, '<w:ins><w:r><w:t>new text</w:t></w:r></w:ins>')
|
||||||
|
|
||||||
|
# Partially delete another author's insertion
|
||||||
|
# Original: <w:ins w:author="Jane Smith" w:date="..."><w:r><w:t>quarterly financial report</w:t></w:r></w:ins>
|
||||||
|
# Goal: Delete only "financial" to make it "quarterly report"
|
||||||
|
node = doc["word/document.xml"].get_node(tag="w:ins", attrs={"w:id": "5"})
|
||||||
|
# IMPORTANT: Preserve w:author="Jane Smith" on the outer <w:ins> to maintain authorship
|
||||||
|
replacement = '''<w:ins w:author="Jane Smith" w:date="2025-01-15T10:00:00Z">
|
||||||
|
<w:r><w:t>quarterly </w:t></w:r>
|
||||||
|
<w:del><w:r><w:delText>financial </w:delText></w:r></w:del>
|
||||||
|
<w:r><w:t>report</w:t></w:r>
|
||||||
|
</w:ins>'''
|
||||||
|
doc["word/document.xml"].replace_node(node, replacement)
|
||||||
|
|
||||||
|
# Change part of another author's insertion
|
||||||
|
# Original: <w:ins w:author="Jane Smith"><w:r><w:t>in silence, safe and sound</w:t></w:r></w:ins>
|
||||||
|
# Goal: Change "safe and sound" to "soft and unbound"
|
||||||
|
node = doc["word/document.xml"].get_node(tag="w:ins", attrs={"w:id": "8"})
|
||||||
|
replacement = f'''<w:ins w:author="Jane Smith" w:date="2025-01-15T10:00:00Z">
|
||||||
|
<w:r><w:t>in silence, </w:t></w:r>
|
||||||
|
</w:ins>
|
||||||
|
<w:ins>
|
||||||
|
<w:r><w:t>soft and unbound</w:t></w:r>
|
||||||
|
</w:ins>
|
||||||
|
<w:ins w:author="Jane Smith" w:date="2025-01-15T10:00:00Z">
|
||||||
|
<w:del><w:r><w:delText>safe and sound</w:delText></w:r></w:del>
|
||||||
|
</w:ins>'''
|
||||||
|
doc["word/document.xml"].replace_node(node, replacement)
|
||||||
|
|
||||||
|
# Delete entire run (use only when deleting all content; use replace_node for partial deletions)
|
||||||
|
node = doc["word/document.xml"].get_node(tag="w:r", contains="text to delete")
|
||||||
|
doc["word/document.xml"].suggest_deletion(node)
|
||||||
|
|
||||||
|
# Delete entire paragraph (in-place, handles both regular and numbered list paragraphs)
|
||||||
|
para = doc["word/document.xml"].get_node(tag="w:p", contains="paragraph to delete")
|
||||||
|
doc["word/document.xml"].suggest_deletion(para)
|
||||||
|
|
||||||
|
# Add new numbered list item
|
||||||
|
target_para = doc["word/document.xml"].get_node(tag="w:p", contains="existing list item")
|
||||||
|
pPr = tags[0].toxml() if (tags := target_para.getElementsByTagName("w:pPr")) else ""
|
||||||
|
new_item = f'<w:p>{pPr}<w:r><w:t>New item</w:t></w:r></w:p>'
|
||||||
|
tracked_para = DocxXMLEditor.suggest_paragraph(new_item)
|
||||||
|
doc["word/document.xml"].insert_after(target_para, tracked_para)
|
||||||
|
# Optional: add spacing paragraph before content for better visual separation
|
||||||
|
# spacing = DocxXMLEditor.suggest_paragraph('<w:p><w:pPr><w:pStyle w:val="ListParagraph"/></w:pPr></w:p>')
|
||||||
|
# doc["word/document.xml"].insert_after(target_para, spacing + tracked_para)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Adding Comments
|
||||||
|
|
||||||
|
```python
|
||||||
|
# Add comment spanning two existing tracked changes
|
||||||
|
# Note: w:id is auto-generated. Only search by w:id if you know it from XML inspection
|
||||||
|
start_node = doc["word/document.xml"].get_node(tag="w:del", attrs={"w:id": "1"})
|
||||||
|
end_node = doc["word/document.xml"].get_node(tag="w:ins", attrs={"w:id": "2"})
|
||||||
|
doc.add_comment(start=start_node, end=end_node, text="Explanation of this change")
|
||||||
|
|
||||||
|
# Add comment on a paragraph
|
||||||
|
para = doc["word/document.xml"].get_node(tag="w:p", contains="paragraph text")
|
||||||
|
doc.add_comment(start=para, end=para, text="Comment on this paragraph")
|
||||||
|
|
||||||
|
# Add comment on newly created tracked change
|
||||||
|
# First create the tracked change
|
||||||
|
node = doc["word/document.xml"].get_node(tag="w:r", contains="old")
|
||||||
|
new_nodes = doc["word/document.xml"].replace_node(
|
||||||
|
node,
|
||||||
|
'<w:del><w:r><w:delText>old</w:delText></w:r></w:del><w:ins><w:r><w:t>new</w:t></w:r></w:ins>'
|
||||||
|
)
|
||||||
|
# Then add comment on the newly created elements
|
||||||
|
# new_nodes[0] is the <w:del>, new_nodes[1] is the <w:ins>
|
||||||
|
doc.add_comment(start=new_nodes[0], end=new_nodes[1], text="Changed old to new per requirements")
|
||||||
|
|
||||||
|
# Reply to existing comment
|
||||||
|
doc.reply_to_comment(parent_comment_id=0, text="I agree with this change")
|
||||||
|
```
|
||||||
|
|
||||||
|
### Rejecting Tracked Changes
|
||||||
|
|
||||||
|
**IMPORTANT**: Use `revert_insertion()` to reject insertions and `revert_deletion()` to restore deletions using tracked changes. Use `suggest_deletion()` only for regular unmarked content.
|
||||||
|
|
||||||
|
```python
|
||||||
|
# Reject insertion (wraps it in deletion)
|
||||||
|
# Use this when another author inserted text that you want to delete
|
||||||
|
ins = doc["word/document.xml"].get_node(tag="w:ins", attrs={"w:id": "5"})
|
||||||
|
nodes = doc["word/document.xml"].revert_insertion(ins) # Returns [ins]
|
||||||
|
|
||||||
|
# Reject deletion (creates insertion to restore deleted content)
|
||||||
|
# Use this when another author deleted text that you want to restore
|
||||||
|
del_elem = doc["word/document.xml"].get_node(tag="w:del", attrs={"w:id": "3"})
|
||||||
|
nodes = doc["word/document.xml"].revert_deletion(del_elem) # Returns [del_elem, new_ins]
|
||||||
|
|
||||||
|
# Reject all insertions in a paragraph
|
||||||
|
para = doc["word/document.xml"].get_node(tag="w:p", contains="paragraph text")
|
||||||
|
nodes = doc["word/document.xml"].revert_insertion(para) # Returns [para]
|
||||||
|
|
||||||
|
# Reject all deletions in a paragraph
|
||||||
|
para = doc["word/document.xml"].get_node(tag="w:p", contains="paragraph text")
|
||||||
|
nodes = doc["word/document.xml"].revert_deletion(para) # Returns [para]
|
||||||
|
```
|
||||||
|
|
||||||
|
### Inserting Images
|
||||||
|
|
||||||
|
**CRITICAL**: The Document class works with a temporary copy at `doc.unpacked_path`. Always copy images to this temp directory, not the original unpacked folder.
|
||||||
|
|
||||||
|
```python
|
||||||
|
from PIL import Image
|
||||||
|
import shutil, os
|
||||||
|
|
||||||
|
# Initialize document first
|
||||||
|
doc = Document('unpacked')
|
||||||
|
|
||||||
|
# Copy image and calculate full-width dimensions with aspect ratio
|
||||||
|
media_dir = os.path.join(doc.unpacked_path, 'word/media')
|
||||||
|
os.makedirs(media_dir, exist_ok=True)
|
||||||
|
shutil.copy('image.png', os.path.join(media_dir, 'image1.png'))
|
||||||
|
img = Image.open(os.path.join(media_dir, 'image1.png'))
|
||||||
|
width_emus = int(6.5 * 914400) # 6.5" usable width, 914400 EMUs/inch
|
||||||
|
height_emus = int(width_emus * img.size[1] / img.size[0])
|
||||||
|
|
||||||
|
# Add relationship and content type
|
||||||
|
rels_editor = doc['word/_rels/document.xml.rels']
|
||||||
|
next_rid = rels_editor.get_next_rid()
|
||||||
|
rels_editor.append_to(rels_editor.dom.documentElement,
|
||||||
|
f'<Relationship Id="{next_rid}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="media/image1.png"/>')
|
||||||
|
doc['[Content_Types].xml'].append_to(doc['[Content_Types].xml'].dom.documentElement,
|
||||||
|
'<Default Extension="png" ContentType="image/png"/>')
|
||||||
|
|
||||||
|
# Insert image
|
||||||
|
node = doc["word/document.xml"].get_node(tag="w:p", line_number=100)
|
||||||
|
doc["word/document.xml"].insert_after(node, f'''<w:p>
|
||||||
|
<w:r>
|
||||||
|
<w:drawing>
|
||||||
|
<wp:inline distT="0" distB="0" distL="0" distR="0">
|
||||||
|
<wp:extent cx="{width_emus}" cy="{height_emus}"/>
|
||||||
|
<wp:docPr id="1" name="Picture 1"/>
|
||||||
|
<a:graphic xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main">
|
||||||
|
<a:graphicData uri="http://schemas.openxmlformats.org/drawingml/2006/picture">
|
||||||
|
<pic:pic xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture">
|
||||||
|
<pic:nvPicPr><pic:cNvPr id="1" name="image1.png"/><pic:cNvPicPr/></pic:nvPicPr>
|
||||||
|
<pic:blipFill><a:blip r:embed="{next_rid}"/><a:stretch><a:fillRect/></a:stretch></pic:blipFill>
|
||||||
|
<pic:spPr><a:xfrm><a:ext cx="{width_emus}" cy="{height_emus}"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></pic:spPr>
|
||||||
|
</pic:pic>
|
||||||
|
</a:graphicData>
|
||||||
|
</a:graphic>
|
||||||
|
</wp:inline>
|
||||||
|
</w:drawing>
|
||||||
|
</w:r>
|
||||||
|
</w:p>''')
|
||||||
|
```
|
||||||
|
|
||||||
|
### Getting Nodes
|
||||||
|
|
||||||
|
```python
|
||||||
|
# By text content
|
||||||
|
node = doc["word/document.xml"].get_node(tag="w:p", contains="specific text")
|
||||||
|
|
||||||
|
# By line range
|
||||||
|
para = doc["word/document.xml"].get_node(tag="w:p", line_number=range(100, 150))
|
||||||
|
|
||||||
|
# By attributes
|
||||||
|
node = doc["word/document.xml"].get_node(tag="w:del", attrs={"w:id": "1"})
|
||||||
|
|
||||||
|
# By exact line number (must be line number where tag opens)
|
||||||
|
para = doc["word/document.xml"].get_node(tag="w:p", line_number=42)
|
||||||
|
|
||||||
|
# Combine filters
|
||||||
|
node = doc["word/document.xml"].get_node(tag="w:r", line_number=range(40, 60), contains="text")
|
||||||
|
|
||||||
|
# Disambiguate when text appears multiple times - add line_number range
|
||||||
|
node = doc["word/document.xml"].get_node(tag="w:r", contains="Section", line_number=range(2400, 2500))
|
||||||
|
```
|
||||||
|
|
||||||
|
### Saving
|
||||||
|
|
||||||
|
```python
|
||||||
|
# Save with automatic validation (copies back to original directory)
|
||||||
|
doc.save() # Validates by default, raises error if validation fails
|
||||||
|
|
||||||
|
# Save to different location
|
||||||
|
doc.save('modified-unpacked')
|
||||||
|
|
||||||
|
# Skip validation (debugging only - needing this in production indicates XML issues)
|
||||||
|
doc.save(validate=False)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Direct DOM Manipulation
|
||||||
|
|
||||||
|
For complex scenarios not covered by the library:
|
||||||
|
|
||||||
|
```python
|
||||||
|
# Access any XML file
|
||||||
|
editor = doc["word/document.xml"]
|
||||||
|
editor = doc["word/comments.xml"]
|
||||||
|
|
||||||
|
# Direct DOM access (defusedxml.minidom.Document)
|
||||||
|
node = doc["word/document.xml"].get_node(tag="w:p", line_number=5)
|
||||||
|
parent = node.parentNode
|
||||||
|
parent.removeChild(node)
|
||||||
|
parent.appendChild(node) # Move to end
|
||||||
|
|
||||||
|
# General document manipulation (without tracked changes)
|
||||||
|
old_node = doc["word/document.xml"].get_node(tag="w:p", contains="original text")
|
||||||
|
doc["word/document.xml"].replace_node(old_node, "<w:p><w:r><w:t>replacement text</w:t></w:r></w:p>")
|
||||||
|
|
||||||
|
# Multiple insertions - use return value to maintain order
|
||||||
|
node = doc["word/document.xml"].get_node(tag="w:r", line_number=100)
|
||||||
|
nodes = doc["word/document.xml"].insert_after(node, "<w:r><w:t>A</w:t></w:r>")
|
||||||
|
nodes = doc["word/document.xml"].insert_after(nodes[-1], "<w:r><w:t>B</w:t></w:r>")
|
||||||
|
nodes = doc["word/document.xml"].insert_after(nodes[-1], "<w:r><w:t>C</w:t></w:r>")
|
||||||
|
# Results in: original_node, A, B, C
|
||||||
|
```
|
||||||
|
|
||||||
|
## Tracked Changes (Redlining)
|
||||||
|
|
||||||
|
**Use the Document class above for all tracked changes.** The patterns below are for reference when constructing replacement XML strings.
|
||||||
|
|
||||||
|
### Validation Rules
|
||||||
|
The validator checks that the document text matches the original after reverting Claude's changes. This means:
|
||||||
|
- **NEVER modify text inside another author's `<w:ins>` or `<w:del>` tags**
|
||||||
|
- **ALWAYS use nested deletions** to remove another author's insertions
|
||||||
|
- **Every edit must be properly tracked** with `<w:ins>` or `<w:del>` tags
|
||||||
|
|
||||||
|
### Tracked Change Patterns
|
||||||
|
|
||||||
|
**CRITICAL RULES**:
|
||||||
|
1. Never modify the content inside another author's tracked changes. Always use nested deletions.
|
||||||
|
2. **XML Structure**: Always place `<w:del>` and `<w:ins>` at paragraph level containing complete `<w:r>` elements. Never nest inside `<w:r>` elements - this creates invalid XML that breaks document processing.
|
||||||
|
|
||||||
|
**Text Insertion:**
|
||||||
|
```xml
|
||||||
|
<w:ins w:id="1" w:author="Claude" w:date="2025-07-30T23:05:00Z" w16du:dateUtc="2025-07-31T06:05:00Z">
|
||||||
|
<w:r w:rsidR="00792858">
|
||||||
|
<w:t>inserted text</w:t>
|
||||||
|
</w:r>
|
||||||
|
</w:ins>
|
||||||
|
```
|
||||||
|
|
||||||
|
**Text Deletion:**
|
||||||
|
```xml
|
||||||
|
<w:del w:id="2" w:author="Claude" w:date="2025-07-30T23:05:00Z" w16du:dateUtc="2025-07-31T06:05:00Z">
|
||||||
|
<w:r w:rsidDel="00792858">
|
||||||
|
<w:delText>deleted text</w:delText>
|
||||||
|
</w:r>
|
||||||
|
</w:del>
|
||||||
|
```
|
||||||
|
|
||||||
|
**Deleting Another Author's Insertion (MUST use nested structure):**
|
||||||
|
```xml
|
||||||
|
<!-- Nest deletion inside the original insertion -->
|
||||||
|
<w:ins w:author="Jane Smith" w:id="16">
|
||||||
|
<w:del w:author="Claude" w:id="40">
|
||||||
|
<w:r><w:delText>monthly</w:delText></w:r>
|
||||||
|
</w:del>
|
||||||
|
</w:ins>
|
||||||
|
<w:ins w:author="Claude" w:id="41">
|
||||||
|
<w:r><w:t>weekly</w:t></w:r>
|
||||||
|
</w:ins>
|
||||||
|
```
|
||||||
|
|
||||||
|
**Restoring Another Author's Deletion:**
|
||||||
|
```xml
|
||||||
|
<!-- Leave their deletion unchanged, add new insertion after it -->
|
||||||
|
<w:del w:author="Jane Smith" w:id="50">
|
||||||
|
<w:r><w:delText>within 30 days</w:delText></w:r>
|
||||||
|
</w:del>
|
||||||
|
<w:ins w:author="Claude" w:id="51">
|
||||||
|
<w:r><w:t>within 30 days</w:t></w:r>
|
||||||
|
</w:ins>
|
||||||
|
```
|
||||||
1499
skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd
Normal file
1499
skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,146 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||||
|
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
|
||||||
|
xmlns="http://schemas.openxmlformats.org/drawingml/2006/chartDrawing"
|
||||||
|
targetNamespace="http://schemas.openxmlformats.org/drawingml/2006/chartDrawing"
|
||||||
|
elementFormDefault="qualified">
|
||||||
|
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main"
|
||||||
|
schemaLocation="dml-main.xsd"/>
|
||||||
|
<xsd:complexType name="CT_ShapeNonVisual">
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xsd:element name="cNvSpPr" type="a:CT_NonVisualDrawingShapeProps" minOccurs="1" maxOccurs="1"
|
||||||
|
/>
|
||||||
|
</xsd:sequence>
|
||||||
|
</xsd:complexType>
|
||||||
|
<xsd:complexType name="CT_Shape">
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="nvSpPr" type="CT_ShapeNonVisual" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xsd:element name="style" type="a:CT_ShapeStyle" minOccurs="0" maxOccurs="1"/>
|
||||||
|
<xsd:element name="txBody" type="a:CT_TextBody" minOccurs="0" maxOccurs="1"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="macro" type="xsd:string" use="optional"/>
|
||||||
|
<xsd:attribute name="textlink" type="xsd:string" use="optional"/>
|
||||||
|
<xsd:attribute name="fLocksText" type="xsd:boolean" use="optional" default="true"/>
|
||||||
|
<xsd:attribute name="fPublished" type="xsd:boolean" use="optional" default="false"/>
|
||||||
|
</xsd:complexType>
|
||||||
|
<xsd:complexType name="CT_ConnectorNonVisual">
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xsd:element name="cNvCxnSpPr" type="a:CT_NonVisualConnectorProperties" minOccurs="1"
|
||||||
|
maxOccurs="1"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
</xsd:complexType>
|
||||||
|
<xsd:complexType name="CT_Connector">
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="nvCxnSpPr" type="CT_ConnectorNonVisual" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xsd:element name="style" type="a:CT_ShapeStyle" minOccurs="0" maxOccurs="1"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="macro" type="xsd:string" use="optional"/>
|
||||||
|
<xsd:attribute name="fPublished" type="xsd:boolean" use="optional" default="false"/>
|
||||||
|
</xsd:complexType>
|
||||||
|
<xsd:complexType name="CT_PictureNonVisual">
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xsd:element name="cNvPicPr" type="a:CT_NonVisualPictureProperties" minOccurs="1"
|
||||||
|
maxOccurs="1"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
</xsd:complexType>
|
||||||
|
<xsd:complexType name="CT_Picture">
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="nvPicPr" type="CT_PictureNonVisual" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xsd:element name="blipFill" type="a:CT_BlipFillProperties" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xsd:element name="style" type="a:CT_ShapeStyle" minOccurs="0" maxOccurs="1"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="macro" type="xsd:string" use="optional" default=""/>
|
||||||
|
<xsd:attribute name="fPublished" type="xsd:boolean" use="optional" default="false"/>
|
||||||
|
</xsd:complexType>
|
||||||
|
<xsd:complexType name="CT_GraphicFrameNonVisual">
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xsd:element name="cNvGraphicFramePr" type="a:CT_NonVisualGraphicFrameProperties"
|
||||||
|
minOccurs="1" maxOccurs="1"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
</xsd:complexType>
|
||||||
|
<xsd:complexType name="CT_GraphicFrame">
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="nvGraphicFramePr" type="CT_GraphicFrameNonVisual" minOccurs="1"
|
||||||
|
maxOccurs="1"/>
|
||||||
|
<xsd:element name="xfrm" type="a:CT_Transform2D" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xsd:element ref="a:graphic" minOccurs="1" maxOccurs="1"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="macro" type="xsd:string" use="optional"/>
|
||||||
|
<xsd:attribute name="fPublished" type="xsd:boolean" use="optional" default="false"/>
|
||||||
|
</xsd:complexType>
|
||||||
|
<xsd:complexType name="CT_GroupShapeNonVisual">
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xsd:element name="cNvGrpSpPr" type="a:CT_NonVisualGroupDrawingShapeProps" minOccurs="1"
|
||||||
|
maxOccurs="1"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
</xsd:complexType>
|
||||||
|
<xsd:complexType name="CT_GroupShape">
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="nvGrpSpPr" type="CT_GroupShapeNonVisual" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xsd:element name="grpSpPr" type="a:CT_GroupShapeProperties" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xsd:choice minOccurs="0" maxOccurs="unbounded">
|
||||||
|
<xsd:element name="sp" type="CT_Shape"/>
|
||||||
|
<xsd:element name="grpSp" type="CT_GroupShape"/>
|
||||||
|
<xsd:element name="graphicFrame" type="CT_GraphicFrame"/>
|
||||||
|
<xsd:element name="cxnSp" type="CT_Connector"/>
|
||||||
|
<xsd:element name="pic" type="CT_Picture"/>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:sequence>
|
||||||
|
</xsd:complexType>
|
||||||
|
<xsd:group name="EG_ObjectChoices">
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:choice minOccurs="1" maxOccurs="1">
|
||||||
|
<xsd:element name="sp" type="CT_Shape"/>
|
||||||
|
<xsd:element name="grpSp" type="CT_GroupShape"/>
|
||||||
|
<xsd:element name="graphicFrame" type="CT_GraphicFrame"/>
|
||||||
|
<xsd:element name="cxnSp" type="CT_Connector"/>
|
||||||
|
<xsd:element name="pic" type="CT_Picture"/>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:sequence>
|
||||||
|
</xsd:group>
|
||||||
|
<xsd:simpleType name="ST_MarkerCoordinate">
|
||||||
|
<xsd:restriction base="xsd:double">
|
||||||
|
<xsd:minInclusive value="0.0"/>
|
||||||
|
<xsd:maxInclusive value="1.0"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
<xsd:complexType name="CT_Marker">
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="x" type="ST_MarkerCoordinate" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xsd:element name="y" type="ST_MarkerCoordinate" minOccurs="1" maxOccurs="1"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
</xsd:complexType>
|
||||||
|
<xsd:complexType name="CT_RelSizeAnchor">
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="from" type="CT_Marker"/>
|
||||||
|
<xsd:element name="to" type="CT_Marker"/>
|
||||||
|
<xsd:group ref="EG_ObjectChoices"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
</xsd:complexType>
|
||||||
|
<xsd:complexType name="CT_AbsSizeAnchor">
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="from" type="CT_Marker"/>
|
||||||
|
<xsd:element name="ext" type="a:CT_PositiveSize2D"/>
|
||||||
|
<xsd:group ref="EG_ObjectChoices"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
</xsd:complexType>
|
||||||
|
<xsd:group name="EG_Anchor">
|
||||||
|
<xsd:choice>
|
||||||
|
<xsd:element name="relSizeAnchor" type="CT_RelSizeAnchor"/>
|
||||||
|
<xsd:element name="absSizeAnchor" type="CT_AbsSizeAnchor"/>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:group>
|
||||||
|
<xsd:complexType name="CT_Drawing">
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:group ref="EG_Anchor" minOccurs="0" maxOccurs="unbounded"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:schema>
|
||||||
1085
skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd
Normal file
1085
skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd
Normal file
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user