carbon-design-system / carbon-website-archive

The old website for the Carbon Design System. This repo is archived.
https://www.carbondesignsystem.com
238 stars 115 forks source link

v10 Website Bugs/Updates #608

Closed alisonjoseph closed 5 years ago

alisonjoseph commented 5 years ago

From @jeanservaas

Type tokens/classes and alignment


image



image


image

image

Also, this one should follow the same pattern

image

image


image


Also found on: Getting started Developers, Accessibility (a lot), Support and FAQ

image


Captions are not done in italic now (see layout page for correct treatment) — they pull $body-short-01

image

image


Image sizing

image


Inline Code Snippet Component

image


Type Spec Component

image

image


Code Snippet Spec Component

image


Spacing

Type page examples

screen shot 2018-12-14 at 9 54 59 am

image


Table (Structured list) Component

it does actually looks like you're using two sizes now... I see the 12 col component on the accessibility page and a shorter one on layout

Not ideal (we want to avoid these long line lengths and make sure the first column has enough space so it doesn't have to break) Examples of these are on the Spacing, Accessibility and Disabled State and Overflow Content pages:

image

image

Ideal:

image

image

image

lovemecomputer commented 5 years ago

hi @carbon-design-system/design / @jeanservaas / @shixiedesign / @claycrenshaw ! i'm working through the issues in this PR. Have a few requests/feedback/input. More may come in a future comment, but this is a cursory glace at the moment:


We should never be bolding inline links (I found this on the Getting Started Designers page) but we can make that rule across the board

this sounds like a content rule that should have its own Issue/PR, as it can be controlled via editing the markdown file so it isn't just a development issue.


screen shot 2018-12-19 at 1 02 54 pm

This is actually not a particular caption, just a paragraph made to be italic? Captions on the Do/Don't Examples were implemented to match the IDL site, but then some last-minute hurried revision kind of broke the implementation.

For proper implementation, we need to see a Github Issue with caption specs and a list of which components we would like captions to be used for


screen shot 2018-12-19 at 1 07 13 pm screen shot 2018-12-19 at 1 07 20 pm

this is a bit more complicated of an issue and should be tracked in its own PR. the rectangle with the white background is it's own element that the header margin is pushing away from. we'd need to compile a list of special cases like this and figure out an implementation strategy to make it consistent & easy to get right when editing the markdown file. would rather have that discussion in its own Issue & PR, along with the necessary details to implement!


Table (Structured list) Component

  • Ideally we want two sizes for this component — a 12 column component and a 6 column component for less information

We should also put this into its own Issue with some specification behind what the desired options and implementation should be. table spacing and swapping numbers of columns can be pretty complicated!


screen shot 2018-12-21 at 2 31 09 pm

Can you elaborate on this in its own Issue? I've hunted through the site, but I'm not sure I understand what content should go into the table. I could use a verbose explanation so I understand correctly!


screen shot 2018-12-21 at 2 42 13 pm

Can you open a separate issue for this too? I have 2 questions about it to ensure that we implement the correct rules!

  1. What spacing token(s) should be used on the type spec element's margin? we don't have the same grid on the web as we do in a sketch document, so we need to make sure we're using the right token to control either the maximum width of the paragraph, or the size of the margine (and it's possible to use different tokens and different screen widths if necessary)
  2. i'm not seeing the same issue the code snippet misalignment. i will continue to look for it, but it'll be easier to talk about it once this is in a separate issue :)

screen shot 2018-12-21 at 2 48 19 pm

The images are being displayed full-width, looks like we just need to get the correct image assets in here. feel free to send them over, or open a separate issue with the updated files attached/linked. Thanks!


screen shot 2018-12-21 at 3 02 20 pm

will need to see specs & comp to implement dark theme. alison already fixed the misalignment issue globally in a separate Issue/PR, but i'll see what's the best way to add the border for now!

lovemecomputer commented 5 years ago

all the fixes that i was able to do for now are in https://github.com/carbon-design-system/carbon-website/pull/625 !

alisonjoseph commented 5 years ago

@jeanservaas

https://github.com/carbon-design-system/carbon-website/pull/641

alisonjoseph commented 5 years ago

closing this as items have either been addressed or moved to separate issues