Skip to content

Commit

Permalink
fix: minor bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fluid-design-io committed Feb 7, 2023
1 parent c4ca9bd commit b70175a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
11 changes: 0 additions & 11 deletions CHANGELOG.md

This file was deleted.

4 changes: 2 additions & 2 deletions src/plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ module.exports = {
// ...
},
plugins: [
require('@fluid-design/fluid-ui/src/plugin/core'),
require('@fluid-design/fluid-ui/src/plugin/button'),
require('@fluid-design/fluid-ui/dist/plugin/core'),
require('@fluid-design/fluid-ui/dist/plugin/button'),
// ...
],
};
Expand Down
1 change: 1 addition & 0 deletions src/plugin/button.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ module.exports = plugin(function ({ matchUtilities, theme, addVariant }) {
values: themeColorOptions(theme('colors'), linkBtnOptions),
type: 'color',
}),
// incase the core plugin is not added, these're the fallbacks
addVariant('hocus', ['&:hover', '&:focus-visible']),
addVariant('contrast', ['.contrast &', '@media (prefers-contrast: more)'])
});

0 comments on commit b70175a

Please sign in to comment.