
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@colorline/colorline-designsystem
Advanced tools
Color Line Design System is an open source tool for building UI Design Systems with Vue.js. It provides you and your team a set of organized tools, patterns & practices that work as the foundation for your application development.
Built on Vue Design System. This tool is built on top of Vue.js, Vue Styleguidist, Webpack, and Theo and is aimed for designers and front-end developers who have at least basic knowledge of component based workflows + HTML, SCSS & JavaScript.
import {
ColorLineUiLibrary,
config,
DateHelper, //optional
DOMHelper, //optional
JSONManipulator, //optional
SmoothScroll, //optional
} from '@colorline/colorline-designsystem'
import '@colorline/colorline-designsystem/dist/system/system.css'
import '@colorline/colorline-designsystem/dist/system/fonts/fonts.css'
// Fonts are optional. Remember to set up your bundler to include the font files.
config.setValue('svgPath', 'path_to_public_svg_icon_folder')
Vue.use(ColorLineUiLibrary)
Tokens in JavaScript use underscore as word separator
import tokens from '@colorline/colorline-designsystem/dist/system/tokens/tokens.json'
console.log(tokens['radius_circle']) /* 50% */
Tokens in SCSS use hyphen as word separator
@import '../node_modules/@colorline/colorline-designsystem/dist/system/tokens/tokens.scss';
.circle {
border-radius: $radius-circle; /* 50% */
}
You can optionally only use the components you need. To do this you should skip importing and using ColorLineUiLibrary, and instead import the components directly.
// In your Vue component's script section:
import InfoMessage from '@colorline/colorline-designsystem/dist/system/elements/InfoMessage'
export default {
name: 'YourComponent',
components: {
InfoMessage,
},
}
If you opt to not include the global CSS system.css
you will also need to import the component CSS in your component's style section. Be aware that the styles need to be imported in a clean CSS or SCSS style block, as module
and scoped
blocks break imported style definitions.
@import '../node_modules/@colorline/colorline-designsystem/dist/system/elements/InfoMessage.css';
Tokens
, Elements
, Patterns
and Templates
.FAQs
Color Line Design System
We found that @colorline/colorline-designsystem demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.