@central-icons-react-native/round-outlined-radius-2-stroke-2 1.1.291 → 1.1.293
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.
- package/IconBase44/index.d.ts +4 -0
- package/IconBase44/index.js +3 -0
- package/IconBase44/index.js.map +11 -0
- package/IconBase44/index.mjs +3 -0
- package/IconBase44/index.mjs.map +11 -0
- package/IconBookHeart/index.d.ts +4 -0
- package/IconBookHeart/index.js +3 -0
- package/IconBookHeart/index.js.map +11 -0
- package/IconBookHeart/index.mjs +3 -0
- package/IconBookHeart/index.mjs.map +11 -0
- package/IconEmail2Block/index.d.ts +4 -0
- package/IconEmail2Block/index.js +3 -0
- package/IconEmail2Block/index.js.map +11 -0
- package/IconEmail2Block/index.mjs +3 -0
- package/IconEmail2Block/index.mjs.map +11 -0
- package/IconEmail2Check/index.d.ts +4 -0
- package/IconEmail2Check/index.js +3 -0
- package/IconEmail2Check/index.js.map +11 -0
- package/IconEmail2Check/index.mjs +3 -0
- package/IconEmail2Check/index.mjs.map +11 -0
- package/IconEmail2Incoming/index.d.ts +4 -0
- package/IconEmail2Incoming/index.js +3 -0
- package/IconEmail2Incoming/index.js.map +11 -0
- package/IconEmail2Incoming/index.mjs +3 -0
- package/IconEmail2Incoming/index.mjs.map +11 -0
- package/IconEmail2Plus/index.d.ts +4 -0
- package/IconEmail2Plus/index.js +3 -0
- package/IconEmail2Plus/index.js.map +11 -0
- package/IconEmail2Plus/index.mjs +3 -0
- package/IconEmail2Plus/index.mjs.map +11 -0
- package/IconEmail2Remove/index.d.ts +4 -0
- package/IconEmail2Remove/index.js +3 -0
- package/IconEmail2Remove/index.js.map +11 -0
- package/IconEmail2Remove/index.mjs +3 -0
- package/IconEmail2Remove/index.mjs.map +11 -0
- package/IconEmail2Unread/index.d.ts +4 -0
- package/IconEmail2Unread/index.js +3 -0
- package/IconEmail2Unread/index.js.map +11 -0
- package/IconEmail2Unread/index.mjs +3 -0
- package/IconEmail2Unread/index.mjs.map +11 -0
- package/IconSuitcase/index.js +2 -2
- package/IconSuitcase/index.js.map +3 -3
- package/IconSuitcase/index.mjs +2 -2
- package/IconSuitcase/index.mjs.map +3 -3
- package/IconTodoist/index.d.ts +4 -0
- package/IconTodoist/index.js +3 -0
- package/IconTodoist/index.js.map +11 -0
- package/IconTodoist/index.mjs +3 -0
- package/IconTodoist/index.mjs.map +11 -0
- package/README.md +30 -0
- package/filtered-icons.json +1 -1
- package/icons/index.d.ts +1 -1
- package/icons/index.js +2 -2
- package/icons/index.js.map +3 -3
- package/icons/index.mjs +2 -2
- package/icons/index.mjs.map +3 -3
- package/icons-index.json +4 -4
- package/index.d.ts +9 -0
- package/index.js +27 -0
- package/index.mjs +9 -0
- package/license-check.js +1 -1
- package/package.json +1 -1
- package/skills/central-icons-react-native/SKILL.md +20 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/CentralIconBase/index.tsx", "src/IconTodoist/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React, { FC } from \"react\";\nimport { Svg, SvgProps } from \"react-native-svg\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n} & SvgProps;\n\nexport const CentralIconBase: FC<\n CentralIconBaseProps\n> = ({\n children,\n size = 24,\n ...props\n}) => {\n return (\n <Svg\n {...props}\n width={typeof size === \"number\" ? `${size}px` : size}\n height={typeof size === \"number\" ? `${size}px` : size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n >\n {children}\n </Svg>\n );\n};\n",
|
|
6
|
+
"import React, { FC } from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\nimport { Path } from \"react-native-svg\";\n\nexport const IconTodoist: FC<CentralIconBaseProps> = (props) => {\n return <CentralIconBase {...props}><Path d=\"M18.4599 2.5C20.1389 2.5 21.5 3.86112 21.5 5.54007V18.4599C21.5 20.1389 20.1389 21.5 18.4599 21.5H5.54007C3.86112 21.5 2.5 20.1389 2.5 18.4599V15.9585C3.31524 16.4333 5.2199 17.5426 5.68735 17.8065C5.97101 17.9666 6.24351 17.9631 6.51709 17.8053L14.2063 13.38C14.3707 13.285 14.3787 12.9934 14.1947 12.8877C13.9724 12.7622 13.7511 12.6351 13.5302 12.5074C13.4391 12.4578 13.3364 12.4325 13.2327 12.4337C13.1292 12.435 13.0279 12.4632 12.9382 12.5149C12.8461 12.5683 6.70281 16.1002 6.49738 16.2166C6.25157 16.3567 5.94764 16.3585 5.70242 16.2166L2.5 14.3559V12.7567C3.31515 13.2314 5.21987 14.3407 5.68735 14.6046C5.9717 14.7648 6.24342 14.7614 6.51709 14.6035L10.297 12.4279L10.3109 12.4198L14.2063 10.1782C14.3706 10.0831 14.3781 9.79152 14.1941 9.68646L14.0654 9.6134C13.8778 9.50659 13.6342 9.36729 13.5302 9.30667C13.4391 9.2571 13.3364 9.23178 13.2327 9.23303C13.1293 9.23432 13.0278 9.26203 12.9382 9.31363C12.8461 9.36647 6.70281 12.8989 6.49738 13.0153C6.3764 13.0844 6.23952 13.1208 6.10019 13.1208C5.96075 13.1208 5.82348 13.0845 5.70242 13.0153C5.52164 12.911 2.8655 11.367 2.5 11.1546V9.55542C3.31463 10.0302 5.21989 11.14 5.68735 11.4034C5.97164 11.5635 6.24347 11.56 6.51709 11.4022L10.3017 9.22433L10.3063 9.22144L14.2063 6.9769C14.3707 6.88187 14.3781 6.59088 14.1941 6.4852L14.0654 6.41156C13.8773 6.30479 13.6342 6.16604 13.5302 6.10541C13.4391 6.05584 13.3364 6.03052 13.2327 6.03177C13.1292 6.03306 13.0279 6.06073 12.9382 6.11237C12.8461 6.1658 6.70281 9.69764 6.49738 9.81461C6.37642 9.88371 6.23949 9.92011 6.10019 9.92014C5.96076 9.92014 5.82347 9.8838 5.70242 9.81461L2.5 7.95276V5.54007C2.5 3.86112 3.86112 2.5 5.54007 2.5H18.4599Z\" fill=\"currentColor\"/></CentralIconBase>;\n};\n\nexport default IconTodoist;\n"
|
|
7
|
+
],
|
|
8
|
+
"mappings": "AAAA,qBACA,cAAS,yBAMF,IAAM,EAET,EACF,WACA,OAAO,MACJ,KACC,CACJ,OACE,gBAQE,EARF,IACM,EACJ,MAAO,OAAO,IAAS,SAAW,GAAG,MAAW,EAChD,OAAQ,OAAO,IAAS,SAAW,GAAG,MAAW,EACjD,QAAQ,YACR,KAAK,QAEJ,CACD,GCvBN,qBAEA,eAAS,yBAEF,IAAM,EAAwC,CAAC,IAAU,CAC9D,OAAO,gBAAwrD,EAAxrD,IAAqB,GAAO,gBAAC,EAAD,CAAM,EAAE,6nDAA6nD,KAAK,eAAc,CAAI,GAGlrD",
|
|
9
|
+
"debugId": "54B999E0389490C264756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
package/README.md
CHANGED
|
@@ -8,6 +8,7 @@ A collection of round outlined React icons with 2px radius and 2px stroke width,
|
|
|
8
8
|
- [Installation](#installation)
|
|
9
9
|
- [Requirements](#requirements)
|
|
10
10
|
- [Usage](#usage)
|
|
11
|
+
- [Using Transparent Colors](#using-transparent-colors)
|
|
11
12
|
- [Icon Properties](#icon-properties)
|
|
12
13
|
- [Accessibility](#accessibility)
|
|
13
14
|
- [Available Packages](#available-packages)
|
|
@@ -95,6 +96,22 @@ function MyComponent() {
|
|
|
95
96
|
}
|
|
96
97
|
```
|
|
97
98
|
|
|
99
|
+
## Using transparent colors
|
|
100
|
+
|
|
101
|
+
Each icon is drawn from several overlapping shapes — strokes and fills — all painted with the current color. If that color already carries transparency (an alpha channel), every shape is drawn semi-transparent, so the places where shapes overlap get painted twice and look darker than the rest of the icon.
|
|
102
|
+
|
|
103
|
+
To apply a see-through color evenly, keep the color solid and set the transparency with `opacity` instead. `opacity` fades the whole icon as a single layer, so overlaps no longer stack:
|
|
104
|
+
|
|
105
|
+
```jsx
|
|
106
|
+
// ❌ overlaps look darker — the color carries transparency
|
|
107
|
+
<IconHome color="rgba(0, 0, 0, 0.5)" />
|
|
108
|
+
|
|
109
|
+
// ✅ uniform — solid color, transparency applied with opacity
|
|
110
|
+
<IconHome color="black" opacity={0.5} />
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
React Native has no `currentColor`/CSS cascade, so apply the same idea with props: pass a solid `color` and set `opacity` on the icon. With NativeWind, use the `opacity-50` class rather than a color that carries an alpha channel.
|
|
114
|
+
|
|
98
115
|
## Icon Properties
|
|
99
116
|
|
|
100
117
|
All icons accept the following properties:
|
|
@@ -588,6 +605,13 @@ Below is a complete list of available icons:
|
|
|
588
605
|
- IconChatBubble7
|
|
589
606
|
- IconChatBubbles
|
|
590
607
|
- IconMailbox
|
|
608
|
+
- IconEmail2Plus
|
|
609
|
+
- IconEmail2Remove
|
|
610
|
+
- IconEmail2Incoming
|
|
611
|
+
- IconEmail2Block
|
|
612
|
+
- IconEmail2Check
|
|
613
|
+
- IconEmail2Unread
|
|
614
|
+
- IconBookHeart
|
|
591
615
|
|
|
592
616
|
### Crypto
|
|
593
617
|
|
|
@@ -1855,6 +1879,8 @@ Below is a complete list of available icons:
|
|
|
1855
1879
|
- IconAtlassian
|
|
1856
1880
|
- IconJira
|
|
1857
1881
|
- IconConfluence
|
|
1882
|
+
- IconTodoist
|
|
1883
|
+
- IconBase44
|
|
1858
1884
|
|
|
1859
1885
|
### Sound & Music
|
|
1860
1886
|
|
|
@@ -2362,3 +2388,7 @@ Common issues and solutions:
|
|
|
2362
2388
|
3. **Bundle size concerns**
|
|
2363
2389
|
- Use specific imports instead of the main entry point
|
|
2364
2390
|
- Use a build tool supporting tree shaking
|
|
2391
|
+
|
|
2392
|
+
4. **Icons look darker where lines overlap**
|
|
2393
|
+
|
|
2394
|
+
- You're likely using a semi-transparent `color` (one with an alpha channel). Keep the color solid and apply transparency with `opacity` instead — see [Using transparent colors](#using-transparent-colors).
|