sf_symbol_converter 1.0.0.alpha.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e0b93f63a04053685cf2a51ebe9b02a56d3a9e333c9f9e63ed1935e1b7449fb
4
- data.tar.gz: 836bffc5c81f0f9950071375b0f6f03a4d0e7717a1b6c266247bc9b8da09e1ee
3
+ metadata.gz: f672d98f119e3a022d7f8836a1bafa52c2559b8b15e153c90bc99fa970fd6024
4
+ data.tar.gz: '09a2b0443839c979089c5ab8ec494faec36317756125d4015fac62d299d8607b'
5
5
  SHA512:
6
- metadata.gz: 37bcddbbfa459d27137591ddc501ebefbbeebaa980ba6502c2211ed64ef9f8197663046061e3bde34025f54abbf8f8970d178f1378c1fc560faa5d9f45d1faa2
7
- data.tar.gz: ad89602632caab227db154c7e3c71216402b7dedc6cb8489d0e7ff5eae02c57c3e5c47b8035c4e0bc605b9680be6e40ba51d547a0ba60b9e6b1cdecc6ef1fd1a
6
+ metadata.gz: 063f0098dacf637740bd686739e671c2942043e168cc8395823e092995faaabe428e23ed9a86a31d6b53908c31bad1837b64b3726be52bea5e1c95bbdfbf4bd7
7
+ data.tar.gz: 83ffc8c82b8e6739b42e65f30e8080cc3605b6df780a1f0dfe7c36913eea10aed64c8bfd2509bdb337526f6d43535c974878d859a172763d9c3ae23de84b6b4b
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SFSymbolConverter
4
- VERSION = "1.0.0.alpha.1"
4
+ VERSION = "1.0.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sf_symbol_converter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.alpha.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yang Liu
@@ -51,35 +51,7 @@ dependencies:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
53
  version: 1.1.0
54
- description: "# SFSymbol Icon Convertor\n\n\nGiven a SVG icon with viewBox that respect
55
- [material icon principles](https://m3.material.io/styles/icons/designing-icons),
56
- generate appropriate SFSymbol.\n\n## Longer rational\n\nDesigners often use the
57
- **material guidelines** to produce icon.\n\n<img src=\"docs/images/material_viewbox.png\"
58
- alt=\"Material Viewbox\" width=200>\n\nInside this viewbox of 24x24px, there is
59
- a mandatory margin of 2px. \nThe icon is supposed to respect a guideline.\n\n<img
60
- src=\"docs/images/material_guideline.png\" alt=\"Material Guideline\" width=200>\n\nFor
61
- instance theese icons respect material guidelines:\n\n<img src=\"docs/images/material_example1.png\"
62
- alt=\"Material Example\" width=150>\n<img src=\"docs/images/material_example2.png\"
63
- alt=\"Material Example\" width=150>\n<img src=\"docs/images/material_example3.png\"
64
- alt=\"Material Example\" width=150>\n<img src=\"docs/images/material_example4.png\"
65
- alt=\"Material Example\" width=150>\n\nMore info here: https://m3.material.io/styles/icons/designing-icons\n\n---\n\nOn
66
- the other side, and while it is still possible to use `svg`, Apple pushes for the
67
- use of SfSymbol.\n\nSFSymbols have multiple benefits:\n- performance\n- ability
68
- to mix text and image in a proper way\n- ability to do bi (or multi) color icon\n\n<img
69
- src=\"docs/images/sfsymbol_bicolor.png\" alt=\"Material Example\" width=400>\n\nMore
70
- info here: \n- https://developer.apple.com/documentation/uikit/uiimage/creating_custom_symbol_images_for_your_app\n-
71
- https://developer.apple.com/design/human-interface-guidelines/sf-symbols\n\nIt require
72
- the developper to take a template, and insert the icon inside, while respecting
73
- the size and the margin.\n\n<img src=\"docs/images/sfsymbol_template.png\" alt=\"SfSymbol
74
- Template\" width=650>\n\nSince a few version, you can provide only three variations:\n-
75
- ultralight-S\n- regular-S\n- black-S\n\nAnd the system (UIKit, or SwiftUI) will
76
- interpolate the rest.\n\n<img src=\"docs/images/sfsymbol_interpolation.png\" alt=\"SfSymbol
77
- Template\" width=500>\n\nWe provide the small, but to respect the material system,
78
- you are supposed to use the `.medium`\n\n<img src=\"docs/images/sfsymbol_size.png\"
79
- alt=\"SfSymbol Template\" width=500>\n\n## Instalation and usage\n\n`gem install
80
- sf_symbol_converter`\n\nThen convert icon one by one:\n\n`sf_symbol_converter convert
81
- ./input.svg output.svg`\n\nOr batch convert:\n\n`sf_symbol_converter batch_convert
82
- ./input_dir/ ./output_dir`"
54
+ description:
83
55
  email:
84
56
  - yangl@bam.tech
85
57
  - tychot@bam.tech