Skip to content

Commit 940fe22

Browse files
authored
feat(instagram): theme story ring around profile picture (catppuccin#729)
* feat(instagram): theme story ring around profile picture * chore(instagram): bump version * fix(instagram): smaller seen ring
1 parent d7dbf56 commit 940fe22

1 file changed

Lines changed: 23 additions & 1 deletion

File tree

styles/instagram/catppuccin.user.css

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@name Instagram Catppuccin
33
@namespace github.com/catppuccin/userstyles/styles/instagram
44
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/instagram
5-
@version 0.2.0
5+
@version 0.2.1
66
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/instagram/catppuccin.user.css
77
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ainstagram
88
@description Soothing pastel theme for Instagram
@@ -125,6 +125,28 @@
125125
background-color: @accent-color !important;
126126
}
127127

128+
/* Story seen / not seen ring */
129+
button:has(canvas + span > img[alt$="'s profile picture"]) {
130+
canvas {
131+
display: none;
132+
}
133+
134+
span {
135+
outline-style: solid;
136+
outline-offset: 0.15rem;
137+
}
138+
139+
140+
&[aria-label^="Story by"][aria-label$="not seen"] span {
141+
outline-color: @mauve;
142+
outline-width: 0.2rem;
143+
}
144+
&[aria-label^="Story by"]:not([aria-label$="not seen"]) span {
145+
outline-color: @surface2;
146+
outline-width: 0.075rem;
147+
}
148+
}
149+
128150
/* Posts */
129151
._aggc {
130152
background-color: @mantle;

0 commit comments

Comments
 (0)