Skip to content

Commit

Permalink
Merge pull request #5 from eea/add-20-80-layouts
Browse files Browse the repository at this point in the history
Add layouts 20/80 and 80/20
  • Loading branch information
tiberiuichim committed Oct 12, 2020
2 parents 4418f3a + 8c728a9 commit 2a98e6e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ export const gridSizes = {
tablet: 6,
computer: 3,
},
oneFifth: {
mobile: 12,
tablet: 2,
computer: 3,
},
fourFifths: {
mobile: 12,
tablet: 10,
computer: 9,
},
};

export const variants = [
Expand All @@ -53,6 +63,14 @@ export const variants = [
},
title: '50 / 50',
},
{
icon: iconB,
defaultData: {
gridSize: 12,
gridCols: ['oneFifth', 'fourFifths'],
},
title: '20 / 80',
},
{
icon: iconB,
defaultData: {
Expand All @@ -69,6 +87,14 @@ export const variants = [
},
title: '70 / 30',
},
{
icon: iconC,
defaultData: {
gridSize: 12,
gridCols: ['fourFifths', 'oneFifth'],
},
title: '80 / 20',
},
{
icon: iconD,
defaultData: {
Expand Down

0 comments on commit 2a98e6e

Please sign in to comment.