Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create logo usage in markdown #60

Open
rstarmer opened this issue Jul 5, 2023 · 3 comments
Open

Create logo usage in markdown #60

rstarmer opened this issue Jul 5, 2023 · 3 comments

Comments

@rstarmer
Copy link
Member

rstarmer commented Jul 5, 2023

Record the font name(s) we use
Record the color palette we use. Need RGB codes as well.

Placing in a markdown file in the mono repo is good enough!

@rstarmer
Copy link
Member Author

rstarmer commented Jul 5, 2023

@lsdake I think this is an easy one to resolve?

@sdake
Copy link
Member

sdake commented Oct 11, 2023

We don't (currently) have a record of a selected font face. Intel makes a nice developer font, as does fira mono, and I use monolisa.

Each of these is a different font. I am not sure which we can use commercially, but we may not use monalisa on a web property without a pricing increase.

There are 1300 fonts on google fonts. My preferred font (I have 3 or 4, but I can only remember one) is here:

My favorite font, by far, is https://standards.ieee.org/

This uses a font, in an obfuscated way, to access https://fontawesome.com/icons.

@sdake
Copy link
Member

sdake commented Oct 11, 2023

A triadic color scheme uses three colors at 60 degrees to each other on the color wheel (I believe).

Artificial Wisdom™ Triadic Color scheme

COLOR_TEXT = "#00EA8C"
COLOR_EXTRA = "#EA8C00"
COLOR_EXTRENUOUS = "#8C00EA"

Program a Rich theme for Artificial Wisdom

theme = Theme(
    {
        "aw.a": Style.parse(COLOR_TEXT),
        "aw.b": Style.parse(COLOR_EXTRA),
        "aw.c": Style.parse(COLOR_EXTRENUOUS),
        "repr.ellipsis": Style.parse(COLOR_TEXT),
        "repr.filename": Style.parse(COLOR_TEXT),
        "repr.path": Style.parse(COLOR_TEXT),
        "progress.data.speed": Style.parse(COLOR_TEXT),
        "progress.description": Style.parse(COLOR_TEXT),
        "progress.download": Style.parse(COLOR_TEXT),
        "progress.elapsed": Style.parse(COLOR_TEXT),
        "progress.filesize": Style.parse(COLOR_TEXT),
        "progress.filesize.total": Style.parse(COLOR_TEXT),
        "progress.percentage": Style.parse(COLOR_TEXT),
        "progress.remaining": Style.parse(COLOR_TEXT),
        "progress.spinner": Style.parse(COLOR_TEXT),
    }
)

Attaches the theme to the console.

console = Console(theme=theme)

Program a Rich progress bar (like tqdm, but more effective and efficient).

progress_bar = Progress(
    TextColumn(" ", style=COLOR_EXTRA),
    SpinnerColumn(spinner_name="aesthetic", style=COLOR_TEXT),
    TextColumn("•", style=COLOR_EXTRA),
    TextColumn("[progress.description]{task.description}"),
    TextColumn("•", style=COLOR_EXTRA),
    TextColumn("[progress.percentage]{task.percentage:>3.0f}%"),
    TextColumn("•", style=COLOR_EXTRA),
    BarColumn(style=COLOR_TEXT, complete_style=COLOR_EXTRA),
    TextColumn("•", style=COLOR_EXTRA),
    TextColumn("{task.fields[loss]}", style=COLOR_TEXT),
    TextColumn("•", style=COLOR_EXTRA),
    TimeElapsedColumn(),
    TextColumn("•", style=COLOR_EXTRA),
    TimeRemainingColumn(),
    TextColumn("•", style=COLOR_EXTRA),
    console=console,
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants