Git Product home page Git Product logo

photon's People

Contributors

aminalhazwani avatar brassy- avatar bwinton avatar caterinasworld avatar designakt avatar dpx-designer avatar emceeaich avatar ericawright avatar exe-boss avatar fgaz avatar flodolo avatar flytori avatar heyneff avatar kerrick avatar kwanesq avatar lonnen avatar marsjaninzmarsa avatar mheubusch avatar mte90 avatar nicbarajas avatar pwalm avatar roryokane avatar ryanfeeley avatar sotayamashita avatar sudeshana avatar tlhuang avatar topaxi avatar violasong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

photon's Issues

Typography

To syncronise work with the DevTools Photon Docs and the UI Library I would like to start a phase of decision making with a focus of the basic building blocks, starting with Typography.
Let's aim to document the aspirational state of DevTools, documenting what is current and making adjustments to reflect our proposed improvements.

The main purpose here is to capture the ideas as perhaps concluding the typography of DevTools will never be achieved in a GitHub Issue. We only need to be happy to the point that UI components can be created with a degree of assurance. It is OK to make amends to these base elements after we conclude here as I'm sure we will after seeing how they affect the layout of DevTools once committed.

I'm going to start the ball rolling with my initial audit and welcome all feedback and suggetsions to ensure we cover all bases with a view to homogenizing when appropriate.

Sans-serif (Segoe UI, San Francisco, Ubuntu...)

Name Size Weigth Emphasized Example
Alpha 18px Normal 400 - Empty storage panel "No data present..."
Beta 14px Normal 400 - Empty Debugger text "Go to file… Find in files..."
Gamma 12px Normal 400 Bold 700 Pane headers
Delta 11px Normal 400 Bold 700 Italic 300 Pane body copy / Network panel

Monospace (Consolas, Menlo...)

Name Size Weigth Emphasized Example
Alpha 12px Normal 400 Bold 700 Header panel, status code badges
Beta 11px Normal 400 Bold 700 Inspector, Debugger
Gamma 9px Normal 400 - Badge buttons i.e. Flex, Event

My idea with the name convention is that we can refer to the type styles like "Sans Beta" and "Mono Alpha", keeping it loose so we're not declaring specific faces or sizes etc. Open to ideas of course!

I think due to the nature of DevTools, and the frequency of 11px and 12px sizes (so far) attempting to declare a sort of scaling ratio might not be appropriate or even possible, but again this is all open for discussion.

Maybe we provide rules for these type styles to provide some additoinal direction i.e:

Mono Beta: To be used when displaying large amounts (or the potetial of large amounts) of code.
Sans Delta Italic: Only to be used as placeholder text for input fields.

I've provided a little cluster of UI elements here to illustrate what we currently have declared above:

slice_2x

@violasong @fvsch

Add patterns/sidebars section.

Things to note:

  • Accordions are usually in the sidebar. Maybe they should have another page.
  • Something about Buttons in the accordions that I don't remember.
  • Also, the Collapse Panel button sometimes flips direction, but sometimes doesn't.

Add DevTools-specific content under motion.

Discuss the amount of animation required (if any) in DevTools UI with examples.
Discuss Standardization of animation, e.g sidebar toggle icons animation behavioural differenecs within each tab.

Add components/toolbars section.

Should cover Main and sub-toolbars, in addition to focus styling, and perhaps styling for dropdown menus in toolbars.

Note: this might need to be split into multiple pages, but let's start with this for now.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.