Jean-Tinland / simple-bar

A yabai status bar widget for Übersicht

Home Page:https://www.jeantinland.com/toolbox/simple-bar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom styling for user widgets

itaysharir opened this issue · comments

How can i change things like the background color for a user created widget? Can i do that in the custom styling tab? How should i refer to the the widget i created in CSS?
Thanks in advance!

Each custom widget has its own custom class name based on its order, for example: user-widget--0.

So if you want to apply a specific background color to your second custom widget, you can use this css selector in the custom styling tab:

.user-widget--1 {
  background-color: blue;
}