# CSS
# Introduction
Gives your app the capability to define css.
# Base definition
const exampleCSS = {
title: 'Example XSS',
description: 'Inserts CSS',
namespace: 'example_css',
callbacks: {
}
}
# Example
const exampleCSS = {
title: 'Example XSS',
description: 'Inserts CSS',
namespace: 'example_css',
callbacks: {
renderJS(context) {
return 'body { background: #000; }'
}
}
}
# Registration
module.exports = {
app : app,
css: [
exampleCSS
]
}
← Line Item Types JS →