This file contains 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
Contrast category open | |
Card Displayed | |
Color A does not contrast with color B* | |
Generating suggested colors | |
Loaded -> Suggested colors shown | |
Suggested colors shown | |
pick suggested color -> Color A has sufficient contrast with color B | |
change color A -> Checking Color A with Color B | |
change color B -> Checking Color A with Color B | |
move element -> Checking Color A with Color B |
This file contains 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
Issues | |
First State | |
some event -> Second State | |
Second State |
This file contains 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
function render(model){ | |
let current_state_name = model.active_states[0].name; | |
return $("h1", | |
{style: {color: "darkBlue"}}, | |
`The current state is: ${current_state_name}`); | |
} |
This file contains 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
import { useState, useLayoutEffect, useEffect } from 'react'; | |
// remove this once safari support ships | |
function checkFlexGap() { | |
// create flex container with row-gap set | |
const flex = document.createElement('div'); | |
flex.style.display = 'flex'; | |
flex.style.flexDirection = 'column'; | |
flex.style.rowGap = '1px'; |
This file contains 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
// // LUI Next Colors | |
// // LUI Now colors live in @lendi-ui/color package | |
import hexToRgba from 'hex-to-rgba'; | |
export const isHex = (str: string) => str.match(/^#(?:[0-9a-fA-F]{3}){1,2}$/); | |
type Shade = Partial<950 | 900 | 800 | 700 | 600 | 500 | 400 | 300 | 200 | 100 | 50 | 25 | 0>; | |
type Format = 'hexadecimal' | 'rgba'; | |
type Category = 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info' | 'shade' | 'focus'; | |
type ColorObject = Partial<{ [key in Shade]: { value: string; format: Format } }>; |
This file contains 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
dependencies: { | |
"myPackageThatDependsOnReact": "^1.0.0", | |
"react": "16.0.0" | |
} | |
This file contains 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
"resolutions": { | |
"foo": "1.4.9" | |
} | |
This file contains 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
"resolutions": { | |
"foo": "1.4.9" | |
} | |
This file contains 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
"resolutions": { | |
"babel/foo": "1.4.9", | |
} | |
This file contains 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
"[email protected]" | |
version "1.1.0" | |
dependencies: | |
pkg-b "^2.1.0" | |
"[email protected]" | |
version "1.0.0" | |
dependencies: | |
pkg-b "^2.0.0" |
NewerOlder