Skip to content

Commit

Permalink
Merge pull request #101 from raid-guild/fix/tweaks
Browse files Browse the repository at this point in the history
update scrollbars, default heading variant
  • Loading branch information
scottrepreneur authored Oct 7, 2023
2 parents 22ea08d + 731a9d9 commit 2970302
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 35 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@raidguild/design-system",
"version": "0.4.47",
"version": "0.4.48",
"license": "MIT",
"author": "Raid Guild",
"module": "dist/design-system.esm.js",
Expand Down
29 changes: 6 additions & 23 deletions src/theme/components/Heading.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const Heading = {
// Styles for the size variations
sizes: {},
// Styles for the visual style variations

variants: {
shadow: {
fontFamily: 'uncial',
Expand All @@ -21,31 +20,15 @@ const Heading = {
fontFamily: 'uncial',
textShadow: 'none',
},
// headingOne: {
// fontFamily: 'uncial',
// letterSpacing: '1.2px',
// color: 'white',
// },
// headingTwo: {
// fontFamily: 'uncial',
// letterSpacing: '1.2px',
// textShadow: '0 0 0.125em hsl(0 0% 100% / 0.3), 0 0 0.20em red',
// color: 'white',
// },
// headingThree: {
// fontFamily: 'uncial',
// letterSpacing: '1.2px',
// color: 'red',
// },
// labels: {
// fontFamily: 'texturina',
// letterSpacing: '2px',
// color: 'white',
// },
labels: {
fontFamily: 'texturina',
letterSpacing: '2px',
color: 'white',
},
},
// The default `size` or `variant` values
defaultProps: {
variant: 'shadow',
variant: 'noShadow',
},
};

Expand Down
24 changes: 13 additions & 11 deletions src/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,20 @@ const theme = extendTheme({
overflowY: 'overlay',
},

// todo move to an optional component
// https://github.com/chakra-ui/chakra-ui/issues/4472#issuecomment-1463302711
// Scrollbar styles
'::-webkit-scrollbar': {
width: '10px',
background: 'transparent',
},
'::-webkit-scrollbar-thumb': {
background: '#ff3864',
borderRadius: '5px',
},
'::-webkit-scrollbar-thumb:hover': {
background: '#e4728b',
},
// '::-webkit-scrollbar': {
// width: '10px',
// background: 'transparent',
// },
// '::-webkit-scrollbar-thumb': {
// background: '#ff3864',
// borderRadius: '5px',
// },
// '::-webkit-scrollbar-thumb:hover': {
// background: '#e4728b',
// },
},
},
colors,
Expand Down

0 comments on commit 2970302

Please sign in to comment.