athensresearch / athens

Athens is no longer maintainted. Athens was an open-source, collaborative knowledge graph, backed by YC W21
https://athensresearch.github.io/athens
Other
6.32k stars 397 forks source link

Style Guide #103

Closed tangjeff0 closed 4 years ago

tangjeff0 commented 4 years ago

Downhill Tasks (good for contributors)

Sorted easiest to hardest (as I perceive)

Colors & Opacities

06-08-18 Edit: @shanberg found stylefy lib and is refactoring relevant code in #136. This solves inline pseudoselectors, but not the opacity abstraction out of the box.

Problem

Solution?

Design Language / Style Guide:

Design language

tangjeff0 commented 4 years ago

Colors

Typography

Icons

Breakpoints

jeroenvandijk commented 4 years ago

+1 one semantic names. I think things like green can be used internally (in the style.cljs file for instance). Maybe the designers can make some examples of how the html would be structured ideally. As developers, we can see how we could make this work for them? I think we can make everyone happy

tangjeff0 commented 4 years ago

Discovered Tasks

tangjeff0 commented 4 years ago

Opacity of highlight is 0.2, but the closest color ramp to that is 0.25. @jacobmorse

jacobmorse commented 4 years ago

@tangjeff0 You're not actually supposed to hold us to the system. Just kidding — I overlooked that discrepancy. I think we can actually push it down to 0.1. I'd prefer it be more subtle.

image

tangjeff0 commented 4 years ago

Latest check-in

shanberg commented 4 years ago

@tangjeff0 @jacobmorse On breakpoints, from an earlier discussion:

I'm thinking we should describe the min/max-widths of the main content column, secondary content column, and expanded nav, and then a breakpoint will emerge whenever the text feels too cramped. I prefer that at least over picking favorite browser sizes and baking that into a system.

jacobmorse commented 4 years ago

I agree, with the possible exception of the Nav sidebar, which I think should be fixed width.