mirror of
https://github.com/penpot/penpot.git
synced 2025-07-30 08:08:31 +02:00
✨ CSS code generation first draft
This commit is contained in:
parent
5d6b07f2a7
commit
28f90da70e
10 changed files with 237 additions and 108 deletions
|
@ -978,6 +978,12 @@
|
|||
"en" : "Left"
|
||||
}
|
||||
},
|
||||
"handoff.attributes.layout.radius" : {
|
||||
"used-in" : [ "src/app/main/ui/viewer/handoff/attributes/layout.cljs:60" ],
|
||||
"translations" : {
|
||||
"en" : "Radius"
|
||||
}
|
||||
},
|
||||
"handoff.attributes.layout.rotation" : {
|
||||
"used-in" : [ "src/app/main/ui/viewer/handoff/attributes/layout.cljs:60" ],
|
||||
"translations" : {
|
||||
|
|
|
@ -264,8 +264,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
.code-block {
|
||||
margin-top: 0.5rem;
|
||||
border-top: 1px solid $color-gray-60;
|
||||
|
||||
.code-row-lang {
|
||||
position: relative;
|
||||
display: flex;
|
||||
|
@ -307,6 +309,7 @@
|
|||
overflow: hidden;
|
||||
white-space: pre-wrap;
|
||||
background: $color-gray-60;
|
||||
user-select: text;
|
||||
|
||||
.hljs-attr {
|
||||
color: #a6e22e;
|
||||
|
@ -319,5 +322,8 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.element-options :first-child {
|
||||
border-top: none;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue