You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Brian Dashore edited this page Apr 26, 2023
·
2 revisions
This page is for common plugin blocks used in various aspects of a plugin such as in both sources and actions.
4a. Tag
Tags are used in plugins to provide small bits of information to users before installing a source. They can be whatever color and name you want.
Example
- name: My cool tagcolor: # Hex code
Fields
name
Required: The tag's name
color
Optional: The tag's color as a hex value. Defaults to tertiaryLabelColor (which is a variant of gray) if not specified. Colors have their opacity reduced to 0.3 in-app, so please view these colors at the appropriate opacity before adding a tag to a plugin.
4b. SwiftUI default color hexes
I was able to extract SwiftUI's default colors as hex values. This means that colors restricted for iOS 15 and up are now accessible across iOS 14.