diff options
author | Minseo Lee <itoupluk427@gmail.com> | 2024-02-19 14:17:59 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-19 14:17:59 +0900 |
commit | 6d422bb583bf8946d92fe270b1fe5c760251f0cc (patch) | |
tree | 11871ebc34d48c5afcac1aa56464f8bffdc9f83a /src/alf/atoms.ts | |
parent | b3e6f0f29deae515d232d14f099e8c144d870f48 (diff) | |
parent | 7390863a1005eeadbb6dbdcbc47f9cc13298e101 (diff) | |
download | voidsky-6d422bb583bf8946d92fe270b1fe5c760251f0cc.tar.zst |
Merge branch 'main' into patch-3
Diffstat (limited to 'src/alf/atoms.ts')
-rw-r--r-- | src/alf/atoms.ts | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/alf/atoms.ts b/src/alf/atoms.ts index bbf7e3243..f75e8ffe0 100644 --- a/src/alf/atoms.ts +++ b/src/alf/atoms.ts @@ -122,6 +122,9 @@ export const atoms = { flex_shrink: { flexShrink: 1, }, + justify_start: { + justifyContent: 'flex-start', + }, justify_center: { justifyContent: 'center', }, @@ -140,10 +143,31 @@ export const atoms = { align_end: { alignItems: 'flex-end', }, + self_auto: { + alignSelf: 'auto', + }, + self_start: { + alignSelf: 'flex-start', + }, + self_end: { + alignSelf: 'flex-end', + }, + self_center: { + alignSelf: 'center', + }, + self_stretch: { + alignSelf: 'stretch', + }, + self_baseline: { + alignSelf: 'baseline', + }, /* * Text */ + text_left: { + textAlign: 'left', + }, text_center: { textAlign: 'center', }, @@ -195,10 +219,16 @@ export const atoms = { font_bold: { fontWeight: tokens.fontWeight.semibold, }, + italic: { + fontStyle: 'italic', + }, /* * Border */ + border_0: { + borderWidth: 0, + }, border: { borderWidth: 1, }, @@ -208,6 +238,12 @@ export const atoms = { border_b: { borderBottomWidth: 1, }, + border_l: { + borderLeftWidth: 1, + }, + border_r: { + borderRightWidth: 1, + }, /* * Shadow |