openproject-octicons 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +103 -0
- data/lib/build/data.json +1 -0
- data/lib/build/svg/accessibility-16.svg +1 -0
- data/lib/build/svg/accessibility-inset-16.svg +1 -0
- data/lib/build/svg/alert-16.svg +1 -0
- data/lib/build/svg/alert-24.svg +1 -0
- data/lib/build/svg/alert-fill-12.svg +1 -0
- data/lib/build/svg/alert-fill-16.svg +1 -0
- data/lib/build/svg/alert-fill-24.svg +1 -0
- data/lib/build/svg/apps-16.svg +1 -0
- data/lib/build/svg/archive-16.svg +1 -0
- data/lib/build/svg/archive-24.svg +1 -0
- data/lib/build/svg/arrow-both-16.svg +1 -0
- data/lib/build/svg/arrow-both-24.svg +1 -0
- data/lib/build/svg/arrow-down-16.svg +1 -0
- data/lib/build/svg/arrow-down-24.svg +1 -0
- data/lib/build/svg/arrow-down-left-16.svg +1 -0
- data/lib/build/svg/arrow-down-left-24.svg +1 -0
- data/lib/build/svg/arrow-down-right-16.svg +1 -0
- data/lib/build/svg/arrow-down-right-24.svg +1 -0
- data/lib/build/svg/arrow-left-16.svg +1 -0
- data/lib/build/svg/arrow-left-24.svg +1 -0
- data/lib/build/svg/arrow-right-16.svg +1 -0
- data/lib/build/svg/arrow-right-24.svg +1 -0
- data/lib/build/svg/arrow-switch-16.svg +1 -0
- data/lib/build/svg/arrow-switch-24.svg +1 -0
- data/lib/build/svg/arrow-up-16.svg +1 -0
- data/lib/build/svg/arrow-up-24.svg +1 -0
- data/lib/build/svg/arrow-up-left-16.svg +1 -0
- data/lib/build/svg/arrow-up-left-24.svg +1 -0
- data/lib/build/svg/arrow-up-right-16.svg +1 -0
- data/lib/build/svg/arrow-up-right-24.svg +1 -0
- data/lib/build/svg/beaker-16.svg +1 -0
- data/lib/build/svg/beaker-24.svg +1 -0
- data/lib/build/svg/bell-16.svg +1 -0
- data/lib/build/svg/bell-24.svg +1 -0
- data/lib/build/svg/bell-fill-16.svg +1 -0
- data/lib/build/svg/bell-fill-24.svg +1 -0
- data/lib/build/svg/bell-slash-16.svg +1 -0
- data/lib/build/svg/bell-slash-24.svg +1 -0
- data/lib/build/svg/blocked-16.svg +1 -0
- data/lib/build/svg/blocked-24.svg +1 -0
- data/lib/build/svg/bold-16.svg +1 -0
- data/lib/build/svg/bold-24.svg +1 -0
- data/lib/build/svg/book-16.svg +1 -0
- data/lib/build/svg/book-24.svg +1 -0
- data/lib/build/svg/bookmark-16.svg +1 -0
- data/lib/build/svg/bookmark-24.svg +1 -0
- data/lib/build/svg/bookmark-fill-24.svg +1 -0
- data/lib/build/svg/bookmark-slash-16.svg +1 -0
- data/lib/build/svg/bookmark-slash-24.svg +1 -0
- data/lib/build/svg/bookmark-slash-fill-24.svg +1 -0
- data/lib/build/svg/briefcase-16.svg +1 -0
- data/lib/build/svg/briefcase-24.svg +1 -0
- data/lib/build/svg/broadcast-16.svg +1 -0
- data/lib/build/svg/broadcast-24.svg +1 -0
- data/lib/build/svg/browser-16.svg +1 -0
- data/lib/build/svg/browser-24.svg +1 -0
- data/lib/build/svg/bug-16.svg +1 -0
- data/lib/build/svg/bug-24.svg +1 -0
- data/lib/build/svg/cache-16.svg +1 -0
- data/lib/build/svg/calendar-16.svg +1 -0
- data/lib/build/svg/calendar-24.svg +1 -0
- data/lib/build/svg/check-16.svg +1 -0
- data/lib/build/svg/check-24.svg +1 -0
- data/lib/build/svg/check-circle-16.svg +1 -0
- data/lib/build/svg/check-circle-24.svg +1 -0
- data/lib/build/svg/check-circle-fill-12.svg +1 -0
- data/lib/build/svg/check-circle-fill-16.svg +1 -0
- data/lib/build/svg/check-circle-fill-24.svg +1 -0
- data/lib/build/svg/checkbox-16.svg +1 -0
- data/lib/build/svg/checkbox-24.svg +1 -0
- data/lib/build/svg/checklist-16.svg +1 -0
- data/lib/build/svg/checklist-24.svg +1 -0
- data/lib/build/svg/chevron-down-12.svg +1 -0
- data/lib/build/svg/chevron-down-16.svg +1 -0
- data/lib/build/svg/chevron-down-24.svg +1 -0
- data/lib/build/svg/chevron-left-16.svg +1 -0
- data/lib/build/svg/chevron-left-24.svg +1 -0
- data/lib/build/svg/chevron-right-12.svg +1 -0
- data/lib/build/svg/chevron-right-16.svg +1 -0
- data/lib/build/svg/chevron-right-24.svg +1 -0
- data/lib/build/svg/chevron-up-12.svg +1 -0
- data/lib/build/svg/chevron-up-16.svg +1 -0
- data/lib/build/svg/chevron-up-24.svg +1 -0
- data/lib/build/svg/circle-16.svg +1 -0
- data/lib/build/svg/circle-24.svg +1 -0
- data/lib/build/svg/circle-slash-16.svg +1 -0
- data/lib/build/svg/circle-slash-24.svg +1 -0
- data/lib/build/svg/clock-16.svg +1 -0
- data/lib/build/svg/clock-24.svg +1 -0
- data/lib/build/svg/clock-fill-16.svg +1 -0
- data/lib/build/svg/clock-fill-24.svg +1 -0
- data/lib/build/svg/cloud-16.svg +1 -0
- data/lib/build/svg/cloud-24.svg +1 -0
- data/lib/build/svg/cloud-offline-16.svg +1 -0
- data/lib/build/svg/cloud-offline-24.svg +1 -0
- data/lib/build/svg/code-16.svg +1 -0
- data/lib/build/svg/code-24.svg +1 -0
- data/lib/build/svg/code-of-conduct-16.svg +1 -0
- data/lib/build/svg/code-of-conduct-24.svg +1 -0
- data/lib/build/svg/code-review-16.svg +1 -0
- data/lib/build/svg/code-review-24.svg +1 -0
- data/lib/build/svg/code-square-16.svg +1 -0
- data/lib/build/svg/code-square-24.svg +1 -0
- data/lib/build/svg/codescan-16.svg +1 -0
- data/lib/build/svg/codescan-24.svg +1 -0
- data/lib/build/svg/codescan-checkmark-16.svg +1 -0
- data/lib/build/svg/codescan-checkmark-24.svg +1 -0
- data/lib/build/svg/codespaces-16.svg +1 -0
- data/lib/build/svg/codespaces-24.svg +1 -0
- data/lib/build/svg/columns-16.svg +1 -0
- data/lib/build/svg/columns-24.svg +1 -0
- data/lib/build/svg/command-palette-16.svg +1 -0
- data/lib/build/svg/command-palette-24.svg +1 -0
- data/lib/build/svg/comment-16.svg +1 -0
- data/lib/build/svg/comment-24.svg +1 -0
- data/lib/build/svg/comment-discussion-16.svg +1 -0
- data/lib/build/svg/comment-discussion-24.svg +1 -0
- data/lib/build/svg/commit-24.svg +1 -0
- data/lib/build/svg/container-16.svg +1 -0
- data/lib/build/svg/container-24.svg +1 -0
- data/lib/build/svg/copilot-16.svg +1 -0
- data/lib/build/svg/copilot-24.svg +1 -0
- data/lib/build/svg/copilot-48.svg +1 -0
- data/lib/build/svg/copilot-96.svg +1 -0
- data/lib/build/svg/copilot-error-16.svg +1 -0
- data/lib/build/svg/copilot-warning-16.svg +1 -0
- data/lib/build/svg/copy-16.svg +1 -0
- data/lib/build/svg/copy-24.svg +1 -0
- data/lib/build/svg/cpu-16.svg +1 -0
- data/lib/build/svg/cpu-24.svg +1 -0
- data/lib/build/svg/credit-card-16.svg +1 -0
- data/lib/build/svg/credit-card-24.svg +1 -0
- data/lib/build/svg/cross-reference-16.svg +1 -0
- data/lib/build/svg/cross-reference-24.svg +1 -0
- data/lib/build/svg/dash-16.svg +1 -0
- data/lib/build/svg/dash-24.svg +1 -0
- data/lib/build/svg/database-16.svg +1 -0
- data/lib/build/svg/database-24.svg +1 -0
- data/lib/build/svg/dependabot-16.svg +1 -0
- data/lib/build/svg/dependabot-24.svg +1 -0
- data/lib/build/svg/desktop-download-16.svg +1 -0
- data/lib/build/svg/desktop-download-24.svg +1 -0
- data/lib/build/svg/device-camera-16.svg +1 -0
- data/lib/build/svg/device-camera-video-16.svg +1 -0
- data/lib/build/svg/device-camera-video-24.svg +1 -0
- data/lib/build/svg/device-desktop-16.svg +1 -0
- data/lib/build/svg/device-desktop-24.svg +1 -0
- data/lib/build/svg/device-mobile-16.svg +1 -0
- data/lib/build/svg/device-mobile-24.svg +1 -0
- data/lib/build/svg/devices-16.svg +1 -0
- data/lib/build/svg/devices-24.svg +1 -0
- data/lib/build/svg/diamond-16.svg +1 -0
- data/lib/build/svg/diamond-24.svg +1 -0
- data/lib/build/svg/diff-16.svg +1 -0
- data/lib/build/svg/diff-24.svg +1 -0
- data/lib/build/svg/diff-added-16.svg +1 -0
- data/lib/build/svg/diff-ignored-16.svg +1 -0
- data/lib/build/svg/diff-modified-16.svg +1 -0
- data/lib/build/svg/diff-removed-16.svg +1 -0
- data/lib/build/svg/diff-renamed-16.svg +1 -0
- data/lib/build/svg/discussion-closed-16.svg +1 -0
- data/lib/build/svg/discussion-closed-24.svg +1 -0
- data/lib/build/svg/discussion-duplicate-16.svg +1 -0
- data/lib/build/svg/discussion-duplicate-24.svg +1 -0
- data/lib/build/svg/discussion-outdated-16.svg +1 -0
- data/lib/build/svg/discussion-outdated-24.svg +1 -0
- data/lib/build/svg/dot-16.svg +1 -0
- data/lib/build/svg/dot-24.svg +1 -0
- data/lib/build/svg/dot-fill-16.svg +1 -0
- data/lib/build/svg/dot-fill-24.svg +1 -0
- data/lib/build/svg/download-16.svg +1 -0
- data/lib/build/svg/download-24.svg +1 -0
- data/lib/build/svg/duplicate-16.svg +1 -0
- data/lib/build/svg/duplicate-24.svg +1 -0
- data/lib/build/svg/ellipsis-16.svg +1 -0
- data/lib/build/svg/eye-16.svg +1 -0
- data/lib/build/svg/eye-24.svg +1 -0
- data/lib/build/svg/eye-closed-16.svg +1 -0
- data/lib/build/svg/eye-closed-24.svg +1 -0
- data/lib/build/svg/feed-discussion-16.svg +1 -0
- data/lib/build/svg/feed-forked-16.svg +1 -0
- data/lib/build/svg/feed-heart-16.svg +1 -0
- data/lib/build/svg/feed-merged-16.svg +1 -0
- data/lib/build/svg/feed-person-16.svg +1 -0
- data/lib/build/svg/feed-repo-16.svg +1 -0
- data/lib/build/svg/feed-rocket-16.svg +1 -0
- data/lib/build/svg/feed-star-16.svg +1 -0
- data/lib/build/svg/feed-tag-16.svg +1 -0
- data/lib/build/svg/feed-trophy-16.svg +1 -0
- data/lib/build/svg/file-16.svg +1 -0
- data/lib/build/svg/file-24.svg +1 -0
- data/lib/build/svg/file-added-16.svg +1 -0
- data/lib/build/svg/file-badge-16.svg +1 -0
- data/lib/build/svg/file-binary-16.svg +1 -0
- data/lib/build/svg/file-binary-24.svg +1 -0
- data/lib/build/svg/file-code-16.svg +1 -0
- data/lib/build/svg/file-code-24.svg +1 -0
- data/lib/build/svg/file-diff-16.svg +1 -0
- data/lib/build/svg/file-diff-24.svg +1 -0
- data/lib/build/svg/file-directory-16.svg +1 -0
- data/lib/build/svg/file-directory-24.svg +1 -0
- data/lib/build/svg/file-directory-fill-16.svg +1 -0
- data/lib/build/svg/file-directory-fill-24.svg +1 -0
- data/lib/build/svg/file-directory-open-fill-16.svg +1 -0
- data/lib/build/svg/file-directory-symlink-16.svg +1 -0
- data/lib/build/svg/file-directory-symlink-24.svg +1 -0
- data/lib/build/svg/file-media-24.svg +1 -0
- data/lib/build/svg/file-moved-16.svg +1 -0
- data/lib/build/svg/file-removed-16.svg +1 -0
- data/lib/build/svg/file-submodule-16.svg +1 -0
- data/lib/build/svg/file-submodule-24.svg +1 -0
- data/lib/build/svg/file-symlink-file-16.svg +1 -0
- data/lib/build/svg/file-symlink-file-24.svg +1 -0
- data/lib/build/svg/file-zip-16.svg +1 -0
- data/lib/build/svg/file-zip-24.svg +1 -0
- data/lib/build/svg/filter-16.svg +1 -0
- data/lib/build/svg/filter-24.svg +1 -0
- data/lib/build/svg/fiscal-host-16.svg +1 -0
- data/lib/build/svg/flame-16.svg +1 -0
- data/lib/build/svg/flame-24.svg +1 -0
- data/lib/build/svg/fold-16.svg +1 -0
- data/lib/build/svg/fold-24.svg +1 -0
- data/lib/build/svg/fold-down-16.svg +1 -0
- data/lib/build/svg/fold-down-24.svg +1 -0
- data/lib/build/svg/fold-up-16.svg +1 -0
- data/lib/build/svg/fold-up-24.svg +1 -0
- data/lib/build/svg/gear-16.svg +1 -0
- data/lib/build/svg/gear-24.svg +1 -0
- data/lib/build/svg/gift-16.svg +1 -0
- data/lib/build/svg/gift-24.svg +1 -0
- data/lib/build/svg/git-branch-16.svg +1 -0
- data/lib/build/svg/git-branch-24.svg +1 -0
- data/lib/build/svg/git-commit-16.svg +1 -0
- data/lib/build/svg/git-commit-24.svg +1 -0
- data/lib/build/svg/git-compare-16.svg +1 -0
- data/lib/build/svg/git-compare-24.svg +1 -0
- data/lib/build/svg/git-merge-16.svg +1 -0
- data/lib/build/svg/git-merge-24.svg +1 -0
- data/lib/build/svg/git-merge-queue-16.svg +1 -0
- data/lib/build/svg/git-merge-queue-24.svg +1 -0
- data/lib/build/svg/git-pull-request-16.svg +1 -0
- data/lib/build/svg/git-pull-request-24.svg +1 -0
- data/lib/build/svg/git-pull-request-closed-16.svg +1 -0
- data/lib/build/svg/git-pull-request-closed-24.svg +1 -0
- data/lib/build/svg/git-pull-request-draft-16.svg +1 -0
- data/lib/build/svg/git-pull-request-draft-24.svg +1 -0
- data/lib/build/svg/globe-16.svg +1 -0
- data/lib/build/svg/globe-24.svg +1 -0
- data/lib/build/svg/goal-16.svg +1 -0
- data/lib/build/svg/goal-24.svg +1 -0
- data/lib/build/svg/grabber-16.svg +1 -0
- data/lib/build/svg/grabber-24.svg +1 -0
- data/lib/build/svg/graph-16.svg +1 -0
- data/lib/build/svg/graph-24.svg +1 -0
- data/lib/build/svg/hash-16.svg +1 -0
- data/lib/build/svg/hash-24.svg +1 -0
- data/lib/build/svg/heading-16.svg +1 -0
- data/lib/build/svg/heading-24.svg +1 -0
- data/lib/build/svg/heart-16.svg +1 -0
- data/lib/build/svg/heart-24.svg +1 -0
- data/lib/build/svg/heart-fill-16.svg +1 -0
- data/lib/build/svg/heart-fill-24.svg +1 -0
- data/lib/build/svg/history-16.svg +1 -0
- data/lib/build/svg/history-24.svg +1 -0
- data/lib/build/svg/home-16.svg +1 -0
- data/lib/build/svg/home-24.svg +1 -0
- data/lib/build/svg/home-fill-24.svg +1 -0
- data/lib/build/svg/horizontal-rule-16.svg +1 -0
- data/lib/build/svg/horizontal-rule-24.svg +1 -0
- data/lib/build/svg/hourglass-16.svg +1 -0
- data/lib/build/svg/hourglass-24.svg +1 -0
- data/lib/build/svg/hubot-16.svg +1 -0
- data/lib/build/svg/hubot-24.svg +1 -0
- data/lib/build/svg/id-badge-16.svg +1 -0
- data/lib/build/svg/image-16.svg +1 -0
- data/lib/build/svg/image-24.svg +1 -0
- data/lib/build/svg/inbox-16.svg +1 -0
- data/lib/build/svg/inbox-24.svg +1 -0
- data/lib/build/svg/infinity-16.svg +1 -0
- data/lib/build/svg/infinity-24.svg +1 -0
- data/lib/build/svg/info-16.svg +1 -0
- data/lib/build/svg/info-24.svg +1 -0
- data/lib/build/svg/issue-closed-16.svg +1 -0
- data/lib/build/svg/issue-closed-24.svg +1 -0
- data/lib/build/svg/issue-draft-16.svg +1 -0
- data/lib/build/svg/issue-draft-24.svg +1 -0
- data/lib/build/svg/issue-opened-16.svg +1 -0
- data/lib/build/svg/issue-opened-24.svg +1 -0
- data/lib/build/svg/issue-reopened-16.svg +1 -0
- data/lib/build/svg/issue-reopened-24.svg +1 -0
- data/lib/build/svg/issue-tracked-by-16.svg +1 -0
- data/lib/build/svg/issue-tracked-by-24.svg +1 -0
- data/lib/build/svg/issue-tracks-16.svg +1 -0
- data/lib/build/svg/issue-tracks-24.svg +1 -0
- data/lib/build/svg/italic-16.svg +1 -0
- data/lib/build/svg/italic-24.svg +1 -0
- data/lib/build/svg/iterations-16.svg +1 -0
- data/lib/build/svg/iterations-24.svg +1 -0
- data/lib/build/svg/kebab-horizontal-16.svg +1 -0
- data/lib/build/svg/kebab-horizontal-24.svg +1 -0
- data/lib/build/svg/key-16.svg +1 -0
- data/lib/build/svg/key-24.svg +1 -0
- data/lib/build/svg/key-asterisk-16.svg +1 -0
- data/lib/build/svg/law-16.svg +1 -0
- data/lib/build/svg/law-24.svg +1 -0
- data/lib/build/svg/light-bulb-16.svg +1 -0
- data/lib/build/svg/light-bulb-24.svg +1 -0
- data/lib/build/svg/link-16.svg +1 -0
- data/lib/build/svg/link-24.svg +1 -0
- data/lib/build/svg/link-external-16.svg +1 -0
- data/lib/build/svg/link-external-24.svg +1 -0
- data/lib/build/svg/list-ordered-16.svg +1 -0
- data/lib/build/svg/list-ordered-24.svg +1 -0
- data/lib/build/svg/list-unordered-16.svg +1 -0
- data/lib/build/svg/list-unordered-24.svg +1 -0
- data/lib/build/svg/location-16.svg +1 -0
- data/lib/build/svg/location-24.svg +1 -0
- data/lib/build/svg/lock-16.svg +1 -0
- data/lib/build/svg/lock-24.svg +1 -0
- data/lib/build/svg/log-16.svg +1 -0
- data/lib/build/svg/log-24.svg +1 -0
- data/lib/build/svg/logo-gist-16.svg +1 -0
- data/lib/build/svg/logo-github-16.svg +1 -0
- data/lib/build/svg/mail-16.svg +1 -0
- data/lib/build/svg/mail-24.svg +1 -0
- data/lib/build/svg/mark-github-16.svg +1 -0
- data/lib/build/svg/markdown-16.svg +1 -0
- data/lib/build/svg/megaphone-16.svg +1 -0
- data/lib/build/svg/megaphone-24.svg +1 -0
- data/lib/build/svg/mention-16.svg +1 -0
- data/lib/build/svg/mention-24.svg +1 -0
- data/lib/build/svg/meter-16.svg +1 -0
- data/lib/build/svg/milestone-16.svg +1 -0
- data/lib/build/svg/milestone-24.svg +1 -0
- data/lib/build/svg/mirror-16.svg +1 -0
- data/lib/build/svg/mirror-24.svg +1 -0
- data/lib/build/svg/moon-16.svg +1 -0
- data/lib/build/svg/moon-24.svg +1 -0
- data/lib/build/svg/mortar-board-16.svg +1 -0
- data/lib/build/svg/mortar-board-24.svg +1 -0
- data/lib/build/svg/move-to-bottom-16.svg +1 -0
- data/lib/build/svg/move-to-bottom-24.svg +1 -0
- data/lib/build/svg/move-to-end-16.svg +1 -0
- data/lib/build/svg/move-to-end-24.svg +1 -0
- data/lib/build/svg/move-to-start-16.svg +1 -0
- data/lib/build/svg/move-to-start-24.svg +1 -0
- data/lib/build/svg/move-to-top-16.svg +1 -0
- data/lib/build/svg/move-to-top-24.svg +1 -0
- data/lib/build/svg/multi-select-16.svg +1 -0
- data/lib/build/svg/multi-select-24.svg +1 -0
- data/lib/build/svg/mute-16.svg +1 -0
- data/lib/build/svg/mute-24.svg +1 -0
- data/lib/build/svg/no-entry-16.svg +1 -0
- data/lib/build/svg/no-entry-24.svg +1 -0
- data/lib/build/svg/no-entry-fill-12.svg +1 -0
- data/lib/build/svg/north-star-16.svg +1 -0
- data/lib/build/svg/north-star-24.svg +1 -0
- data/lib/build/svg/note-16.svg +1 -0
- data/lib/build/svg/note-24.svg +1 -0
- data/lib/build/svg/number-16.svg +1 -0
- data/lib/build/svg/number-24.svg +1 -0
- data/lib/build/svg/organization-16.svg +1 -0
- data/lib/build/svg/organization-24.svg +1 -0
- data/lib/build/svg/package-16.svg +1 -0
- data/lib/build/svg/package-24.svg +1 -0
- data/lib/build/svg/package-dependencies-16.svg +1 -0
- data/lib/build/svg/package-dependencies-24.svg +1 -0
- data/lib/build/svg/package-dependents-16.svg +1 -0
- data/lib/build/svg/package-dependents-24.svg +1 -0
- data/lib/build/svg/paintbrush-16.svg +1 -0
- data/lib/build/svg/paper-airplane-16.svg +1 -0
- data/lib/build/svg/paper-airplane-24.svg +1 -0
- data/lib/build/svg/paperclip-16.svg +1 -0
- data/lib/build/svg/paperclip-24.svg +1 -0
- data/lib/build/svg/passkey-fill-16.svg +1 -0
- data/lib/build/svg/passkey-fill-24.svg +1 -0
- data/lib/build/svg/paste-16.svg +1 -0
- data/lib/build/svg/paste-24.svg +1 -0
- data/lib/build/svg/pencil-16.svg +1 -0
- data/lib/build/svg/pencil-24.svg +1 -0
- data/lib/build/svg/people-16.svg +1 -0
- data/lib/build/svg/people-24.svg +1 -0
- data/lib/build/svg/person-16.svg +1 -0
- data/lib/build/svg/person-24.svg +1 -0
- data/lib/build/svg/person-add-16.svg +1 -0
- data/lib/build/svg/person-add-24.svg +1 -0
- data/lib/build/svg/person-fill-16.svg +1 -0
- data/lib/build/svg/person-fill-24.svg +1 -0
- data/lib/build/svg/pin-16.svg +1 -0
- data/lib/build/svg/pin-24.svg +1 -0
- data/lib/build/svg/pin-slash-16.svg +1 -0
- data/lib/build/svg/pin-slash-24.svg +1 -0
- data/lib/build/svg/pivot-column-16.svg +1 -0
- data/lib/build/svg/pivot-column-24.svg +1 -0
- data/lib/build/svg/play-16.svg +1 -0
- data/lib/build/svg/play-24.svg +1 -0
- data/lib/build/svg/plug-16.svg +1 -0
- data/lib/build/svg/plug-24.svg +1 -0
- data/lib/build/svg/plus-16.svg +1 -0
- data/lib/build/svg/plus-24.svg +1 -0
- data/lib/build/svg/plus-circle-16.svg +1 -0
- data/lib/build/svg/plus-circle-24.svg +1 -0
- data/lib/build/svg/project-16.svg +1 -0
- data/lib/build/svg/project-24.svg +1 -0
- data/lib/build/svg/project-roadmap-16.svg +1 -0
- data/lib/build/svg/project-roadmap-24.svg +1 -0
- data/lib/build/svg/project-symlink-16.svg +1 -0
- data/lib/build/svg/project-symlink-24.svg +1 -0
- data/lib/build/svg/project-template-16.svg +1 -0
- data/lib/build/svg/project-template-24.svg +1 -0
- data/lib/build/svg/pulse-16.svg +1 -0
- data/lib/build/svg/pulse-24.svg +1 -0
- data/lib/build/svg/question-16.svg +1 -0
- data/lib/build/svg/question-24.svg +1 -0
- data/lib/build/svg/quote-16.svg +1 -0
- data/lib/build/svg/quote-24.svg +1 -0
- data/lib/build/svg/read-16.svg +1 -0
- data/lib/build/svg/read-24.svg +1 -0
- data/lib/build/svg/redo-16.svg +1 -0
- data/lib/build/svg/rel-file-path-16.svg +1 -0
- data/lib/build/svg/rel-file-path-24.svg +1 -0
- data/lib/build/svg/reply-16.svg +1 -0
- data/lib/build/svg/reply-24.svg +1 -0
- data/lib/build/svg/repo-16.svg +1 -0
- data/lib/build/svg/repo-24.svg +1 -0
- data/lib/build/svg/repo-clone-16.svg +1 -0
- data/lib/build/svg/repo-deleted-16.svg +1 -0
- data/lib/build/svg/repo-forked-16.svg +1 -0
- data/lib/build/svg/repo-forked-24.svg +1 -0
- data/lib/build/svg/repo-locked-16.svg +1 -0
- data/lib/build/svg/repo-locked-24.svg +1 -0
- data/lib/build/svg/repo-pull-16.svg +1 -0
- data/lib/build/svg/repo-push-16.svg +1 -0
- data/lib/build/svg/repo-push-24.svg +1 -0
- data/lib/build/svg/repo-template-16.svg +1 -0
- data/lib/build/svg/repo-template-24.svg +1 -0
- data/lib/build/svg/report-16.svg +1 -0
- data/lib/build/svg/report-24.svg +1 -0
- data/lib/build/svg/rocket-16.svg +1 -0
- data/lib/build/svg/rocket-24.svg +1 -0
- data/lib/build/svg/rows-16.svg +1 -0
- data/lib/build/svg/rows-24.svg +1 -0
- data/lib/build/svg/rss-16.svg +1 -0
- data/lib/build/svg/rss-24.svg +1 -0
- data/lib/build/svg/ruby-16.svg +1 -0
- data/lib/build/svg/ruby-24.svg +1 -0
- data/lib/build/svg/screen-full-16.svg +1 -0
- data/lib/build/svg/screen-full-24.svg +1 -0
- data/lib/build/svg/screen-normal-16.svg +1 -0
- data/lib/build/svg/screen-normal-24.svg +1 -0
- data/lib/build/svg/search-16.svg +1 -0
- data/lib/build/svg/search-24.svg +1 -0
- data/lib/build/svg/server-16.svg +1 -0
- data/lib/build/svg/server-24.svg +1 -0
- data/lib/build/svg/share-16.svg +1 -0
- data/lib/build/svg/share-24.svg +1 -0
- data/lib/build/svg/share-android-16.svg +1 -0
- data/lib/build/svg/share-android-24.svg +1 -0
- data/lib/build/svg/shield-16.svg +1 -0
- data/lib/build/svg/shield-24.svg +1 -0
- data/lib/build/svg/shield-check-16.svg +1 -0
- data/lib/build/svg/shield-check-24.svg +1 -0
- data/lib/build/svg/shield-lock-16.svg +1 -0
- data/lib/build/svg/shield-lock-24.svg +1 -0
- data/lib/build/svg/shield-slash-16.svg +1 -0
- data/lib/build/svg/shield-slash-24.svg +1 -0
- data/lib/build/svg/shield-x-16.svg +1 -0
- data/lib/build/svg/shield-x-24.svg +1 -0
- data/lib/build/svg/sidebar-collapse-16.svg +1 -0
- data/lib/build/svg/sidebar-collapse-24.svg +1 -0
- data/lib/build/svg/sidebar-expand-16.svg +1 -0
- data/lib/build/svg/sidebar-expand-24.svg +1 -0
- data/lib/build/svg/sign-in-16.svg +1 -0
- data/lib/build/svg/sign-in-24.svg +1 -0
- data/lib/build/svg/sign-out-16.svg +1 -0
- data/lib/build/svg/sign-out-24.svg +1 -0
- data/lib/build/svg/single-select-16.svg +1 -0
- data/lib/build/svg/single-select-24.svg +1 -0
- data/lib/build/svg/skip-16.svg +1 -0
- data/lib/build/svg/skip-24.svg +1 -0
- data/lib/build/svg/skip-fill-16.svg +1 -0
- data/lib/build/svg/skip-fill-24.svg +1 -0
- data/lib/build/svg/sliders-16.svg +1 -0
- data/lib/build/svg/smiley-16.svg +1 -0
- data/lib/build/svg/smiley-24.svg +1 -0
- data/lib/build/svg/sort-asc-16.svg +1 -0
- data/lib/build/svg/sort-asc-24.svg +1 -0
- data/lib/build/svg/sort-desc-16.svg +1 -0
- data/lib/build/svg/sort-desc-24.svg +1 -0
- data/lib/build/svg/sparkle-fill-16.svg +1 -0
- data/lib/build/svg/sponsor-tiers-16.svg +1 -0
- data/lib/build/svg/sponsor-tiers-24.svg +1 -0
- data/lib/build/svg/square-16.svg +1 -0
- data/lib/build/svg/square-24.svg +1 -0
- data/lib/build/svg/square-fill-16.svg +1 -0
- data/lib/build/svg/square-fill-24.svg +1 -0
- data/lib/build/svg/squirrel-16.svg +1 -0
- data/lib/build/svg/squirrel-24.svg +1 -0
- data/lib/build/svg/stack-16.svg +1 -0
- data/lib/build/svg/stack-24.svg +1 -0
- data/lib/build/svg/star-16.svg +1 -0
- data/lib/build/svg/star-24.svg +1 -0
- data/lib/build/svg/star-fill-16.svg +1 -0
- data/lib/build/svg/star-fill-24.svg +1 -0
- data/lib/build/svg/stop-16.svg +1 -0
- data/lib/build/svg/stop-24.svg +1 -0
- data/lib/build/svg/stopwatch-16.svg +1 -0
- data/lib/build/svg/stopwatch-24.svg +1 -0
- data/lib/build/svg/strikethrough-16.svg +1 -0
- data/lib/build/svg/strikethrough-24.svg +1 -0
- data/lib/build/svg/sun-16.svg +1 -0
- data/lib/build/svg/sun-24.svg +1 -0
- data/lib/build/svg/sync-16.svg +1 -0
- data/lib/build/svg/sync-24.svg +1 -0
- data/lib/build/svg/tab-24.svg +1 -0
- data/lib/build/svg/tab-external-16.svg +1 -0
- data/lib/build/svg/table-16.svg +1 -0
- data/lib/build/svg/table-24.svg +1 -0
- data/lib/build/svg/tag-16.svg +1 -0
- data/lib/build/svg/tag-24.svg +1 -0
- data/lib/build/svg/tasklist-16.svg +1 -0
- data/lib/build/svg/tasklist-24.svg +1 -0
- data/lib/build/svg/telescope-16.svg +1 -0
- data/lib/build/svg/telescope-24.svg +1 -0
- data/lib/build/svg/telescope-fill-16.svg +1 -0
- data/lib/build/svg/telescope-fill-24.svg +1 -0
- data/lib/build/svg/terminal-16.svg +1 -0
- data/lib/build/svg/terminal-24.svg +1 -0
- data/lib/build/svg/three-bars-16.svg +1 -0
- data/lib/build/svg/thumbsdown-16.svg +1 -0
- data/lib/build/svg/thumbsdown-24.svg +1 -0
- data/lib/build/svg/thumbsup-16.svg +1 -0
- data/lib/build/svg/thumbsup-24.svg +1 -0
- data/lib/build/svg/tools-16.svg +1 -0
- data/lib/build/svg/tools-24.svg +1 -0
- data/lib/build/svg/tracked-by-closed-completed-16.svg +1 -0
- data/lib/build/svg/tracked-by-closed-completed-24.svg +1 -0
- data/lib/build/svg/tracked-by-closed-not-planned-16.svg +1 -0
- data/lib/build/svg/tracked-by-closed-not-planned-24.svg +1 -0
- data/lib/build/svg/trash-16.svg +1 -0
- data/lib/build/svg/trash-24.svg +1 -0
- data/lib/build/svg/triangle-down-16.svg +1 -0
- data/lib/build/svg/triangle-down-24.svg +1 -0
- data/lib/build/svg/triangle-left-16.svg +1 -0
- data/lib/build/svg/triangle-left-24.svg +1 -0
- data/lib/build/svg/triangle-right-16.svg +1 -0
- data/lib/build/svg/triangle-right-24.svg +1 -0
- data/lib/build/svg/triangle-up-16.svg +1 -0
- data/lib/build/svg/triangle-up-24.svg +1 -0
- data/lib/build/svg/trophy-16.svg +1 -0
- data/lib/build/svg/trophy-24.svg +1 -0
- data/lib/build/svg/typography-16.svg +1 -0
- data/lib/build/svg/typography-24.svg +1 -0
- data/lib/build/svg/undo-16.svg +1 -0
- data/lib/build/svg/unfold-16.svg +1 -0
- data/lib/build/svg/unfold-24.svg +1 -0
- data/lib/build/svg/unlink-16.svg +1 -0
- data/lib/build/svg/unlink-24.svg +1 -0
- data/lib/build/svg/unlock-16.svg +1 -0
- data/lib/build/svg/unlock-24.svg +1 -0
- data/lib/build/svg/unmute-16.svg +1 -0
- data/lib/build/svg/unmute-24.svg +1 -0
- data/lib/build/svg/unread-16.svg +1 -0
- data/lib/build/svg/unread-24.svg +1 -0
- data/lib/build/svg/unverified-16.svg +1 -0
- data/lib/build/svg/unverified-24.svg +1 -0
- data/lib/build/svg/upload-16.svg +1 -0
- data/lib/build/svg/upload-24.svg +1 -0
- data/lib/build/svg/verified-16.svg +1 -0
- data/lib/build/svg/verified-24.svg +1 -0
- data/lib/build/svg/versions-16.svg +1 -0
- data/lib/build/svg/versions-24.svg +1 -0
- data/lib/build/svg/video-16.svg +1 -0
- data/lib/build/svg/video-24.svg +1 -0
- data/lib/build/svg/webhook-16.svg +1 -0
- data/lib/build/svg/workflow-16.svg +1 -0
- data/lib/build/svg/workflow-24.svg +1 -0
- data/lib/build/svg/x-12.svg +1 -0
- data/lib/build/svg/x-16.svg +1 -0
- data/lib/build/svg/x-24.svg +1 -0
- data/lib/build/svg/x-circle-16.svg +1 -0
- data/lib/build/svg/x-circle-24.svg +1 -0
- data/lib/build/svg/x-circle-fill-12.svg +1 -0
- data/lib/build/svg/x-circle-fill-16.svg +1 -0
- data/lib/build/svg/x-circle-fill-24.svg +1 -0
- data/lib/build/svg/zap-16.svg +1 -0
- data/lib/build/svg/zap-24.svg +1 -0
- data/lib/build/svg/zoom-in-16.svg +1 -0
- data/lib/build/svg/zoom-in-24.svg +1 -0
- data/lib/build/svg/zoom-out-16.svg +1 -0
- data/lib/build/svg/zoom-out-24.svg +1 -0
- data/lib/octicons/octicon.rb +107 -0
- data/lib/octicons/version.rb +3 -0
- data/lib/octicons.rb +8 -0
- metadata +642 -0
@@ -0,0 +1,107 @@
|
|
1
|
+
module Octicons
|
2
|
+
class Octicon
|
3
|
+
DEFAULT_HEIGHT = 16
|
4
|
+
|
5
|
+
attr_reader :path, :options, :width, :height, :symbol, :keywords
|
6
|
+
|
7
|
+
def initialize(symbol, options = {})
|
8
|
+
@symbol = symbol.to_s
|
9
|
+
if octicon = get_octicon(@symbol, options)
|
10
|
+
@path = octicon["path"]
|
11
|
+
@width = octicon["width"]
|
12
|
+
@height = octicon["height"]
|
13
|
+
@keywords = octicon["keywords"]
|
14
|
+
@options = options.dup
|
15
|
+
@options.merge!({
|
16
|
+
class: classes,
|
17
|
+
viewBox: viewbox,
|
18
|
+
version: "1.1"
|
19
|
+
})
|
20
|
+
@options.merge!(size)
|
21
|
+
@options.merge!(a11y)
|
22
|
+
else
|
23
|
+
raise "Couldn't find octicon symbol for #{@symbol.inspect}"
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
# Returns an string representing a <svg> tag
|
28
|
+
def to_svg
|
29
|
+
"<svg #{html_attributes}>#{@path}</svg>"
|
30
|
+
end
|
31
|
+
|
32
|
+
private
|
33
|
+
|
34
|
+
def html_attributes
|
35
|
+
attrs = ""
|
36
|
+
@options.each { |attr, value| attrs += "#{attr}=\"#{value}\" " }
|
37
|
+
attrs.strip
|
38
|
+
end
|
39
|
+
|
40
|
+
# add some accessibility features to svg
|
41
|
+
def a11y
|
42
|
+
accessible = {}
|
43
|
+
|
44
|
+
if @options[:"aria-label"].nil? && @options["aria-label"].nil?
|
45
|
+
accessible[:"aria-hidden"] = "true"
|
46
|
+
else
|
47
|
+
accessible[:role] = "img"
|
48
|
+
end
|
49
|
+
|
50
|
+
accessible
|
51
|
+
end
|
52
|
+
|
53
|
+
# prepare the octicon class
|
54
|
+
def classes
|
55
|
+
"octicon octicon-#{@symbol} #{@options[:class]} ".strip
|
56
|
+
end
|
57
|
+
|
58
|
+
def viewbox
|
59
|
+
"0 0 #{@width} #{@height}"
|
60
|
+
end
|
61
|
+
|
62
|
+
# determine the height and width of the octicon based on :size option
|
63
|
+
def size
|
64
|
+
size = {
|
65
|
+
width: @width,
|
66
|
+
height: @height
|
67
|
+
}
|
68
|
+
|
69
|
+
# Specific size
|
70
|
+
unless @options[:width].nil? && @options[:height].nil?
|
71
|
+
size[:width] = @options[:width].nil? ? calculate_width(@options[:height]) : @options[:width]
|
72
|
+
size[:height] = @options[:height].nil? ? calculate_height(@options[:width]) : @options[:height]
|
73
|
+
end
|
74
|
+
|
75
|
+
size
|
76
|
+
end
|
77
|
+
|
78
|
+
def calculate_width(height)
|
79
|
+
(height.to_i * @width) / @height
|
80
|
+
end
|
81
|
+
|
82
|
+
def calculate_height(width)
|
83
|
+
(width.to_i * @height) / @width
|
84
|
+
end
|
85
|
+
|
86
|
+
def get_octicon(symbol, options = {})
|
87
|
+
if octicon = Octicons::OCTICON_SYMBOLS[symbol]
|
88
|
+
# We're using width as an approximation for height if the height option is not passed in
|
89
|
+
height = options[:height] || options[:width] || DEFAULT_HEIGHT
|
90
|
+
natural_height = closest_natural_height(octicon["heights"].keys, height)
|
91
|
+
return {
|
92
|
+
"name" => octicon["name"],
|
93
|
+
"keywords" => octicon["keywords"],
|
94
|
+
"width" => octicon["heights"][natural_height.to_s]["width"].to_i,
|
95
|
+
"height" => natural_height,
|
96
|
+
"path" => octicon["heights"][natural_height.to_s]["path"]
|
97
|
+
}
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
def closest_natural_height(natural_heights, height)
|
102
|
+
return natural_heights.reduce(natural_heights[0].to_i) do |acc, natural_height|
|
103
|
+
natural_height.to_i <= height.to_i ? natural_height.to_i : acc
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|