Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/plugins/docusaurus-react-native-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,17 @@ module.exports = function () {
'react-native-vector-icons/MaterialCommunityIcons': path.resolve(
'node_modules/@react-native-vector-icons/material-design-icons'
),
'@expo/vector-icons/MaterialCommunityIcons': path.resolve(
'node_modules/@react-native-vector-icons/material-design-icons'
),
'@react-native-vector-icons/get-image': false,
},
extensions: ['.web.js'],
},
};
},
getClientModules() {
return [path.resolve(__dirname, 'polyfills/dev.js')];
},
};
};
1 change: 1 addition & 0 deletions docs/plugins/polyfills/dev.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
globalThis.__DEV__ = process.env.NODE_ENV !== 'production';
24 changes: 13 additions & 11 deletions docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,10 @@ html[data-theme='light'] .gallery-dark {
height: 124px;
align-items: center;
text-align: center;
}

@media (max-width: 680px) {
@media (max-width: 680px) {
.icons-list-icon-container {
width: 96px;
}
}
Expand All @@ -153,10 +155,10 @@ html[data-theme='light'] .gallery-dark {
flex-wrap: wrap;
justify-content: center;
margin: 24px 0;
}

&:last-child {
justify-content: flex-start;
}
.icons-list-results:last-child {
justify-content: flex-start;
}

.icons-list-searchbar {
Expand All @@ -171,15 +173,15 @@ html[data-theme='light'] .gallery-dark {
border-radius: 3px;
transition: background-color 0.3s;
outline: 0;
}

&:focus,
&:hover {
background-color: #e7e7e7;
}
.icons-list-searchbar:focus,
.icons-list-searchbar:hover {
background-color: #e7e7e7;
}

*:focus-visible {
outline: auto;
}
.icons-list-searchbar:focus-visible {
outline: auto;
}

@font-face {
Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,4 @@ export type { Props as SegmentedButtonsProps } from './components/SegmentedButto
export type { Props as ListImageProps } from './components/List/ListImage';
export type { Props as TooltipProps } from './components/Tooltip/Tooltip';

export { TypescaleKey, type Theme, type Elevation } from './types';
export { type TypescaleKey, type Theme, type Elevation } from './types';
2 changes: 2 additions & 0 deletions src/theme/schemes/DynamicTheme.tsx
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
export { DarkTheme as DynamicDarkTheme } from './DarkTheme';
export { LightTheme as DynamicLightTheme } from './LightTheme';

export const isDynamicColorSupported = false;