mirror of
https://github.com/Unleash/unleash.git
synced 2024-10-23 20:07:40 +02:00
37b818fce4
* feat: new tags * feat: archive * wip: variants * add support for deletion, variable/fixed weight toggle and weight editing * Add confirmation dialogue for deleting variants * feat: settings * fix: recalculate on project name change * feat: feature environment metrics * feat: environment * Add toggle for stale * fix: refetch on create strategy * fix: lint * fix: update snapshots * fix: add link to icon button * fix: revert test user * fix: increase size! * fix: use permission attr for ResponsiveButton * fix: dev dependency * fix: theme * fix: stale style * Update src/component/feature/FeatureView2/FeatureSettings/FeatureSettingsMetadata/FeatureTypeSelect/FeatureTypeSelect.tsx Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai> * Update src/component/feature/FeatureView2/FeatureVariants/FeatureVariantsList/FeatureVariantsList.tsx Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai> * Update src/component/feature/FeatureView2/FeatureVariants/FeatureVariantsList/FeatureVariantsListItem/useDeleteVariantMarkup.tsx Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai> Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai> Co-authored-by: Christopher Kolstad <git@chriswk.no>
34 lines
844 B
TypeScript
34 lines
844 B
TypeScript
import { makeStyles } from '@material-ui/core/styles';
|
|
|
|
export const useStyles = makeStyles(theme => ({
|
|
container: { borderRadius: '10px', boxShadow: 'none', display: 'flex' },
|
|
header: {
|
|
backgroundColor: '#fff',
|
|
borderRadius: '10px',
|
|
marginBottom: '1rem',
|
|
},
|
|
innerContainer: {
|
|
padding: '1rem 2rem',
|
|
display: 'flex',
|
|
justifyContent: 'space-between',
|
|
alignItems: 'center',
|
|
},
|
|
separator: {
|
|
width: '100%',
|
|
backgroundColor: theme.palette.grey[200],
|
|
height: '1px',
|
|
},
|
|
tabContainer: {
|
|
padding: '1rem 2rem',
|
|
},
|
|
tabButton: {
|
|
textTransform: 'none',
|
|
width: 'auto',
|
|
fontSize: '1rem',
|
|
},
|
|
featureViewHeader: {
|
|
fontSize: theme.fontSizes.mainHeader,
|
|
fontWeight: 'normal',
|
|
},
|
|
}));
|