Skip to content

Commit 367fb45

Browse files
authored
Merge pull request #27 from JTrenerry/main
Adds nixos-search
2 parents 046521d + 037f800 commit 367fb45

8 files changed

Lines changed: 251 additions & 21 deletions

File tree

readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
2. Downloading Userstyles:
1616
- Open the folder of the userstyle you want to install.
1717
- Then, click on the "Stylus Install" button or open `rose-pine.user.css` and click on "Raw."
18-
> To download all userstyles at once, go to the [releases](https://github.com/rose-pine/userstyles/releases/tag/userstyle-imports) page and follow the instructions listed there.
18+
> To download all userstyles at once, go to the [releases](https://github.com/rose-pine/userstyles/releases/tag/userstyle-imports) page and follow the instructions listed there.
1919
3. Optionally, you can configure any available options that you want to change. Then, click on the "Install Style" button.
2020
4. Some might require extra steps to work correctly, so make sure to check its readme page for additional information.
2121

@@ -52,6 +52,7 @@
5252

5353
- [Twitch](https://github.com/rose-pine/userstyles/tree/main/styles/twitch)
5454
- [YouTube](https://github.com/rose-pine/userstyles/tree/main/styles/youtube)
55+
- [NixOS-Search](https://github.com/rose-pine/userstyles/tree/main/styles/nixos-search)
5556

5657
## Contributing
5758

styles/github/rose-pine.user.css

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -462,14 +462,16 @@
462462
--shadow-resting-xsmall: 0px 1px 0px 0px @base;
463463
--shadow-resting-small: 0px 1px 0px 0px @base, 0px 1px 3px 0px @base;
464464
--shadow-resting-medium: 0px 3px 6px 0px @base;
465-
--shadow-floating-small: 0px 0px 0px 1px @surface, 0px 6px 12px -3px @base,
466-
0px 6px 18px 0px @base;
467-
--shadow-floating-medium: 0px 0px 0px 1px @overlay, 0px 8px 16px -4px @base,
465+
--shadow-floating-small:
466+
0px 0px 0px 1px @surface, 0px 6px 12px -3px @base, 0px 6px 18px 0px @base;
467+
--shadow-floating-medium:
468+
0px 0px 0px 1px @overlay, 0px 8px 16px -4px @base,
468469
0px 4px 32px -4px @base, 0px 24px 48px -12px @base,
469470
0px 48px 96px -24px @base;
470-
--shadow-floating-large: 0px 0px 0px 1px @overlay, 0px 24px 48px 0px #010409;
471-
--shadow-floating-xlarge: 0px 0px 0px 1px @overlay,
472-
0px 32px 64px 0px #010409;
471+
--shadow-floating-large:
472+
0px 0px 0px 1px @overlay, 0px 24px 48px 0px #010409;
473+
--shadow-floating-xlarge:
474+
0px 0px 0px 1px @overlay, 0px 32px 64px 0px #010409;
473475
--shadow-floating-legacy: 0px 6px 12px -3px @base, 0px 6px 18px 0px @base;
474476
--outline-focus: @pine solid 2px;
475477
.turbo-progress-bar {

styles/nixos-search/license

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
This theme includes code from the original theme Catppuccin, which is licensed under the MIT License:
2+
3+
Catppuccin MIT License
4+
5+
Copyright (c) 2021 Catppuccin
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy
8+
of this software and associated documentation files (the "Software"), to deal
9+
in the Software without restriction, including without limitation the rights
10+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
copies of the Software, and to permit persons to whom the Software is
12+
furnished to do so, subject to the following conditions:
13+
14+
The above copyright notice and this permission notice shall be included in all
15+
copies or substantial portions of the Software.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
SOFTWARE.
24+
25+
All modifications and additions to the original theme are licensed under the MIT License:
26+
27+
Rosé Pine MIT License
28+
29+
Copyright (c) 2025 Rosé Pine
30+
31+
Permission is hereby granted, free of charge, to any person obtaining a copy
32+
of this software and associated documentation files (the "Software"), to deal
33+
in the Software without restriction, including without limitation the rights
34+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
35+
copies of the Software, and to permit persons to whom the Software is
36+
furnished to do so, subject to the following conditions:
37+
38+
The above copyright notice and this permission notice shall be included in all
39+
copies or substantial portions of the Software.
40+
41+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
42+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
43+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
44+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
45+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
46+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
47+
SOFTWARE.

styles/nixos-search/readme.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<p align="center">
2+
<img src="https://github.com/rose-pine/rose-pine-theme/raw/main/assets/icon.png" width="80" />
3+
<h2 align="center">Rosé Pine for Nixos-search</h2>
4+
</p>
5+
6+
<p align="center">All natural pine, faux fur and a bit of soho vibes for the classy minimalist</p>
7+
8+
<p align="center">
9+
<a href="https://github.com/rose-pine/rose-pine-theme">
10+
<img src="https://img.shields.io/badge/community-rosé%20pine-26233a?labelColor=191724&logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUwIiBoZWlnaHQ9IjIzNyIgdmlld0JveD0iMCAwIDI1MCAyMzciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9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.io/badge/stylus-install-cba6f7?colorA=363a4f&style=for-the-badge"></a>
13+
</p>
14+
15+
## Usage
16+
17+
1. Make sure you have the [Stylus](https://github.com/openstyles/stylus) browser extension installed, then visit [this link](https://github.com/rose-pine/userstyles/raw/main/styles/nixos-search/rose-pine.user.css)
18+
2. Configure your preferred accent color and theme variant
19+
3. Click install on the top left
20+
21+
## Gallery
22+
23+
![image](https://github.com/user-attachments/assets/4cdd776e-58da-4d34-b834-a1ded2434d24)
24+
![image](https://github.com/user-attachments/assets/ed44ec8b-7475-44d9-b884-20c0f0fdb87e)
25+
![image](https://github.com/user-attachments/assets/d354325d-2dcf-473b-a93a-8f04da441afb)
26+
27+
## Thanks to
28+
29+
- [Catppuccin Org](https://github.com/catppuccin)
30+
- [JTrenerry](https://github.com/JTrenerry)
Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
/* ==UserStyle==
2+
@name NixOS Search Rose Pine
3+
@namespace github.com/rose-pine/userstyles/styles/nixos-search
4+
@homepageURL https://github.com/rose-pine/userstyles/tree/main/styles/nixos-search
5+
@version 1.0.0
6+
@updateURL https://github.com/rose-pine/userstyles/raw/main/styles/nixos-search/rose-pine.user.less
7+
@supportURL https://github.com/rose-pine/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Anixos-search
8+
@description Soothing pastel theme for NixOS Search with Rose Pine palette
9+
@author JTrenerry
10+
@license MIT
11+
12+
@preprocessor less
13+
@var select lightFlavor "Light Flavor" ["dawn:Rosé Pine Dawn*", "moon:Rosé Pine Moon", "norm:Rosé Pine"]
14+
@var select darkFlavor "Dark Flavor" ["dawn:Rosé Pine Dawn", "moon:Rosé Pine Moon", "norm:Rosé Pine"]
15+
@var select accentColor "Accent" ["rose:Rose", "iris:Iris", "pine:Pine", "foam:Foam", "love:Love", "gold:Gold"]
16+
==/UserStyle== */
17+
18+
@-moz-document domain("search.nixos.org") {
19+
#rose-pine(@flavor) {
20+
@rose: @rose-pine[@@flavor][@rose];
21+
@love: @rose-pine[@@flavor][@love];
22+
@iris: @rose-pine[@@flavor][@iris];
23+
@pine: @rose-pine[@@flavor][@pine];
24+
@foam: @rose-pine[@@flavor][@foam];
25+
@gold: @rose-pine[@@flavor][@gold];
26+
@text: @rose-pine[@@flavor][@text];
27+
@muted: @rose-pine[@@flavor][@muted];
28+
@subtle: @rose-pine[@@flavor][@subtle];
29+
@highHigh: @rose-pine[@@flavor][@highHigh];
30+
@highMed: @rose-pine[@@flavor][@highMed];
31+
@highLow: @rose-pine[@@flavor][@highLow];
32+
@overlay: @rose-pine[@@flavor][@overlay];
33+
@surface: @rose-pine[@@flavor][@surface];
34+
@base: @rose-pine[@@flavor][@base];
35+
@accent: @rose-pine[@@flavor][@@accentColor];
36+
37+
::selection {
38+
background-color: fade(@accent, 30%);
39+
}
40+
41+
input,
42+
textarea {
43+
&::placeholder {
44+
color: @muted !important;
45+
}
46+
}
47+
48+
--background-color: @base;
49+
--badge-background: @overlay;
50+
--button-active-background: @overlay;
51+
--button-active-hover-background: @overlay;
52+
--button-background: @surface;
53+
--button-hover-background: @overlay;
54+
--color-active-hover-tab: @surface;
55+
--color-active-tab: @base;
56+
--color-hover-tab: @surface;
57+
--headerbar-background-color: @overlay; //change
58+
--hover-background: @base;
59+
--link-color: @accent;
60+
--info-label-background: @overlay;
61+
--dark-blue: @accent;
62+
--light-blue: @accent;
63+
--line-color: @base;
64+
--search-result-short-details-color: @muted;
65+
--search-result-divider-line-color: @overlay;
66+
--search-result-title-color: @accent;
67+
--search-sidebar-link-color: @text;
68+
--search-sidebar-selected-link-background: @overlay;
69+
--search-sidebar-selected-link-color: @accent;
70+
--terminal-background: @overlay;
71+
--terminal-color: @accent;
72+
--text-color: @text;
73+
--text-color-light: @text;
74+
--text-color-warning: @love;
75+
76+
.label,
77+
.badge {
78+
color: @text;
79+
}
80+
81+
a:hover,
82+
a:focus {
83+
color: @text;
84+
}
85+
}
86+
87+
:root {
88+
@media (prefers-color-scheme: light) {
89+
#rose-pine(@lightFlavor);
90+
}
91+
@media (prefers-color-scheme: dark) {
92+
#rose-pine(@darkFlavor);
93+
}
94+
}
95+
96+
@rose-pine: {
97+
@dawn: {
98+
@rose: #d7827e;
99+
@love: #b4637a;
100+
@iris: #907aa9;
101+
@pine: #286983;
102+
@foam: #56949f;
103+
@gold: #ea9d34;
104+
@text: #575279;
105+
@subtle: #797593;
106+
@muted: #9893a5;
107+
@base: #faf4ed;
108+
@surface: #b2a8b5;
109+
@overlay: #c5c3ce;
110+
@highLow: #d9d7e0;
111+
@highMed: #e0def4;
112+
@highHigh: #e5e3f1;
113+
};
114+
115+
@norm: {
116+
@rose: #ebbcba;
117+
@love: #eb6f92;
118+
@iris: #c4a7e7;
119+
@pine: #31748f;
120+
@foam: #9ccfd8;
121+
@gold: #f6c177;
122+
@text: #e0def4;
123+
@subtle: #908caa;
124+
@muted: #6e6a86;
125+
@base: #191724;
126+
@surface: #1f1d2e;
127+
@overlay: #26233a;
128+
@highLow: #21202e;
129+
@highMed: #403d52;
130+
@highHigh: #524f67;
131+
};
132+
@moon: {
133+
@rose: #ea9a97;
134+
@love: #eb6f92;
135+
@iris: #c4a7e7;
136+
@pine: #3e8fb0;
137+
@foam: #9ccfd8;
138+
@gold: #f6c177;
139+
@text: #e0def4;
140+
@subtle: #908caa;
141+
@muted: #6e6a86;
142+
@base: #232136;
143+
@surface: #2a273f;
144+
@overlay: #393552;
145+
@highLow: #2a283e;
146+
@highMed: #44415a;
147+
@highHigh: #56526e;
148+
};
149+
};
150+
}

styles/octopus/rose-pine.user.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -573,14 +573,14 @@
573573
--colorCarouselIconSelected: @foam;
574574
--colorCarouselIconActive: rgba(169, 187, 203, 0.72);
575575
--colorCarouselBackgroundPrimary: @base;
576-
--shadowExtraSmall: 0 1px 8px 0 rgba(0, 0, 0, 0.12),
577-
0 1px 2px 0 rgba(0, 0, 0, 0.06);
578-
--shadowSmall: 0 1px 1px 0 rgba(0, 0, 0, 0.16),
579-
0 1px 8px 0 rgba(0, 0, 0, 0.16);
580-
--shadowMedium: 0 0 4px 0 rgba(0, 0, 0, 0.24),
581-
0 6px 12px 0 rgba(0, 0, 0, 0.3);
582-
--shadowLarge: 0 2px 6px 0 rgba(0, 0, 0, 0.26),
583-
0 24px 32px -4px rgba(0, 0, 0, 0.42);
576+
--shadowExtraSmall:
577+
0 1px 8px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
578+
--shadowSmall:
579+
0 1px 1px 0 rgba(0, 0, 0, 0.16), 0 1px 8px 0 rgba(0, 0, 0, 0.16);
580+
--shadowMedium:
581+
0 0 4px 0 rgba(0, 0, 0, 0.24), 0 6px 12px 0 rgba(0, 0, 0, 0.3);
582+
--shadowLarge:
583+
0 2px 6px 0 rgba(0, 0, 0, 0.26), 0 24px 32px -4px rgba(0, 0, 0, 0.42);
584584
--shadowFocusDefault: 0 0 0 3px @foam;
585585
}
586586

styles/proton/rose-pine.user.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,9 @@
274274
color: @base;
275275
}
276276

277-
/* the "Official" badge; setting the background to overlay makes it readable when selected */
278-
.label-proton-badge--selected {
279-
background-color: @overlay;
280-
}
277+
/* the "Official" badge; setting the background to overlay makes it readable when selected */
278+
.label-proton-badge--selected {
279+
background-color: @overlay;
280+
}
281281
}
282282
}

styles/wikiwand/rose-pine.user.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@
111111
--tag-text: @muted;
112112
--navbar-bg: @highlightLow;
113113
--navbar-border: @overlay;
114-
--navbar-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2),
115-
0px 5px 10px rgba(0, 0, 0, 0.3);
114+
--navbar-shadow:
115+
0px 0px 2px rgba(0, 0, 0, 0.2), 0px 5px 10px rgba(0, 0, 0, 0.3);
116116
}
117117
.popover_arrow__pQSsX::before {
118118
background-color: @highlightMed;

0 commit comments

Comments
 (0)