@@ -11,16 +11,13 @@ export interface NewTheme {
11
11
l2 : InteractiveRole ; // sidebars, table headers, navigation
12
12
13
13
roles : {
14
- /** Deletion, immutable parameters, and things that have long lasting or irreversible effects */
15
- danger : InteractiveRole ;
16
-
17
- /** Something went wrong; either unexpectedly, or in a meaningful way */
14
+ /** Something is wrong; either unexpectedly, or in a meaningful way. */
18
15
error : Role ;
19
16
20
- /** Something isn't quite right, but without serious consequence */
17
+ /** Something isn't quite right, but without serious consequence. */
21
18
warning : Role ;
22
19
23
- /** A prompt for action, to correct or look into something */
20
+ /** A prompt for action, to correct or look into something. */
24
21
notice : Role ;
25
22
26
23
/** Notable information; just so you know! */
@@ -29,10 +26,17 @@ export interface NewTheme {
29
26
/** Confirmation, or affirming that things are as desired. */
30
27
success : InteractiveRole ;
31
28
32
- /** Selected, in progress, of particular relevance right now */
29
+ /** Selected, in progress, of particular relevance right now. */
33
30
active : InteractiveRole ;
34
31
35
- /** This isn't quite ready for prime-time, but you're welcome to look around! preview features, experiments, unstable etc. */
32
+ /** Actions that have long lasting or irreversible effects.
33
+ * Deletion, immutable parameters, etc.
34
+ */
35
+ danger : InteractiveRole ;
36
+
37
+ /** This isn't quite ready for prime-time, but you're welcome to look around!
38
+ * Preview features, experiments, unstable etc.
39
+ */
36
40
preview : Role ;
37
41
} ;
38
42
}
@@ -41,7 +45,7 @@ export interface NewTheme {
41
45
* ie. I wish to communicate an error, I wish to communicate that this is dangerous, etc.
42
46
*/
43
47
export interface Role {
44
- /** A background color */
48
+ /** A background color that works best with the corresponding `outline` and `text` colors */
45
49
background : string ;
46
50
47
51
/** A border, or a color for an outlined icon */
0 commit comments