How to use rendition - 5 common examples

To help you get started, we’ve selected a few rendition examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github balena-io / etcher / lib / gui / app / styled-components.tsx View on Github external
&:focus,
		&:active {
			color: #8f9297;
		}
	}
`;
export const StepSelection = styled(Flex)`
	flex-wrap: wrap;
	justify-content: center;
`;
export const Footer = styled(Txt)`
	margin-top: 10px;
	color: ${colors.dark.disabled.foreground};
	font-size: 10px;
`;
export const Underline = styled(Txt.span)`
	border-bottom: 1px dotted;
	padding-bottom: 2px;
`;
export const DetailsText = styled(Txt.p)`
	color: ${colors.dark.disabled.foreground};
	margin-bottom: 0;
`;
github balena-io / etcher / lib / gui / app / components / drive-selector-step / drive-selector.jsx View on Github external
const selectionState = require('./../../models/selection-state')

const DeviceListElem = styled(Box) `
  font-size: 12px;
  padding: 11px 0;
  border-bottom: 1.5px solid ${colors.light.soft.background};
  width: 100%;
  cursor: pointer;
`

const DeviceList = styled(Box)`
  margin: -50px 15px -35px 15px;
`

const Tick = styled(Txt.span) `
  font-size: 12px;
  border: 2px solid;
  border-radius: 50%;
  padding: 3px;

  border-color: ${(props) => { return props.success ?
    colors.success.foreground :
    props.error ? colors.danger.foreground :
    props.disabled ? '#b3b3b3' : colors.light.foreground}
  }

  background-color: ${(props) => { return props.success ?
    colors.success.background :
    props.error ? colors.danger.background : colors.dark.foreground}
  }
github balena-io / etcher / lib / gui / app / styled-components.js View on Github external
color: ${colors.dark.foreground};

  &:hover, &:focus, &:active{
    color: ${colors.primary.foreground};
  }
`
exports.StepSelection = styled(Flex) `
  flex-wrap: wrap;
  justify-content: center;
`
exports.Footer = styled(Txt) `
  margin-top: 10px;
  color: ${colors.dark.disabled.foreground};
  font-size: 10px;
`
exports.Underline = styled(Txt.span) `
  border-bottom: 1px dotted;
  padding-bottom: 2px;
`
exports.DetailsText = styled(Txt.p) `
  color: ${colors.dark.disabled.foreground};
  margin-bottom: 0;
`
github balena-io / etcher / lib / gui / app / styled-components.js View on Github external
}
`
exports.StepSelection = styled(Flex) `
  flex-wrap: wrap;
  justify-content: center;
`
exports.Footer = styled(Txt) `
  margin-top: 10px;
  color: ${colors.dark.disabled.foreground};
  font-size: 10px;
`
exports.Underline = styled(Txt.span) `
  border-bottom: 1px dotted;
  padding-bottom: 2px;
`
exports.DetailsText = styled(Txt.p) `
  color: ${colors.dark.disabled.foreground};
  margin-bottom: 0;
`
github balena-io / etcher / lib / gui / app / styled-components.tsx View on Github external
}
`;
export const StepSelection = styled(Flex)`
	flex-wrap: wrap;
	justify-content: center;
`;
export const Footer = styled(Txt)`
	margin-top: 10px;
	color: ${colors.dark.disabled.foreground};
	font-size: 10px;
`;
export const Underline = styled(Txt.span)`
	border-bottom: 1px dotted;
	padding-bottom: 2px;
`;
export const DetailsText = styled(Txt.p)`
	color: ${colors.dark.disabled.foreground};
	margin-bottom: 0;
`;

rendition

React components library

Apache-2.0
Latest version published 10 months ago

Package Health Score

58 / 100
Full package analysis

Popular rendition functions