Skip to content

Design Tools Overview #33447

Open
Open

Description

@mtias

Splitting work on design tools into its own tracking issue and out of #20331, which we are reserving for infrastructure and global styles specifically.

Goal

Design tools encompass all tools related to the appearance of blocks and ranges from colors, typography, alignments, and positioning, to filters like duotone, cropping, and background media. This issue is primarily focused on the creation of shared tools and its consistent application across blocks. Sometimes blocks do require specific functionality which won't generally be part of this overview.

Another important goal of design tools is ensuring a wide range of exquisitely crafted patterns are possible; that best practices are not only possible but encouraged; and that customizing blocks is a consistent and natural experience.

Challenges

The current main challenges revolve around having a robust base component system that allows creating good and accessible design tools; excellent integration with theme.json mechanics; and the ability to naturally handle different viewports.

Tasks

Components

Different Viewports

This has been amply debated in the history of Gutenberg. The current motivation is to lean on intrinsic web design principles as much as possible to eliminate the need for explicit media query handling which can be not only intimidating for users but fragile in the context of patterns unless they use container queries. This is an opportunity to embrace an emerging way of designing for the web that could be more resilient and expressive from a design perspective.

To be brief, these principles revolve around CSS features like flex and grid to ensure elements know how they need to flow
and stack within containers without further instructions, leveraging properties like mixmax and calc for setting layout boundaries, etc. Ideally controls like font size, even if exposed as single values to users in the UI, are built as functions behind the scenes to accommodate different viewport ranges. (Access to the underlying mechanisms is still important for theme and pattern authors. Some of this is already supported through theme.json: min( max( Xpx, Yvw), Zpx).)

Blocks

Layout

Tools

These are general tools relating to background, color, typography, dimensions, gradients, etc.


Done

Activity

  1. added
    [Type] Overview
    [Feature] Design Tools
    on Jul 15, 2021
  2. pinned this issue on Jul 15, 2021
  3. promocot commented on Aug 9, 2021

    @promocot

    Add VW, VH units for a better responsive design for mobile and tablet will be better to use VW, VH, and %, give this opportunity for those who know what to do with it

  4. deleted a comment from on Aug 11, 2021
  5. moved this to Overview Issue in Design Tools Projecton Nov 2, 2021
  6. moved this from Overview Issue to Project Overview in Design Tools Projecton Nov 2, 2021
  7. moved this from Project Overview to Not Started in Design Tools Projecton Nov 2, 2021
  8. moved this from Not Started to Project Overview in Design Tools Projecton Nov 2, 2021
  9. mtias commented on Jan 26, 2022

    @mtias
    MemberAuthor

    Update: included #33687 in the list.

  10. apeatling commented on Feb 4, 2022

    @apeatling
    Contributor

    The above issues are also tracked and kept in sync via this project where you can see who is working on them, status, and some tracking notes: Design Tools Project

  11. jasmussen commented on Mar 14, 2022

    @jasmussen
    Contributor

    I'd like to submit #38990 for the issue. The use case is simple: a beautiful circular image is common in patterns, drag a rectangular image in there and it becomes a sad pillshape. The ticket suggests that if the dimensions are preset and object-fit is set, the replacement image would keep the same dimensions and radius.

  12. jasmussen commented on Mar 15, 2022

    @jasmussen
    Contributor

    #39452 details a few improvements to duotone and filters:

    • Multiple filters
    • Clearing selected filters to theme defaults
    • A new Filter icon suggestion
  13. moved this to Tracking issues in WordPress 6.0 Editor Taskson Mar 17, 2022
  14. moved this from Tracking issues to Triage in WordPress 6.0 Editor Taskson Mar 29, 2022
  15. adamziel commented on Apr 1, 2022

    @adamziel
    Contributor

    @jasmussen @apeatling Is there any feature here that you think could still land until Wednesday next week to be included in WordPress 6.0 release? To increase visibility, we can add it to the WordPress Editor 6.0 project board.

  16. jasmussen commented on Apr 1, 2022

    @jasmussen
    Contributor

    @adamziel given @aaronrobertshaw's good work on borders, it seems like #35602 and potentially #21540 could still land.

  17. changed the title [-]Design Tools Overview[/-] [+]x[/+] on Apr 25, 2022
  18. changed the title [-]x[/-] [+]Design Tools Overview[/+] on Apr 25, 2022
  19. unpinned this issue on May 23, 2022
  20. Jabe64 commented on Oct 27, 2022

    @Jabe64

    Hi, what about adding Box Shadow options to this list? As mentioned on #44651 ?

  21. jameskoster commented on Aug 2, 2023

    @jameskoster
    Contributor

    Some additional considerations

    Needs design / dev:

    Needs issue:

    • Add a shortcut to make containers full-height. vh is not intuitive.
    • Enhance the Image → Cover transform flow UX. Surface options (duotone, overlay, etc). Could be connected with patterns.
    • Explore more preset designs for Separator block.
    • Cropping: add handles to the image boundaries for resizing.
    • Aspect ratio control: surface focal point picker when relevant. (Add to Tracking: Aspect Ratio #48079).
    • Comment Next Page and Comment Previous Page: allow an icon-only appearance.
    • Bug: When the Cover block Matrix control is set to anything other than center the width of child blocks is unexpectedly changed.
    • Text-shadow.
    • Blur tools, e.g. for Cover backgrounds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

[Feature] Design Tools[Type] Overview

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions