Skip to content

TuringProblem/atoms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atoms

Atoms Logo
A typst ui library for computer science papers, research, and brainstorming :).

Current Components (Beta - still potential to change)


Components

Card (Currently Working on)

Config: dictinary

Example:

#import "src/molecules/cards/example.typ": *

#let configExample = (
    header: (title: "foo", icon: emoji.hand),
    padding: 16pt,
    radius: 8pt,
    border: (width: 0.5pt, color: none, style: "solid"),
)

#card(config: configExample)[...]

Example Card


Buttons

content: dictinary

variant: str

size: str

fill?: color

stroke?: color

text-color?: color

radius?: Length

width?: Length

block?:

Example:

#import "src/molecules/buttons/basic.typ": *

#basicButton(
    [foo],
    variant: "secondary",
    bg-color: rgb("#000000"),
    stroke: 0.5pt + rgb("#ff0000"),
    text-color: rgb("#00ff00"),
    radius: 8pt,
    width: 100%,
)

Example Button

About

A typst ui library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages