Releases: grommet/grommet-icons
Releases · grommet/grommet-icons
v4.6.2
v4.6.1
v4.6.0
v4.5.0
New icons added:
- Pocket logo
- Dribbble
- Ebay
- Figma
- LastFm
- PhoneFlip, PhoneVertical, PhoneHorizontal
- Time
- Zoom
- HomeOption
- Webcam
- CircleAlert
- Key
- ShareRounded
- FanOption
- Ascending, Desecnding, Unsort
- CaretUpFill, CaretDownFill
- AppsRounded
Edited icons:
- Anchor
- Projects
- HPE
v4.4.0
v4.3.0
v4.2.0
v4.1.0
Added Disc, Keyboard, PowerCycle, PowerForceShutdown, PowerReset, PowerShutdown icons.
v4.0.1
grommet-styles
is now a dependency instead of peerDependency
v4.0.0
New Theme Structure 🎉
Before
const base = {
color: '#666666',
colors: {},
size: {
small: '12px',
medium: '24px',
large: '48px',
xlarge: '96px',
},
};
After
const base = {
global: {
colors: {
icon: '#666666',
},
},
icon: {
size: {
small: '12px',
medium: '24px',
large: '48px',
xlarge: '96px',
},
},
};
This allowed us to remove the ThemeContext specific to grommet-icons
. Now you can just leverage the ThemeContext from styled-components
.
import { ThemeProvider} from 'styled-components';
import { base, Close } from 'grommet-icons';
<ThemeProvider theme={base}>
<Close />
</ThemeProvider>
grommet-styles
as a peerDependency now.