0
Fork 0
mirror of https://github.com/penpot/penpot-export.git synced 2025-01-24 15:38:54 -05:00
penpot-export/packages/demo/penpot-css-export.config.js

31 lines
815 B
JavaScript
Raw Normal View History

2023-08-21 08:36:47 +02:00
require('dotenv').config()
/**
* @type {import('penpot-css-export').Config}
2023-08-21 08:36:47 +02:00
*/
const config = {
instance: process.env.PENPOT_BASE_URL || undefined,
2023-08-21 08:36:47 +02:00
accessToken: process.env.PENPOT_ACCESS_TOKEN,
colors: [
{
output: 'src/styles/colors.css', // 👈🏻 Path where your css should be generated.
fileId: '4a499800-872e-80e1-8002-fc0b585dc061'
},
],
2023-08-22 18:19:28 +02:00
typographies: [
{
output: 'src/styles/typographies.css', // 👈🏻 Path where your css should be generated.
fileId: '4a499800-872e-80e1-8002-fc0b585dc061'
},
],
2023-08-21 08:36:47 +02:00
pages: [
{
output: 'src/styles/ui.css', // 👈🏻 Path where your css should be generated.
2023-08-22 11:36:13 +02:00
fileId: 'abea3ef6-4c19-808a-8003-01370d9cb586',
2023-08-21 08:36:47 +02:00
pageId: '71b1702b-2eb1-81d6-8002-f82a5f182088',
},
],
}
module.exports = config