Tesserav1.0.1
GitHub

Look and words

Tessera can carry your organization's name, colors, and logos, and call groups and the roles in them what your organization calls them. Admins set the look in the app, under Admin → Branding; the words are set in the configuration file, starting from a preset for your kind of organization.

The look#

Admin → Branding shows everything about how Tessera looks, with a preview of the app and the public site by day and after dark that changes as you edit:

Admin, Branding: the editor beside a live preview of the app and the public site, by day and after dark, and the contrast of every pair of colorsAdmin, Branding: the editor beside a live preview of the app and the public site, by day and after dark, and the contrast of every pair of colors
Admin → Branding

Saving writes the [branding] section of tessera.toml (with its [branding.palette.day] and [branding.palette.night] tables) and changes nothing else in the file. The file as it was is kept beside it as tessera.toml.bak, and uploaded images in a brand/ folder beside it. Comments inside the branding tables are not kept, since the app writes them afresh; comments elsewhere are. Everyone sees the new look on their next page load, and the public site on its next tessera publish.

If the server cannot write the configuration file (it is on a read-only volume, say), the page says so and shows the section to copy into the file by hand. Configuration stays the record of how Tessera is set up: the app keeps no second copy.

Contrast#

Every pair of colors that carries text must meet WCAG 2.2 level AA, by day and after dark. The editor shows each pair's contrast as you change a color, and will not save while any is too low; tessera doctor checks the same pairs, and tessera publish will not publish a site whose colors fail.

PairNeeds
Text and secondary text, on the page and on cards4.5:1
Links (the accent), on the page and on cards4.5:1
Text on the accent, such as a button's label4.5:1
The colors of people, publications, grants, and studies, on cards4.5:1
The header stripe against the page3:1

A brand's own colors often need a darker shade for text by day and a lighter one after dark: a mid-blue that is right for a logo may be too light for links on white. Yellows and light greens rarely reach 4.5:1 on white; use them for the stripe or keep them for the logo. An accent alone is used as given by day and lightened after dark; set the accent in both columns to choose both yourself.

Logos and images#

ImageFormatsSize
Logo, and logo after darkSVG best; PNG, JPEG, or WebPShown at most 190 by 30 pixels in the sidebar; for PNG, export at twice that (380 by 60) or more
Browser iconSVG, PNG, or ICOSquare; PNG at least 64 by 64 pixels
Link previewPNG or JPEG1200 by 630 pixels

Logos and colors can also be set in the configuration file by hand; see Configuration.

The words#

What the app calls groups, the kinds of group it offers, and the roles people hold in them are set under [vocabulary] in the configuration file. Start from the preset nearest your organization:

[vocabulary]
preset = "university"
PresetGroups are calledKinds of groupRoles
academic_medical_centerGroupsDivision, Department, Research program, Center, Institute, Shared resource, Clinical service, Lab, TeamLead, Co-lead, Member, Clinical member, Staff, Trainee, Affiliate
universityUnitsSchool, College, Department, Institute, Center, Program, Core facility, Lab, TeamDirector, Co-director, Faculty member, Staff, Student or postdoc, Affiliate
research_instituteGroupsDivision, Department, Program, Center, Core facility, Lab, TeamPrincipal investigator, Co-investigator, Scientist, Staff, Trainee, Affiliate

Without a preset, Tessera's own words apply: Division, Department, Program, Center, Institute, Shared resource, Lab, and Team; Lead, Co-lead, Member, Staff, Trainee, and Affiliate.

A preset is a starting point. Any setting beside it replaces the preset's, and [vocabulary.kinds] or [vocabulary.roles] replace its lists entirely:

[vocabulary]
preset = "university"
group = "Department"
groups = "Departments"

Groups and memberships store each kind's and role's key (lab, lead), not its label, so labels can change at any time. The presets share keys wherever they mean the same thing, so moving from one to another keeps every group's kind and every member's role; a kind the new preset does not list is shown with its key, capitalized, until you add it back. See Configuration for every setting.

Describes Tessera 1.0.1. Apache License 2.0. Screenshots show an invented organization; every person and record in them is fictional.