-
-
Notifications
You must be signed in to change notification settings - Fork 51
Configuration
NOTE: This page is updated only when changes are applied to the configuration settings.
- Last update: Dark-WhatsApp
v3.1.0
.
- How do I customize UserStyle?
- Global settings
- Chat settings
- Color settings
- Click on the Stylus extension icon to open the popup on the current page.
- NOTE: You can also go to the Manager page.
- Click on the “Configure” icon () next to the style name to open the dialog.
- The dialog will show all the available customizable options.
NOTE: Customizing is available through the UserStyle version of wa.user.styl
installed from GitHub.
Element | Function |
---|---|
1. Stylus toolbar button | Opens popup and shows the number of active styles on the current page |
2. Activate style | Click to toggle the style on or off |
3. Style title | Click to toggle the style on or off. Right-click or Wheel-click to open in the editor. |
4. Config Usercss | Opens a usercss configuration modal within the popup. |
For further reading on the subject, please visit the following Stylus wiki pages:
This section refers to settings that have a general impact on appearance.
Defines the default font that the application uses.
-
NOTE: Wrap custom font name around single
'
or double quotes"
.
Setting | Description |
---|---|
Type | Text Input |
Default | 'font-name' |
Example |
'Arial' 'Monospace' 'Roboto' 'Times New Roman'
|
Preview |
Defines the width of the application.
- Cannot be greater than the browser’s window resolution.
NOTE: Does not apply when fullscreen mode is enabled.
Setting | Description |
---|---|
Type | Text Input |
Default | 1396px |
Example |
12pt 16px 1em 1rem 1%
|
Maximize the chat area by removing all the whitespace.
- Hides the background image.
Setting | Description |
---|---|
Type | Checkbox (Toggle Switch) |
Default | Off |
Options |
On Off
|
Preview |
Implement a hacky solution that shrinks the left drawer for responsive design, a.k.a ‘compact mode’.
- Hover over the left drawer for it to expand.
Setting | Description |
---|---|
Type | Checkbox (Toggle Switch) |
Default | On |
Options |
On Off
|
Preview |
Defines the maximum window width in which compact mode will be active.
Setting | Description |
---|---|
Type | Text Input |
Default | 720px |
Example |
12pt 16px 1em 1rem 1%
|
Defines the minimum mouseenter
time for the left drawer to expand.
Setting | Description |
---|---|
Type | Text Input |
Default | 0.6s |
Example |
1s 500ms 0s
|
NOTE: s
= seconds; ms
= milliseconds; 0s
= no delay
Defines the minimum mouseleave
time for the left drawer to shrink.
Setting | Description |
---|---|
Type | Text Input |
Default | 1.2s |
Example |
1s 500ms 0s
|
NOTE: s
= seconds; ms
= milliseconds; 0s
= no delay
Allows you to choose the notifications that will appear at the top of the app on the right drawer:
-
Show all
: Show all types of alerts. -
Hide "Allow notifications"
: Hide “Get notified of new messages” alert while showing others. -
Hide all
: Hide all types of alerts.
Setting | Description |
---|---|
Type | Option Select (Dropdown) |
Default | Show all |
Options |
Show all Hide "Allow notifications" Hide all
|
Preview |
Shows a thinner, unified height header in all drawers.
Setting | Description |
---|---|
Type | Checkbox (Toggle Switch) |
Default | On |
Options |
On Off
|
Preview |
Defines the border-radius
of the chat window and context menus.
- Does not apply to fullscreen mode and the input fields.
Setting | Description |
---|---|
Type | Text Input |
Default | 4px |
Example |
12pt 16px 1em 1rem 1%
|
Preview |
Defines the border-radius
of the input areas.
Setting | Description |
---|---|
Type | Text Input |
Default | 4px |
Example |
12pt 16px 1em 1rem 1%
|
Preview |
Defines the border-radius
of the avatars.
Setting | Description |
---|---|
Type | Range Input (Slider) |
Default | 50% |
Range | Between 0% to 50%
|
Preview |
Allows you to choose an app background between:
-
Theme image
: Theme background image with fixed blur values (0px/6px/12px)- Improves performance and loading times instead of using background image blur size
-
Custom
: Custom background image -
Default
: Hard-coded two-color background -
None
: Single-color background
NOTE: Does not apply when fullscreen mode is enabled.
Setting | Description |
---|---|
Type | Option Select (Dropdown) |
Default | Theme 12px blur |
Options |
Theme 12px blur Theme 6px blur Theme without blur Custom Default None
|
Preview |
Defines the background image URL of the app in the format of url('[URL]')
.
- Designed for use with the
Custom
option. - Do not use high-resolution images, otherwise you might experience performance issues.
Setting | Description |
---|---|
Type | Text Input |
Default | url('https://images.unsplash.com/photo-1434569117012-ce134ee1a088?fit=crop&w=1280&h=720&q=80') |
Example | url('http://www.website.com/image.jpg') |
NOTE: For your convenience, you can use imgix documentation .
Defines the opacity percentage of the application background image.
- Designed for use with
Custom
option.
Setting | Description |
---|---|
Type | Range Input (Slider) |
Default | 0.4 |
Range | Between 0 to 1
|
Defines the blur size of the application background image.
- Designed for use with
Custom
option.
Setting | Description |
---|---|
Type | Range Input (Slider) |
Default | 12px |
Range | Between 0px to 50px
|
Defines the hue degree of the application background image.
- Designed for use with
Custom
option.
Setting | Description |
---|---|
Type | Range Input (Slider) |
Default | 320deg |
Range | Between 0deg and 360deg
|
NOTE: deg
= degrees
Defines the amount of color inversion of the application background image.
- Designed for use with
Custom
option.
Setting | Description |
---|---|
Type | Range Input (Slider) |
Default | 0 |
Range | Between 0 to 1
|
Defines the size of the application background image.
- Designed for use with
Custom
option.
Setting | Description |
---|---|
Type | Text Input |
Default | cover |
Example |
10px 10px 10% auto cover contain initial inherit
|
Defines the position of the application background image.
- Designed for use with
Custom
option.
Setting | Description |
---|---|
Type | Text Input |
Default | center |
Example |
left top center center right bottom 10px 10px 10% 10% initial inherit
|
Defines if/how the application background image will be repeated.
- Designed for use with
Custom
option.
Setting | Description |
---|---|
Type | Text Input |
Default | no-repeat |
Example |
repeat repeat-x repeat-y no-repeat space round initial inherit
|
This section refers to settings that affect conversations with contacts and groups.
Allows you to choose the message tail style:
-
Default
: default message tails -
Facebook
: Facebook chat-style unified rounded message tails -
Minimal
: sharp corner tails -
Rounded
: no tails
Setting | Description |
---|---|
Type | Option Select (Dropdown) |
Default | Default |
Options |
Default Facebook Minimal Rounded
|
Preview |
Hides timestamps for all messages except the very last one in each message group.
- Works only when both the style chosen for
message tails is
Facebook
and RTL options are enabled.
Setting | Description |
---|---|
Type | Checkbox (Toggle Switch) |
Default | On |
Options |
On Off
|
Preview |
This section refers to settings that affect the messages received from others.
Overrides the default color generator, which enables the option to use a custom bubble color.
Setting | Description |
---|---|
Type | Checkbox (Toggle Switch) |
Default | Off |
Options |
On Off
|
Defines the color of the messages received from others.
- Enabled by the override incoming message bubble color option.
Setting | Description |
---|---|
Type | Color Swatch |
Default (HEX) | #383d46 |
Example |
rgb(0,0,0,1.0) hsla(0,0%,0%,1.0) #000000
|
Preview |
Defines the side on which other people’s messages appear.
Setting | Description |
---|---|
Type | Checkbox (Toggle Switch) |
Default | Off |
Options |
On Off
|
Preview |
This section refers to settings that affect the messages sent by you.
Overrides the default color generator, which enables the option to use a custom bubble color.
Setting | Description |
---|---|
Type | Checkbox (Toggle Switch) |
Default | Off |
Options |
On Off
|
Defines the color of the messages sent by you.
- Enabled by the override outgoing message bubble color option.
Setting | Description |
---|---|
Type | Color Swatch |
Default (HEX) | #2f343d |
Example |
rgb(0,0,0,1.0) hsla(0,0%,0%,1.0) #000000
|
Preview |
Defines the side on which your messages appear.
Setting | Description |
---|---|
Type | Checkbox (Toggle Switch) |
Default | Off |
Options |
On Off
|
Preview |
Blur the contacts/groups in the left drawer by default.
- Hovering your mouse over a contact/group will undo its blurred state.
- Active chat of a contact/group will remain unblurred all the time.
Setting | Description |
---|---|
Type | Checkbox (Toggle Switch) |
Default | Off |
Options |
On Off
|
Preview |
View the images/videos/gifs in the chat as blurred.
- Hovering your mouse over a blurred element will undo its blurred state.
Setting | Description |
---|---|
Type | Checkbox (Toggle Switch) |
Default | Off |
Options |
On Off
|
Preview |
Defines the minimum mouseenter
time to undo its blurred state.
Setting | Description |
---|---|
Type | Text Input |
Default | 0.4s |
Example |
1s 500ms 0s
|
NOTE: s
= seconds; ms
= milliseconds; 0s
= no delay
Defines the minimum mouseleave
time for the blurred state to come back.
Setting | Description |
---|---|
Type | Text Input |
Default | 0.2s |
Example |
1s 500ms 0s
|
NOTE: s
= seconds; ms
= milliseconds; 0s
= no delay
This section refers to settings that affect and fix the visuals of messages containing right-to-left, top-to-bottom languages.
Removes the invisible-space
class from messages containing RTL content.
Setting | Description |
---|---|
Type | Checkbox (Toggle Switch) |
Default | Off |
Options |
On Off
|
Preview |
Fixes text formatting for messages containing RTL content.
Setting | Description |
---|---|
Type | Checkbox (Toggle Switch) |
Default | Off |
Options |
On Off
|
Allows you to choose whether to show a custom chat background and how it will look.
Shows the chat background image.
Setting | Description |
---|---|
Type | Checkbox (Toggle Switch) |
Default | On |
Options |
On Off
|
Preview |
Defines the chat background image URL in the format of url('[URL]')
.
Setting | Description |
---|---|
Type | Text Input |
Default | url('/img/bg-chat-tile_8a055527b27b887521a9f084497d8879.png') |
Example | url('http://www.website.com/image.png') |
Defines the opacity percentage of the chat background image.
Setting | Description |
---|---|
Type | Range Input (Slider) |
Default | 0.15 |
Range | Between 0 to 1
|
Defines the amount of color inversion of the chat background image.
Setting | Description |
---|---|
Type | Range Input (Slider) |
Default | 0.6 |
Range | Between 0 to 1
|
Defines the size of the chat background image.
Setting | Description |
---|---|
Type | Text Input |
Default | initial |
Example |
10px 10px 10% auto cover contain initial inherit
|
Defines the position of the chat background image.
Setting | Description |
---|---|
Type | Text Input |
Default | top left |
Example |
left top center center right bottom 10px 10px 10% 10% initial inherit
|
Defines if/how the chat background image will be repeated.
Setting | Description |
---|---|
Type | Text Input |
Default | repeat |
Example |
repeat repeat-x repeat-y no-repeat space round initial inherit
|
This section refers to settings that affect the emojis in various places.
Defines the default opacity percentage of the emoji images.
Setting | Description |
---|---|
Type | Range Input (Slider) |
Default | 0.8 |
Range | Between 0 to 1
|
Shows a unified size of emojis so that they appear the same in all cases (messages consisting of 1, 2, or 3 emojis).
Setting | Description |
---|---|
Type | Option Select (Dropdown) |
Default | Default |
Options |
Default Medium Normal Small
|
Preview |
Animates chat emojis when sent in the chat.
- Works when sent as a single — big — emoji. E.g.: ❤️
- Currently supports the following emojis: 🤩, 😍,
☺️ ,❣️,♥️ , ❤️, 💋
Setting | Description |
---|---|
Type | Checkbox (Toggle Switch) |
Default | On |
Options |
On Off
|
Preview |
This section refers to settings that affect the colors of the application.
REMINDER: For further reading on the subject of the color swatch
type,
please visit colorpicker popup
page on Stylus wiki.
Allows you to choose between the following predefined colors:
-
Dark blue
: hard-coded (v1) color-scheme -
Dark gray
: hard-coded (v2) color-scheme -
Custom colors
: make your own color-scheme- Customize base Background, Foreground, and Accent colors
- 5 extra tones for all base colors will be procedurally generated for use in different areas of the app
- The default base colors are the same ones from
Dark blue
color-scheme
Setting | Description |
---|---|
Type | Option Select (Dropdown) |
Default | Custom colors |
Options |
Dark blue (v1) Dark gray (v2) Custom colors
|
Preview |
Used as a base background-color for the entire application windows, including menus, drawers, active items, borders et cetera.
Setting | Description |
---|---|
Type | Color Swatch |
Default (HEX) | #1f232a |
Example |
rgb(0,0,0,1.0) hsla(0,0%,0%,1.0) #000000
|
Used as a base for text colors.
Setting | Description |
---|---|
Type | Color Swatch |
Default (HEX) | #eeeeee |
Example |
rgb(0,0,0,1.0) hsla(0,0%,0%,1.0) #000000
|
Used to show things of importance.
Setting | Description |
---|---|
Type | Color Swatch |
Default (HEX) | #7289da |
Example |
rgb(0,0,0,1.0) hsla(0,0%,0%,1.0) #000000
|
Used for various small elements.
Setting | Description |
---|---|
Type | Color Swatch |
Default (HEX) | Variant |
Example |
rgb(0,0,0,1.0) hsla(0,0%,0%,1.0) #000000
|