We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae5c65b commit 4fa0b70Copy full SHA for 4fa0b70
packages/jss/tests/jss-tests.ts
@@ -72,6 +72,31 @@ attachedStyleSheet.addRules({
72
}
73
})
74
75
+// fallbacks test
76
+attachedStyleSheet.addRules({
77
+ rule4: {
78
+ fallbacks: {
79
+ fontFamily: 'other',
80
+ color: '#black'
81
+ },
82
+ fontFamily: 'Roboto',
83
+ color: '#FFFFFF'
84
85
+ rule5: {
86
+ // @ts-expect-error
87
88
+ borderRadius: ['solid', 2],
89
+ fontSize: Symbol()
90
91
92
+ fontSize: 17
93
94
+ rule6: {
95
96
+ fallbacks: Symbol()
97
+ }
98
+})
99
+
100
const styleSheet2 = sharedInstance.createStyleSheet({
101
container: {
102
background: '#000099'
0 commit comments