Skip to content

Instantly share code, notes, and snippets.

@MaxGraey
Created September 15, 2017 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MaxGraey/cc4c2ee1822fe99504ae3f2ebe217345 to your computer and use it in GitHub Desktop.
Save MaxGraey/cc4c2ee1822fe99504ae3f2ebe217345 to your computer and use it in GitHub Desktop.
config for atom-flex-toolbar
[
{
type: "button"
icon: "social-buffer"
callback: "application:add-project-folder"
tooltip: "Add Project"
iconset: "ion"
style: {
color: "rgba(255, 255, 255, 0.7)"
transform: "scale(1.2)"
}
}
{
type: "button"
icon: "folder-o"
callback: "application:open-file"
tooltip: "Open File"
iconset: "fa"
style: {
color: "rgba(255, 255, 255, 0.55)"
transform: "scale(0.7)"
}
}
{
type: "button"
icon: "compose"
callback: "application:new-file"
tooltip: "New File"
iconset: "ion"
style: {
color: "rgba(255, 255, 255, 0.55)"
transform: "scale(0.85)"
}
}
{
type: "spacer"
}
{
type: "button"
icon: "android-search"
callback: "project-find:toggle"
tooltip: "Find In Project"
iconset: "ion"
style: {
color: "rgba(255, 255, 255, 0.55)"
transform: "scale(0.9)"
}
}
{
type: "button"
icon: "social-markdown"
callback: "markdown-preview:toggle"
disable: "!markdown"
tooltip: "Toggle Markdown Preview"
iconset: "ion"
style: {
color: "rgba(255, 255, 255, 0.55)"
transform: "scale(0.85)"
}
}
{
type: "button"
icon: "image"
callback: "svg-preview:toggle"
disable: "!SVG"
tooltip: "Toggle SVG Preview"
iconset: "ion"
style: {
color: "rgba(255, 255, 255, 0.5)"
transform: "scale(0.8)"
}
}
{
type: "button"
icon: "code"
callback: "atom-beautify:beautify-editor"
tooltip: "Atom Beautify"
iconset: "ion"
mode: "atom-text-editor"
style: {
color: "rgba(255, 255, 255, 0.55)"
transform: "scale(0.8)"
}
}
{
type: "button"
icon: "code"
iconset: "ion"
callback: "atom-alignment:alignMultiple"
tooltip: "Align"
style: {
color: "rgba(120, 200, 120, 0.9)"
transform: "scale(0.8)"
}
}
{
type: "spacer"
}
{
type: "button"
icon: 'android-menu'
callback: 'command-palette:toggle'
tooltip: 'Toggle Command Palette'
iconset: "ion"
style: {
color: "rgba(255, 255, 255, 0.55)"
transform: "scale(0.85)"
}
}
{
type: "button"
icon: 'settings'
callback: 'settings-view:open'
tooltip: 'Open Settings View'
style: {
color: "rgba(255, 255, 255, 0.55)"
transform: "scale(0.75)"
}
}
{
type: "spacer"
}
{
type: "button"
icon: "arrow-right-b"
callback: 'fuse:preview-local'
tooltip: "Run Fuse Local Preview"
show: [
"UX"
"Uno"
"unoproj"
"js"
]
iconset: 'ion'
style: {
color: "rgba(255, 255, 255, 0.55)"
}
}
{
type: "button"
icon: 'arrow-right-b'
callback: 'script:run'
tooltip: 'Run script'
iconset: 'ion'
hide: [
"UX"
"Uno"
"unoproj"
]
style: {
color: "rgba(255, 255, 255, 0.55)"
}
}
]
@terminal-guy
Copy link

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment