@onereach/styles 2.26.1-beta.1820.0 → 2.27.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/styles",
3
- "version": "2.26.1-beta.1820.0",
3
+ "version": "2.27.0",
4
4
  "description": "Styles for or-ui-next",
5
5
  "main": "./main.css",
6
6
  "unpkg": "./main.css",
@@ -49,5 +49,6 @@
49
49
  "dependencies": {
50
50
  "@tailwindcss/typography": "^0.5.4",
51
51
  "tailwindcss": "^3.1.3"
52
- }
52
+ },
53
+ "gitHead": "5dc43965e40fdc53dbe350ecb81e96bcc65b7725"
53
54
  }
@@ -213,7 +213,7 @@
213
213
  {
214
214
  "name": "light-on-disabled",
215
215
  "value": "rgba(27,27,29,0.3)",
216
- "groupName": "light/on disabled"
216
+ "groupName": "light/on-disabled"
217
217
  },
218
218
  {
219
219
  "name": "light-primary-opacity-0-08",
@@ -433,7 +433,7 @@
433
433
  {
434
434
  "name": "dark-on-disabled",
435
435
  "value": "rgba(227,226,230,0.3)",
436
- "groupName": "dark/on disabled"
436
+ "groupName": "dark/on-disabled"
437
437
  },
438
438
  {
439
439
  "name": "dark-primary-opacity-0-08",
@@ -601,7 +601,16 @@
601
601
  "groupName": "dark/overlay"
602
602
  }
603
603
  ],
604
- "Gradients": [],
604
+ "Gradients": [
605
+ {
606
+ "name": "light-skeletons-gradient",
607
+ "value": "linear-gradient(90deg, rgba(0,95,177,0.08) 0.00%,rgba(0,95,177,0.04) 50.01%,rgba(0,95,177,0.08) 100.00%)"
608
+ },
609
+ {
610
+ "name": "dark-skeletons-gradient",
611
+ "value": "linear-gradient(90deg, rgba(164,200,255,0.08) 0.00%,rgba(164,200,255,0.04) 50.01%,rgba(164,200,255,0.08) 100.00%)"
612
+ }
613
+ ],
605
614
  "Shadows": [
606
615
  {
607
616
  "name": "light-modal",
@@ -307,7 +307,7 @@ module.exports = {
307
307
  }),
308
308
 
309
309
  // Theme
310
- plugin(({ matchUtilities, addUtilities, addBase, theme }) => {
310
+ plugin(({ matchUtilities, addUtilities, theme }) => {
311
311
  // Presets
312
312
  matchUtilities({
313
313
  'theme-preset-1': (value) => {
@@ -832,43 +832,6 @@ module.exports = {
832
832
  'current': 'current',
833
833
  },
834
834
  });
835
-
836
- // Default Styles
837
- addBase({
838
- '*': {
839
- scrollbarColor: `${theme('textColor.on-disabled')} ${theme('backgroundColor.surface-variant')}`,
840
-
841
- '@media (prefers-color-scheme: dark)': {
842
- scrollbarColor: `${theme('textColor.on-disabled-dark')} ${theme('backgroundColor.surface-variant-dark')}`,
843
- },
844
-
845
- scrollbarWidth: 'thin',
846
- },
847
-
848
- '::-webkit-scrollbar': {
849
- width: theme('width.xs'),
850
-
851
- '&-track': {
852
- backgroundColor: theme('backgroundColor.surface-variant'),
853
-
854
- '@media (prefers-color-scheme: dark)': {
855
- backgroundColor: theme('backgroundColor.surface-variant-dark'),
856
- },
857
-
858
- borderRadius: theme('borderRadius.sm'),
859
- },
860
-
861
- '&-thumb': {
862
- backgroundColor: theme('textColor.on-disabled'),
863
-
864
- '@media (prefers-color-scheme: dark)': {
865
- backgroundColor: theme('textColor.on-disabled-dark'),
866
- },
867
-
868
- borderRadius: theme('borderRadius.sm'),
869
- },
870
- },
871
- });
872
835
  }),
873
836
  ],
874
837
  };