summaryrefslogtreecommitdiffstats
path: root/tpl
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2023-02-15 21:55:30 +0100
committerVolpeon <git@volpeon.ink>2023-02-15 21:55:30 +0100
commit72267cf11140ba5a339bd8cd238e2942b545203c (patch)
treeccf708b6099ec7be38fd611f6d5228de9cb2b2aa /tpl
parentAdded 125 size for moji (diff)
downloadiro-design-72267cf11140ba5a339bd8cd238e2942b545203c.tar.gz
iro-design-72267cf11140ba5a339bd8cd238e2942b545203c.tar.bz2
iro-design-72267cf11140ba5a339bd8cd238e2942b545203c.zip
Updated link scope
Diffstat (limited to 'tpl')
-rw-r--r--tpl/index.pug4
-rw-r--r--tpl/objects/bubble.pug2
-rw-r--r--tpl/objects/lightbox.pug2
-rw-r--r--tpl/views/colored-links.pug9
-rw-r--r--tpl/views/links.pug25
5 files changed, 29 insertions, 13 deletions
diff --git a/tpl/index.pug b/tpl/index.pug
index 0bafbc9..d87fec8 100644
--- a/tpl/index.pug
+++ b/tpl/index.pug
@@ -53,7 +53,7 @@ mixin user-card(name, hue)
53 53
54include views/heading.pug 54include views/heading.pug
55include views/divider.pug 55include views/divider.pug
56include views/colored-links.pug 56include views/links.pug
57include views/code.pug 57include views/code.pug
58include views/blockquote.pug 58include views/blockquote.pug
59include views/list.pug 59include views/list.pug
@@ -96,7 +96,7 @@ html
96 .c-content.l-overflow 96 .c-content.l-overflow
97 +view-heading 97 +view-heading
98 +view-divider 98 +view-divider
99 +view-colored-links 99 +view-links
100 +view-code 100 +view-code
101 +view-blockquote 101 +view-blockquote
102 +view-list 102 +view-list
diff --git a/tpl/objects/bubble.pug b/tpl/objects/bubble.pug
index 8d878c8..5782ca5 100644
--- a/tpl/objects/bubble.pug
+++ b/tpl/objects/bubble.pug
@@ -32,7 +32,7 @@ mixin bubble(user)
32 else if user 32 else if user
33 header(class=headerClasses) 33 header(class=headerClasses)
34 strong= user 34 strong= user
35 span.s-colored-links 35 span.s-links.s-links--colored
36 - slots.body() 36 - slots.body()
37 if slots.time 37 if slots.time
38 small.o-bubble__time 38 small.o-bubble__time
diff --git a/tpl/objects/lightbox.pug b/tpl/objects/lightbox.pug
index ac7d886..7298ed9 100644
--- a/tpl/objects/lightbox.pug
+++ b/tpl/objects/lightbox.pug
@@ -3,7 +3,7 @@ include icon.pug
3mixin lightbox(images) 3mixin lightbox(images)
4 .o-lightbox 4 .o-lightbox
5 header.o-lightbox__header 5 header.o-lightbox__header
6 .s-colored-links 6 .s-links.s-links--colored
7 block 7 block
8 +action-button(round=true quiet=true icon='x' class='o-lightbox__close-btn') 8 +action-button(round=true quiet=true icon='x' class='o-lightbox__close-btn')
9 img.o-lightbox__img(src=images[0]) 9 img.o-lightbox__img(src=images[0])
diff --git a/tpl/views/colored-links.pug b/tpl/views/colored-links.pug
deleted file mode 100644
index 8951154..0000000
--- a/tpl/views/colored-links.pug
+++ /dev/null
@@ -1,9 +0,0 @@
1mixin view-colored-links
2 +view('colored-links', 'Colored links')
3 .c-box
4 .s-colored-links
5 = 'Lorem ipsum dolor '
6 a(href='https://mk.vulpes.one/')= 'https://mk.vulpes.one/'
7 = ' sit amet, consetetur '
8 a(href='https://v.reddit.com/')= 'https://v.reddit.com/'
9 = ' sadipscing elitr, sed diam nonumy eirmod tempor'
diff --git a/tpl/views/links.pug b/tpl/views/links.pug
new file mode 100644
index 0000000..91d6dde
--- /dev/null
+++ b/tpl/views/links.pug
@@ -0,0 +1,25 @@
1mixin view-links
2 +view('links', 'Links')
3 .c-box
4 .s-links
5 = 'Lorem ipsum dolor '
6 a(href='https://mk.vulpes.one/')= 'https://mk.vulpes.one/'
7 = ' sit amet, consetetur '
8 a(href='https://v.reddit.com/')= 'https://v.reddit.com/'
9 = ' sadipscing elitr, sed diam nonumy eirmod tempor'
10
11 .c-box
12 .s-links.s-links--invisible
13 = 'Lorem ipsum dolor '
14 a(href='https://mk.vulpes.one/')= 'https://mk.vulpes.one/'
15 = ' sit amet, consetetur '
16 a(href='https://v.reddit.com/')= 'https://v.reddit.com/'
17 = ' sadipscing elitr, sed diam nonumy eirmod tempor'
18
19 .c-box
20 .s-links.s-links--colored
21 = 'Lorem ipsum dolor '
22 a(href='https://mk.vulpes.one/')= 'https://mk.vulpes.one/'
23 = ' sit amet, consetetur '
24 a(href='https://v.reddit.com/')= 'https://v.reddit.com/'
25 = ' sadipscing elitr, sed diam nonumy eirmod tempor'