This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const BREAKPOINTS = { | |
| xs: '0px', | |
| sm: '600px', | |
| md: '960px', | |
| lg: '1280px', // default | |
| xl: '1920px', | |
| } | |
| function up(breakpoint) { | |
| const size = BREAKPOINTS[breakpoint] || BREAKPOINTS['lg']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const theme = { | |
| zIndex: { | |
| dropdown: 900, | |
| modal: 1000, | |
| tooltip: 1100, | |
| // ... other components | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const theme = { | |
| spacing: (...args) => { | |
| const sizes = [0, 4, 8, 16, 32, 64]; | |
| let pxs = []; | |
| args.forEach(idx => { | |
| if (sizes[idx] !== undefined) { | |
| pxs.push(`${sizes[idx]}px`); | |
| } else if (typeof idx === 'string') { | |
| pxs.push(idx); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const theme = { | |
| typography: { | |
| fontFamily: 'sans-serif', | |
| fontWeight: '400', | |
| h1: '4rem', | |
| h2: '3rem', | |
| h3: '2rem', | |
| h4: '1.4rem', | |
| h5: '1.2rem', | |
| h6: '0.8rem', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const theme = { | |
| ... | |
| colors: { | |
| primary: '#90caf9', | |
| secondary: '#f48fb1', | |
| bodyText: '#000000', | |
| error: '#f44336', | |
| warning: '#ff9800', | |
| info: '#2196f3', | |
| success: '#4caf50', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const theme = { | |
| colors: {}, | |
| typography: {}, | |
| spacing: {}, | |
| zIndex: {}, | |
| breakpoints: {} | |
| } |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Did you hear about the Native American man that drank 200 cups of tea? He nearly drown in his own tea pee. | |
| What's the best anti diarrheal prescription? Mycheexarphlexin | |
| What do you call a person who is outside a door and has no arms nor legs? Matt | |
| Which Star Trek character is a member of the magic circle? Jean-Luc Pickacard | |
| What's the difference between a bullet and a human? A bullet doesn't miss Harambe | |
| Why was the Ethiopian baby crying? He was having a mid-life crisis | |
| What's the difference between a corn husker with epilepsy and a hooker with dysentery? One shucks between fits... | |
| Who is 2016's biggest sellout? Kevin Durant or Bernie Sanders? | |
| Why is little Annie's shoe floating in the sea? Because the shark burped. | |
| What's the difference between a married man and a bachelor? A bachelor will go to the fridge, sees nothing he wants, and go to bed A married man will go the bed, sees nothing he wants, and go the fridge! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .dropdown { | |
| position: absolute; | |
| } | |
| a.link { | |
| text-decoration: none; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export async function fetchCategories(actions, payload) { | |
| const response = await ApiService(payload); | |
| actions.fetched(response.data); | |
| } | |
| export function actionFetched(state, payload) { | |
| state.items = payload; | |
| return state; | |
| } |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| [ | |
| "1.0.0.0", | |
| "1.0.0.255", | |
| "256" | |
| ], | |
| [ | |
| "1.1.1.0", | |
| "1.1.1.0", | |
| "1" |