summaryrefslogtreecommitdiffstats
path: root/assets/css/objects
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-03-26 22:48:01 +0100
committerVolpeon <git@volpeon.ink>2021-03-26 22:48:01 +0100
commitef58809a37a7ad95c9bdef8e9f465adb3904ffdf (patch)
treea13c113552197dd3dbbd3c511a3cdef95d9d45b5 /assets/css/objects
parentWIP: Redesign (diff)
downloadvolpeon.ink-ef58809a37a7ad95c9bdef8e9f465adb3904ffdf.tar.gz
volpeon.ink-ef58809a37a7ad95c9bdef8e9f465adb3904ffdf.tar.bz2
volpeon.ink-ef58809a37a7ad95c9bdef8e9f465adb3904ffdf.zip
WIP: Redesign
Diffstat (limited to 'assets/css/objects')
-rw-r--r--assets/css/objects/_button.scss23
1 files changed, 23 insertions, 0 deletions
diff --git a/assets/css/objects/_button.scss b/assets/css/objects/_button.scss
new file mode 100644
index 0000000..d97ca2d
--- /dev/null
+++ b/assets/css/objects/_button.scss
@@ -0,0 +1,23 @@
1@include namespace('button') {
2 @include store((
3 --dims: (
4 --pad-x: 1.4em,
5 --pad-y: .5em
6 ),
7 --colors: (
8 --bg: prop(--colors --fg-lo, $global: true),
9 --fg: prop(--colors --bg, $global: true),
10 )
11 ));
12
13 @include object(namespace()) {
14 display: inline-block;
15 padding: prop(--dims --pad-y) prop(--dims --pad-x);
16 border-radius: 10em;
17 background-color: prop(--colors --bg);
18 color: prop(--colors --fg);
19 font-size: 1 / 16 * 14em;
20 font-weight: 500;
21 text-decoration: none;
22 }
23}