Menu

Aligning Passman's Tab Borders With Nextcloud Theme Colors
📰

Aligning Passman's Tab Borders With Nextcloud Theme Colors

DEV Community: css·Robert Markovski·about 1 hour ago
#fsC6JyYq
#devtocss#devto#dev#eee#color
Reading 0:00
15s threshold

A small theming change, merged with a candid note from the maintainer.

Short answer

Passman's tab containers used hardcoded border colors and an inline theme override. This change switches them to Nextcloud's CSS variables, --color-border and --color-primary-element , and removes the inline override from the settings and edit-credential views. It was merged as PR #874 , which referenced issue #409 .

The problem

Passman is a password manager app for Nextcloud. Issue #409, from 2017, reported that with a white Nextcloud theme the settings tab titles and boxes were hard to see.

The change

.tab_container { - border: 1px solid #eee; - border-top-color: #0082c9; + border: 1px solid var(--color-border); + border-top-color: var(--color-primary-element);

Enter fullscreen mode

Exit fullscreen mode

- <div class="tab_container edit_credential" use-theme type="'border-top-color'"> + <div class="tab_container edit_credential">

Enter fullscreen mode

Exit fullscreen mode

The same change was mirrored in the…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.