UI: Allow Opacity for Theme Outline Colors #108248

Merged
Harley Acheson merged 1 commits from Harley/blender:Outline into main 2023-06-02 17:20:59 +02:00
Member

Allow setting opacity with color for uiWidgetColors outline and for
tab_outline.


Having the ability to reduce the opacity of widget outline and tab outline colors allows greater flexibility for theme designers. Setting these values to zero, and therefore removing outlines, allows for minimalistic and flat designs.

The following are NOT suggestions for things that we should do. They are merely illustrations of what is possible. The following shows 3D Viewport header buttons looking minimal and flat:

Outline1.png

Following shows File Browser with almost no rules at all:

Outline2.png

There are some small caveats:

  • If you make widget outlines very dim or invisible it is best to also turn off widget embossing.
  • Some UI items align in a way that share borders, so the colors will overlap at low opacities.

Outline3.png

Allow setting opacity with color for uiWidgetColors outline and for tab_outline. --- Having the ability to reduce the opacity of widget outline and tab outline colors allows greater flexibility for theme designers. Setting these values to zero, and therefore removing outlines, allows for minimalistic and flat designs. The following are NOT suggestions for things that we should do. They are merely illustrations of what is possible. The following shows 3D Viewport header buttons looking minimal and flat: ![Outline1.png](/attachments/72145dad-4b2d-40bf-b7e2-add6c4be515a) Following shows File Browser with almost no rules at all: ![Outline2.png](/attachments/0454009d-d630-487d-9fe8-3ae745bee7af) There are some small caveats: * If you make widget outlines very dim or invisible it is best to also turn off widget embossing. * Some UI items align in a way that share borders, so the colors will overlap at low opacities. ![Outline3.png](/attachments/c3b9f0f9-6a54-4f2b-a24e-9c7417f635c7)
Harley Acheson added 1 commit 2023-05-25 02:13:31 +02:00
169d266186 UI: Allow Opacity for Theme Outline Colors
Allow setting opacity with color for uiWidgetColors outline and for
tab_outline.
Harley Acheson added this to the User Interface project 2023-05-25 02:13:43 +02:00
Harley Acheson requested review from Pablo Vazquez 2023-05-25 02:13:50 +02:00
Pablo Vazquez approved these changes 2023-06-02 16:16:22 +02:00
Pablo Vazquez left a comment
Member

Regardless of potential theme changes or not, I think it's useful to add this flexibility to the theme.
And technically it's really just making the color RGBA instead of RGB so it's okay.

Regardless of potential theme changes or not, I think it's useful to add this flexibility to the theme. And technically it's really just making the color RGBA instead of RGB so it's okay.
Harley Acheson merged commit c033e434c5 into main 2023-06-02 17:20:59 +02:00
Harley Acheson deleted branch Outline 2023-06-02 17:21:00 +02:00
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#108248
No description provided.