0
Fork 0
mirror of https://github.com/penpot/penpot-exporter-figma-plugin.git synced 2024-12-23 06:04:01 -05:00
penpot-exporter-figma-plugin/ui-src/components/Stack/Stack.module.css
Jordi Sala Morales 3ee244db92
New UI for the plugin (#90)
* add figma-create-plugin ui

* first attempt

* more changes

* update packages

* fix stuff

* implement reload action

* simplify code

* create wrapper

* fix logo

* adjust sizes

* add changelog

* update design again

* temporary fix

---------

Co-authored-by: Alex Sánchez <sion333@gmail.com>
2024-05-09 12:56:45 +02:00

32 lines
387 B
CSS

.stack {
--direction: column;
--spacing: 1.5rem;
display: flex;
flex-direction: var(--direction);
gap: var(--spacing);
& > * {
flex: 1;
}
.stack-row {
--direction: row;
}
.stack-small {
--spacing: 1rem;
}
.stack-xsmall {
--spacing: 0.5rem;
}
.stack-2xsmall {
--spacing: 0.25rem;
}
.stack-center {
align-items: center;
}
}