Skip to content

Commit

Permalink
feat: value override
Browse files Browse the repository at this point in the history
  • Loading branch information
seanghay committed Jul 17, 2023
1 parent abae9b4 commit cb1ca09
Show file tree
Hide file tree
Showing 6 changed files with 373 additions and 310 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = tab
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
8 changes: 7 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ npm install vector-drawable-svg

```js
const { transform } = require('vector-drawable-svg');
const svgContent = transform(vectorDrawbleContent);

const svgContent = transform(vectorDrawbleContent, {
pretty: true,
override: {
'@color/colorPrimary': '#00ff00',
'@color/colorSecondary': '#00ff00',
});
```
Using on Bash
Expand Down

0 comments on commit cb1ca09

Please sign in to comment.