✨ Added LineDrawing component
This commit is contained in:
parent
9c1f701fa2
commit
21bc3c0828
7 changed files with 404 additions and 104 deletions
|
@ -9,3 +9,4 @@
|
|||
@import "components/fab";
|
||||
@import "components/spinner";
|
||||
@import "components/box";
|
||||
@import "components/linedrawing";
|
||||
|
|
40
packages/css-theme/src/components/_linedrawing.scss
Normal file
40
packages/css-theme/src/components/_linedrawing.scss
Normal file
|
@ -0,0 +1,40 @@
|
|||
svg.fs.linedrawing {
|
||||
path.primary {
|
||||
stroke-width: 2;
|
||||
}
|
||||
path.secondary {
|
||||
stroke-width: 1;
|
||||
}
|
||||
path.inside {
|
||||
stroke-width: 2;
|
||||
}
|
||||
}
|
||||
|
||||
.theme-wrapper.light svg.fs.linedrawing {
|
||||
path.primary {
|
||||
stroke: $oc-gray-8;
|
||||
fill: $oc-gray-3;
|
||||
}
|
||||
path.secondary {
|
||||
stroke: $oc-gray-8;
|
||||
fill: none;
|
||||
}
|
||||
path.inside, rect.inside {
|
||||
stroke: $oc-gray-8;
|
||||
fill: $oc-gray-5;
|
||||
}
|
||||
}
|
||||
.theme-wrapper.dark svg.fs.linedrawing {
|
||||
path.primary {
|
||||
stroke: $oc-gray-5;
|
||||
fill: $oc-gray-9;
|
||||
}
|
||||
path.secondary {
|
||||
stroke: $oc-gray-5;
|
||||
fill: none;
|
||||
}
|
||||
path.inside, rect.inside {
|
||||
stroke: $oc-gray-5;
|
||||
fill: $oc-gray-7;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue