diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/Admonition.tsx | 2 | ||||
-rw-r--r-- | src/components/forms/TextField.tsx | 1 | ||||
-rw-r--r-- | src/components/icons/Beaker.tsx | 5 |
3 files changed, 7 insertions, 1 deletions
diff --git a/src/components/Admonition.tsx b/src/components/Admonition.tsx index 140e838e7..8b01a8aba 100644 --- a/src/components/Admonition.tsx +++ b/src/components/Admonition.tsx @@ -8,7 +8,7 @@ import {Leaf_Stroke2_Corner0_Rounded as TipIcon} from '#/components/icons/Leaf' import {Warning_Stroke2_Corner0_Rounded as WarningIcon} from '#/components/icons/Warning' import {Text as BaseText, TextProps} from '#/components/Typography' -const colors = { +export const colors = { warning: { light: '#DFBC00', dark: '#BFAF1F', diff --git a/src/components/forms/TextField.tsx b/src/components/forms/TextField.tsx index 3c224ba68..2bbf05422 100644 --- a/src/components/forms/TextField.tsx +++ b/src/components/forms/TextField.tsx @@ -326,6 +326,7 @@ export function SuffixText({ <Text accessibilityLabel={label} accessibilityHint={accessibilityHint} + numberOfLines={1} style={[ a.z_20, a.pr_sm, diff --git a/src/components/icons/Beaker.tsx b/src/components/icons/Beaker.tsx new file mode 100644 index 000000000..c6cf47419 --- /dev/null +++ b/src/components/icons/Beaker.tsx @@ -0,0 +1,5 @@ +import {createSinglePathSVG} from './TEMPLATE' + +export const Beaker_Stroke2_Corner2_Rounded = createSinglePathSVG({ + path: 'M13.5 4a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM10 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM8 6a1 1 0 0 0 0 2v2.64q-.319.374-.711.8l-.129.142c-.312.342-.649.711-.974 1.092-.731.857-1.488 1.866-1.89 2.99A4.9 4.9 0 0 0 4 17.298 4.7 4.7 0 0 0 8.702 22h6.596A4.7 4.7 0 0 0 20 17.298c0-.575-.114-1.122-.297-1.634-.401-1.124-1.157-2.133-1.89-2.99-.324-.38-.66-.75-.973-1.092h0l-.129-.141c-.26-.286-.5-.55-.711-.8V8a1 1 0 1 0 0-2H8Zm2 5.35V8h4v3.35l.22.275c.306.383.661.777 1.013 1.163l.13.143h0c.315.345.628.688.93 1.042.372.435.704.861.974 1.28l-.159.025c-.845.13-1.838.242-2.581.222-.842-.022-1.475-.217-2.227-.454l-.027-.008c-.746-.235-1.61-.507-2.746-.538-.743-.02-1.617.064-2.38.165q.26-.342.56-.692c.302-.354.615-.697.93-1.042l.13-.143c.352-.386.707-.78 1.014-1.163L10 11.35Zm7.41 5.905q.316-.048.586-.095.004.07.004.138A2.7 2.7 0 0 1 15.298 20H8.702A2.7 2.7 0 0 1 6 17.298q0-.213.039-.434c.236-.043.53-.093.853-.142.845-.13 1.837-.242 2.581-.222.842.022 1.475.217 2.227.454l.027.008c.746.235 1.61.507 2.746.538.931.024 2.07-.113 2.937-.245Z', +}) |