bazelbuild / bazel-central-registry

The central registry of Bazel modules for the Bzlmod external dependency system.
https://registry.bazel.build
Apache License 2.0
244 stars 286 forks source link

Align registry.bazel.build style with Bazel DevSite #137

Closed meteorcloudy closed 5 months ago

meteorcloudy commented 2 years ago

To provide better user experience, we should align the UI design of registry.bazel.build and bazel.build. However, the Bazel DevSite is not yet in its final form yet. We'll provide style guide and illustration/ icon assets when it's done.

meteorcloudy commented 2 years ago

FYI @hobofan @philomathing

meteorcloudy commented 1 year ago

Colour platte for Bazel DevSite:

#F8F9FA
#F1F3F4
#7EC575
#44A147
#0C713A
#1E431E
#202124
meteorcloudy commented 1 year ago

@hobofan Can you give some pointers on how to change the color of the web ui so that it matches bazel.build better?

hobofan commented 1 year ago

@meteorcloudy All the styling in the bcr-ui is done via TailwindCSS (and are being applied via generated CSS classes). Most of colors we use right now come from their default color palette, but there are also a few that we add additionally.

See https://tailwindcss.com/docs/customizing-colors for the general doc. https://github.com/bazel-contrib/bcr-ui/blob/main/tailwind.config.js is where we have defined some, and more can be added

meteorcloudy commented 1 year ago

Cool! I'll send a PR to adjust the bzl-green color, thanks!

alexeagle commented 5 months ago

@meteorcloudy still plan to send that PR?

hobofan commented 5 months ago

@alexeagle That was https://github.com/bazel-contrib/bcr-ui/pull/33