diff options
author | Anna Koskinen <Ansku@users.noreply.github.com> | 2019-10-28 15:21:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-28 15:21:14 +0200 |
commit | 9559ee10a7f7af1a4f76fc8e01009de8f3912334 (patch) | |
tree | 5a2aaf51335f7d94535c0b1fc47bc0511df625b6 | |
parent | 1976d032d1fb3ad9e95c6d2fdbbde43c1005b36d (diff) | |
download | vaadin-framework-9559ee10a7f7af1a4f76fc8e01009de8f3912334.tar.gz vaadin-framework-9559ee10a7f7af1a4f76fc8e01009de8f3912334.zip |
Added missing NOTIFICATION_DARK (#11770) (#11775)
And corrected couple of typos
Addresses https://github.com/vaadin/framework/issues/11492
-rw-r--r-- | server/src/main/java/com/vaadin/ui/themes/ValoTheme.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/server/src/main/java/com/vaadin/ui/themes/ValoTheme.java b/server/src/main/java/com/vaadin/ui/themes/ValoTheme.java index 0f5a09c1b9..3ec3b66c85 100644 --- a/server/src/main/java/com/vaadin/ui/themes/ValoTheme.java +++ b/server/src/main/java/com/vaadin/ui/themes/ValoTheme.java @@ -100,13 +100,13 @@ public class ValoTheme { /** * 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"; /** * 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"; @@ -117,6 +117,12 @@ public class ValoTheme { */ 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 |