Browse Source

Added missing NOTIFICATION_DARK (#11770)

And corrected couple of typos

Addresses https://github.com/vaadin/framework/issues/11492
tags/8.10.0.alpha1
Tatu Lund 4 years ago
parent
commit
103f224ded
No account linked to committer's email address
1 changed files with 8 additions and 2 deletions
  1. 8
    2
      server/src/main/java/com/vaadin/ui/themes/ValoTheme.java

+ 8
- 2
server/src/main/java/com/vaadin/ui/themes/ValoTheme.java View File



/** /**
* Success notification style. Adds a border around the notification and an * Success notification style. Adds a border around the notification and an
* icon next to the title. Can be combined with any other Label style.
* icon next to the title. Can be combined with any other Notification style.
*/ */
public static final String NOTIFICATION_SUCCESS = "success"; public static final String NOTIFICATION_SUCCESS = "success";


/** /**
* Failure notification style. Adds a border around the notification and an * Failure notification style. Adds a border around the notification and an
* icon next to the title. Can be combined with any other Label style.
* icon next to the title. Can be combined with any other Notification style.
*/ */
public static final String NOTIFICATION_FAILURE = "failure"; public static final String NOTIFICATION_FAILURE = "failure";


*/ */
public static final String NOTIFICATION_CRITICAL_ERROR = "critical-error"; public static final String NOTIFICATION_CRITICAL_ERROR = "critical-error";


/**
* Styles the notification to be dark variant. Can be combined with any
* other Notification style.
*/
public static final String NOTIFICATION_DARK = "dark";

/*************************************************************************** /***************************************************************************
* *
* Label styles * Label styles

Loading…
Cancel
Save