@ornikar/bumper 2.2.1 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/definitions/tamagui.config.d.ts +23 -19
- package/dist/definitions/tamagui.config.d.ts.map +1 -1
- package/dist/definitions/themes/light.d.ts +23 -19
- package/dist/definitions/themes/light.d.ts.map +1 -1
- package/dist/definitions/themes/palettes/deepPurpleColorPalette.d.ts +5 -0
- package/dist/definitions/themes/palettes/deepPurpleColorPalette.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +31 -21
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +31 -21
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +31 -21
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.js +31 -21
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +31 -21
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.mjs +31 -21
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +31 -21
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +31 -21
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/themes/__snapshots__/light.stories.tsx.snap +238 -66
- package/src/themes/__snapshots_web__/light.stories.tsx.snap +142 -66
- package/src/themes/light.ts +23 -19
- package/src/themes/palettes/__snapshots__/deepPurpleColorPalette.stories.tsx.snap +178 -2
- package/src/themes/palettes/__snapshots_web__/deepPurpleColorPalette.stories.tsx.snap +78 -2
- package/src/themes/palettes/deepPurpleColorPalette.ts +8 -1
|
@@ -2093,12 +2093,12 @@ exports[`bumper/Core Tokens Deep Purple Palette 1`] = `
|
|
|
2093
2093
|
}
|
|
2094
2094
|
suppressHighlighting={true}
|
|
2095
2095
|
>
|
|
2096
|
-
#
|
|
2096
|
+
#E2483D
|
|
2097
2097
|
</Text>
|
|
2098
2098
|
<View
|
|
2099
2099
|
style={
|
|
2100
2100
|
{
|
|
2101
|
-
"backgroundColor": "#
|
|
2101
|
+
"backgroundColor": "#E2483D",
|
|
2102
2102
|
"height": 20,
|
|
2103
2103
|
"width": 20,
|
|
2104
2104
|
}
|
|
@@ -2149,6 +2149,182 @@ exports[`bumper/Core Tokens Deep Purple Palette 1`] = `
|
|
|
2149
2149
|
}
|
|
2150
2150
|
/>
|
|
2151
2151
|
</View>
|
|
2152
|
+
<View
|
|
2153
|
+
style={
|
|
2154
|
+
{
|
|
2155
|
+
"backgroundColor": "#ffffff",
|
|
2156
|
+
"borderBottomColor": "#EAE3D6",
|
|
2157
|
+
"borderBottomWidth": 2,
|
|
2158
|
+
"borderStyle": "solid",
|
|
2159
|
+
"paddingBottom": 8,
|
|
2160
|
+
"paddingLeft": 8,
|
|
2161
|
+
"paddingRight": 8,
|
|
2162
|
+
"paddingTop": 8,
|
|
2163
|
+
}
|
|
2164
|
+
}
|
|
2165
|
+
>
|
|
2166
|
+
<Text
|
|
2167
|
+
style={
|
|
2168
|
+
{
|
|
2169
|
+
"fontFamily": "GTStandard",
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
suppressHighlighting={true}
|
|
2173
|
+
>
|
|
2174
|
+
mauve.1
|
|
2175
|
+
</Text>
|
|
2176
|
+
<Text
|
|
2177
|
+
style={
|
|
2178
|
+
{
|
|
2179
|
+
"fontFamily": "GTStandard",
|
|
2180
|
+
}
|
|
2181
|
+
}
|
|
2182
|
+
suppressHighlighting={true}
|
|
2183
|
+
>
|
|
2184
|
+
#F8E7FF
|
|
2185
|
+
</Text>
|
|
2186
|
+
<View
|
|
2187
|
+
style={
|
|
2188
|
+
{
|
|
2189
|
+
"backgroundColor": "#F8E7FF",
|
|
2190
|
+
"height": 20,
|
|
2191
|
+
"width": 20,
|
|
2192
|
+
}
|
|
2193
|
+
}
|
|
2194
|
+
/>
|
|
2195
|
+
</View>
|
|
2196
|
+
<View
|
|
2197
|
+
style={
|
|
2198
|
+
{
|
|
2199
|
+
"backgroundColor": "#ffffff",
|
|
2200
|
+
"borderBottomColor": "#EAE3D6",
|
|
2201
|
+
"borderBottomWidth": 2,
|
|
2202
|
+
"borderStyle": "solid",
|
|
2203
|
+
"paddingBottom": 8,
|
|
2204
|
+
"paddingLeft": 8,
|
|
2205
|
+
"paddingRight": 8,
|
|
2206
|
+
"paddingTop": 8,
|
|
2207
|
+
}
|
|
2208
|
+
}
|
|
2209
|
+
>
|
|
2210
|
+
<Text
|
|
2211
|
+
style={
|
|
2212
|
+
{
|
|
2213
|
+
"fontFamily": "GTStandard",
|
|
2214
|
+
}
|
|
2215
|
+
}
|
|
2216
|
+
suppressHighlighting={true}
|
|
2217
|
+
>
|
|
2218
|
+
mauve.2
|
|
2219
|
+
</Text>
|
|
2220
|
+
<Text
|
|
2221
|
+
style={
|
|
2222
|
+
{
|
|
2223
|
+
"fontFamily": "GTStandard",
|
|
2224
|
+
}
|
|
2225
|
+
}
|
|
2226
|
+
suppressHighlighting={true}
|
|
2227
|
+
>
|
|
2228
|
+
#F1D0FB
|
|
2229
|
+
</Text>
|
|
2230
|
+
<View
|
|
2231
|
+
style={
|
|
2232
|
+
{
|
|
2233
|
+
"backgroundColor": "#F1D0FB",
|
|
2234
|
+
"height": 20,
|
|
2235
|
+
"width": 20,
|
|
2236
|
+
}
|
|
2237
|
+
}
|
|
2238
|
+
/>
|
|
2239
|
+
</View>
|
|
2240
|
+
<View
|
|
2241
|
+
style={
|
|
2242
|
+
{
|
|
2243
|
+
"backgroundColor": "#ffffff",
|
|
2244
|
+
"borderBottomColor": "#EAE3D6",
|
|
2245
|
+
"borderBottomWidth": 2,
|
|
2246
|
+
"borderStyle": "solid",
|
|
2247
|
+
"paddingBottom": 8,
|
|
2248
|
+
"paddingLeft": 8,
|
|
2249
|
+
"paddingRight": 8,
|
|
2250
|
+
"paddingTop": 8,
|
|
2251
|
+
}
|
|
2252
|
+
}
|
|
2253
|
+
>
|
|
2254
|
+
<Text
|
|
2255
|
+
style={
|
|
2256
|
+
{
|
|
2257
|
+
"fontFamily": "GTStandard",
|
|
2258
|
+
}
|
|
2259
|
+
}
|
|
2260
|
+
suppressHighlighting={true}
|
|
2261
|
+
>
|
|
2262
|
+
mauve.3
|
|
2263
|
+
</Text>
|
|
2264
|
+
<Text
|
|
2265
|
+
style={
|
|
2266
|
+
{
|
|
2267
|
+
"fontFamily": "GTStandard",
|
|
2268
|
+
}
|
|
2269
|
+
}
|
|
2270
|
+
suppressHighlighting={true}
|
|
2271
|
+
>
|
|
2272
|
+
#E4A4F9
|
|
2273
|
+
</Text>
|
|
2274
|
+
<View
|
|
2275
|
+
style={
|
|
2276
|
+
{
|
|
2277
|
+
"backgroundColor": "#E4A4F9",
|
|
2278
|
+
"height": 20,
|
|
2279
|
+
"width": 20,
|
|
2280
|
+
}
|
|
2281
|
+
}
|
|
2282
|
+
/>
|
|
2283
|
+
</View>
|
|
2284
|
+
<View
|
|
2285
|
+
style={
|
|
2286
|
+
{
|
|
2287
|
+
"backgroundColor": "#ffffff",
|
|
2288
|
+
"borderBottomColor": "#EAE3D6",
|
|
2289
|
+
"borderBottomWidth": 2,
|
|
2290
|
+
"borderStyle": "solid",
|
|
2291
|
+
"paddingBottom": 8,
|
|
2292
|
+
"paddingLeft": 8,
|
|
2293
|
+
"paddingRight": 8,
|
|
2294
|
+
"paddingTop": 8,
|
|
2295
|
+
}
|
|
2296
|
+
}
|
|
2297
|
+
>
|
|
2298
|
+
<Text
|
|
2299
|
+
style={
|
|
2300
|
+
{
|
|
2301
|
+
"fontFamily": "GTStandard",
|
|
2302
|
+
}
|
|
2303
|
+
}
|
|
2304
|
+
suppressHighlighting={true}
|
|
2305
|
+
>
|
|
2306
|
+
mauve.4
|
|
2307
|
+
</Text>
|
|
2308
|
+
<Text
|
|
2309
|
+
style={
|
|
2310
|
+
{
|
|
2311
|
+
"fontFamily": "GTStandard",
|
|
2312
|
+
}
|
|
2313
|
+
}
|
|
2314
|
+
suppressHighlighting={true}
|
|
2315
|
+
>
|
|
2316
|
+
#D283EC
|
|
2317
|
+
</Text>
|
|
2318
|
+
<View
|
|
2319
|
+
style={
|
|
2320
|
+
{
|
|
2321
|
+
"backgroundColor": "#D283EC",
|
|
2322
|
+
"height": 20,
|
|
2323
|
+
"width": 20,
|
|
2324
|
+
}
|
|
2325
|
+
}
|
|
2326
|
+
/>
|
|
2327
|
+
</View>
|
|
2152
2328
|
<View
|
|
2153
2329
|
style={
|
|
2154
2330
|
{
|
|
@@ -913,10 +913,10 @@ exports[`bumper/Core Tokens Deep Purple Palette 1`] = `
|
|
|
913
913
|
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
914
914
|
data-disable-theme="true"
|
|
915
915
|
>
|
|
916
|
-
#
|
|
916
|
+
#E2483D
|
|
917
917
|
</span>
|
|
918
918
|
<div
|
|
919
|
-
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _backgroundColor-
|
|
919
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _backgroundColor-E2483D35 _width-t-size-20 _height-t-size-20"
|
|
920
920
|
/>
|
|
921
921
|
</div>
|
|
922
922
|
<div
|
|
@@ -938,6 +938,82 @@ exports[`bumper/Core Tokens Deep Purple Palette 1`] = `
|
|
|
938
938
|
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _backgroundColor-BD100F35 _width-t-size-20 _height-t-size-20"
|
|
939
939
|
/>
|
|
940
940
|
</div>
|
|
941
|
+
<div
|
|
942
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _paddingTop-t-space-8 _paddingRight-t-space-8 _paddingBottom-t-space-8 _paddingLeft-t-space-8 _borderBottomWidth-t-space-2 _borderBottomColor-border--bas1360415901 _backgroundColor-bg--base--l872590407 _borderBottomStyle-solid"
|
|
943
|
+
>
|
|
944
|
+
<span
|
|
945
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
946
|
+
data-disable-theme="true"
|
|
947
|
+
>
|
|
948
|
+
mauve.1
|
|
949
|
+
</span>
|
|
950
|
+
<span
|
|
951
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
952
|
+
data-disable-theme="true"
|
|
953
|
+
>
|
|
954
|
+
#F8E7FF
|
|
955
|
+
</span>
|
|
956
|
+
<div
|
|
957
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _backgroundColor-F8E7FF35 _width-t-size-20 _height-t-size-20"
|
|
958
|
+
/>
|
|
959
|
+
</div>
|
|
960
|
+
<div
|
|
961
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _paddingTop-t-space-8 _paddingRight-t-space-8 _paddingBottom-t-space-8 _paddingLeft-t-space-8 _borderBottomWidth-t-space-2 _borderBottomColor-border--bas1360415901 _backgroundColor-bg--base--l872590407 _borderBottomStyle-solid"
|
|
962
|
+
>
|
|
963
|
+
<span
|
|
964
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
965
|
+
data-disable-theme="true"
|
|
966
|
+
>
|
|
967
|
+
mauve.2
|
|
968
|
+
</span>
|
|
969
|
+
<span
|
|
970
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
971
|
+
data-disable-theme="true"
|
|
972
|
+
>
|
|
973
|
+
#F1D0FB
|
|
974
|
+
</span>
|
|
975
|
+
<div
|
|
976
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _backgroundColor-F1D0FB35 _width-t-size-20 _height-t-size-20"
|
|
977
|
+
/>
|
|
978
|
+
</div>
|
|
979
|
+
<div
|
|
980
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _paddingTop-t-space-8 _paddingRight-t-space-8 _paddingBottom-t-space-8 _paddingLeft-t-space-8 _borderBottomWidth-t-space-2 _borderBottomColor-border--bas1360415901 _backgroundColor-bg--base--l872590407 _borderBottomStyle-solid"
|
|
981
|
+
>
|
|
982
|
+
<span
|
|
983
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
984
|
+
data-disable-theme="true"
|
|
985
|
+
>
|
|
986
|
+
mauve.3
|
|
987
|
+
</span>
|
|
988
|
+
<span
|
|
989
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
990
|
+
data-disable-theme="true"
|
|
991
|
+
>
|
|
992
|
+
#E4A4F9
|
|
993
|
+
</span>
|
|
994
|
+
<div
|
|
995
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _backgroundColor-E4A4F935 _width-t-size-20 _height-t-size-20"
|
|
996
|
+
/>
|
|
997
|
+
</div>
|
|
998
|
+
<div
|
|
999
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _paddingTop-t-space-8 _paddingRight-t-space-8 _paddingBottom-t-space-8 _paddingLeft-t-space-8 _borderBottomWidth-t-space-2 _borderBottomColor-border--bas1360415901 _backgroundColor-bg--base--l872590407 _borderBottomStyle-solid"
|
|
1000
|
+
>
|
|
1001
|
+
<span
|
|
1002
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
1003
|
+
data-disable-theme="true"
|
|
1004
|
+
>
|
|
1005
|
+
mauve.4
|
|
1006
|
+
</span>
|
|
1007
|
+
<span
|
|
1008
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
1009
|
+
data-disable-theme="true"
|
|
1010
|
+
>
|
|
1011
|
+
#D283EC
|
|
1012
|
+
</span>
|
|
1013
|
+
<div
|
|
1014
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _backgroundColor-D283EC35 _width-t-size-20 _height-t-size-20"
|
|
1015
|
+
/>
|
|
1016
|
+
</div>
|
|
941
1017
|
<div
|
|
942
1018
|
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _paddingTop-t-space-8 _paddingRight-t-space-8 _paddingBottom-t-space-8 _paddingLeft-t-space-8 _borderBottomWidth-t-space-2 _borderBottomColor-border--bas1360415901 _backgroundColor-bg--base--l872590407 _borderBottomStyle-solid"
|
|
943
1019
|
>
|
|
@@ -20,6 +20,7 @@ interface ColorScaleKeysMap {
|
|
|
20
20
|
green: 1 | 2 | 6 | 7;
|
|
21
21
|
yellow: 1 | 2 | 6 | 7;
|
|
22
22
|
red: 1 | 2 | 6 | 7;
|
|
23
|
+
mauve: 1 | 2 | 3 | 4;
|
|
23
24
|
'beige-alpha': '25' | '40' | '50';
|
|
24
25
|
'grey-alpha': '25' | '35' | '50';
|
|
25
26
|
'white-alpha': '10' | '20' | '60' | '80' | '90';
|
|
@@ -109,9 +110,15 @@ export const colorScales: ColorScales = {
|
|
|
109
110
|
red: createColorScale({
|
|
110
111
|
1: '#FDE4E3',
|
|
111
112
|
2: '#FAB8B8',
|
|
112
|
-
6: '#
|
|
113
|
+
6: '#E2483D',
|
|
113
114
|
7: '#BD100F',
|
|
114
115
|
}),
|
|
116
|
+
mauve: createColorScale({
|
|
117
|
+
1: '#F8E7FF',
|
|
118
|
+
2: '#F1D0FB',
|
|
119
|
+
3: '#E4A4F9',
|
|
120
|
+
4: '#D283EC',
|
|
121
|
+
}),
|
|
115
122
|
'beige-alpha': createColorScale({
|
|
116
123
|
'25': '#C1B59F40',
|
|
117
124
|
'40': '#C1B59F66',
|