diff options
author | Eric Bailey <git@esb.lol> | 2024-02-16 13:25:07 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-16 13:25:07 -0600 |
commit | 1d729721e553848037700688e2f1ccde333a8c84 (patch) | |
tree | 0077aabb7678a34f45e028fe37252aebb26e2587 /src/alf/atoms.ts | |
parent | 0ff61e08e94c6b9024a93cd487d2b2df21cd6c65 (diff) | |
download | voidsky-1d729721e553848037700688e2f1ccde333a8c84.tar.zst |
Link updates (#2890)
* Link updates, add atoms * Update comments * Support download * Don't open new window for download
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 |