@sxo/theme-pornhub 0.0.0 → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 sxo team
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,36 +1,44 @@
1
- # @sxo/theme-pornhub
1
+ <div align="center">
2
+ <h1>@sxo/theme-pornhub</h1>
3
+ <p><b>Pornhub style theme for the SXO design system. A high-contrast, dark-mode-first aesthetic.</b></p>
2
4
 
3
- SXO 设计系统的 Pornhub 风格主题。
5
+ <p>
6
+ <a href="https://www.npmjs.com/package/@sxo/theme-pornhub"><img src="https://img.shields.io/npm/v/@sxo/theme-pornhub.svg?style=flat-square" alt="npm version"></a>
7
+ <img src="https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square" alt="license">
8
+ <img src="https://img.shields.io/npm/dm/@sxo/theme-pornhub.svg?style=flat-square" alt="downloads">
9
+ </p>
10
+ </div>
4
11
 
5
- ## 安装
12
+ ---
13
+
14
+ `@sxo/theme-pornhub` provides a striking, high-contrast dark theme based on the iconic color palette of Pornhub.
15
+
16
+ ## ✨ Features
17
+
18
+ - 🌑 **Dark Mode First**: Optimized for low-light environments and high-contrast accessibility.
19
+ - 🟠 **Classic Palette**: Deep black backgrounds with the signature "Warning Orange" (#FF9900).
20
+ - 👁️ **High Readability**: Bold typography and clear state indicators.
21
+ - 🧩 **Universal**: Compatible with all SXO adaptors and the core engine.
22
+
23
+ ## 🚀 Quick Start
24
+
25
+ ### Installation
6
26
 
7
27
  ```bash
8
- pnpm add @sxo/theme-pornhub @sxo/engine @sxo/design
28
+ pnpm add @sxo/theme-pornhub
9
29
  ```
10
30
 
11
- ## 用法
12
-
13
- 配合 `vue-sxo` 或 `@sxo/engine` 使用:
31
+ ### Usage (Vue 3 Example)
14
32
 
15
33
  ```typescript
16
- import { createSxo } from 'vue-sxo';
34
+ import { createSxo } from '@sxo/vue';
17
35
  import pornhubTheme from '@sxo/theme-pornhub';
18
36
 
19
- // 在 Vue 插件中使用
20
37
  app.use(createSxo({
21
38
  tokens: pornhubTheme
22
39
  }));
23
40
  ```
24
41
 
25
- 或者直接在引擎中使用:
26
-
27
- ```typescript
28
- import { StyleEngine } from '@sxo/engine';
29
- import pornhubTheme from '@sxo/theme-pornhub';
30
-
31
- const engine = new StyleEngine(pornhubTheme);
32
- ```
42
+ ## 📄 License
33
43
 
34
- ## 主题特色
35
- - **经典配色**: 黑色背景搭配醒目的橙色 (#FF9900)。
36
- - **高对比度**: 优化的文本可读性。
44
+ MIT License.
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@sxo/design"),o={...e.defaultTokens,color:{...e.defaultTokens.color,primary:{DEFAULT:"#FF9900",foreground:"#000000"},secondary:{DEFAULT:"#1B1B1B",foreground:"#FFFFFF"},accent:{DEFAULT:"#FF9900",neon:"#FF9900",vivid:"#FFA31A"},neutral:{0:"#FFFFFF",50:"#F4F4F4",100:"#E0E0E0",200:"#B2B2B2",300:"#757575",400:"#424242",500:"#282828",600:"#1B1B1B",700:"#1A1A1A",800:"#111111",900:"#0A0A0A",950:"#050505",1e3:"#000000"},background:{primary:"#000000",secondary:"#1B1B1B",inverse:"#FFFFFF"},text:{primary:"#FFFFFF",secondary:"#E0E0E0",muted:"#757575",inverse:"#000000"}},modes:{dark:{background:{primary:"#000000",secondary:"#0a0a0a",inverse:"#ffffff"},neutral:{0:"#ffffff",900:"#1a1a1a",1e3:"#000000"}}},borderRadius:{none:"0px",xs:"2px",sm:"4px",md:"8px",lg:"12px",full:"9999px",xl:"12px"},boxShadow:{...e.defaultTokens.boxShadow,none:"none",sm:"none",DEFAULT:"none",md:"none",lg:"none",hard:"0 0 0 1px #1A1A1A","hard-accent":"0 0 0 1px #FF9900",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"},typography:{...e.defaultTokens.typography,fontFamily:{sans:"Arial, Helvetica, sans-serif",serif:"Georgia, serif",mono:"monospace"}}};exports.default=o;exports.pornhubTheme=o;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@sxo/design"),o={...e.defaultTokens,color:{...e.defaultTokens.color,primary:{DEFAULT:"#FF9900",foreground:"#000000"},secondary:{DEFAULT:"#1B1B1B",foreground:"#FFFFFF"},accent:{DEFAULT:"#FF9900",neon:"#FF9900",vivid:"#FFA31A"},neutral:{0:"#FFFFFF",50:"#F4F4F4",100:"#E0E0E0",200:"#B2B2B2",300:"#757575",400:"#424242",500:"#282828",600:"#1B1B1B",700:"#1A1A1A",800:"#111111",900:"#0A0A0A",950:"#050505",1e3:"#000000"},background:{primary:"#000000",secondary:"#1B1B1B",inverse:"#FFFFFF"},text:{primary:"#FFFFFF",secondary:"#E0E0E0",muted:"#757575",inverse:"#000000"}},modes:{dark:{background:{primary:"#000000",secondary:"#0a0a0a",inverse:"#ffffff"},neutral:{0:"#ffffff",900:"#1a1a1a",1e3:"#000000"}}},borderRadius:{DEFAULT:"4px",none:"0px",xs:"2px",sm:"4px",md:"8px",lg:"12px",full:"9999px",xl:"12px"},boxShadow:{...e.defaultTokens.boxShadow,none:"none",sm:"none",DEFAULT:"none",md:"none",lg:"none",hard:"0 0 0 1px #1A1A1A","hard-accent":"0 0 0 1px #FF9900",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"},typography:{...e.defaultTokens.typography,fontFamily:{sans:"Arial, Helvetica, sans-serif",serif:"Georgia, serif",mono:"monospace"}}};exports.default=o;exports.pornhubTheme=o;
package/dist/index.d.ts CHANGED
@@ -1,2 +1,6 @@
1
- export * from './tokens.ts';
2
- export { default } from './tokens.ts';
1
+ export * from './theme-pornhub/src/index'
2
+ export {}
3
+ import ThemePornhub from './theme-pornhub/src/index'
4
+ export default ThemePornhub
5
+ export * from './theme-pornhub/src/index'
6
+ export {}
package/dist/index.js CHANGED
@@ -1,16 +1,14 @@
1
1
  import { defaultTokens as e } from "@sxo/design";
2
- const o = {
2
+ const F = {
3
3
  ...e,
4
4
  color: {
5
5
  ...e.color,
6
6
  primary: {
7
7
  DEFAULT: "#FF9900",
8
- // PornHub Brand Orange
9
8
  foreground: "#000000"
10
9
  },
11
10
  secondary: {
12
11
  DEFAULT: "#1B1B1B",
13
- // PornHub Container Background
14
12
  foreground: "#FFFFFF"
15
13
  },
16
14
  accent: {
@@ -35,9 +33,7 @@ const o = {
35
33
  },
36
34
  background: {
37
35
  primary: "#000000",
38
- // Main Background
39
36
  secondary: "#1B1B1B",
40
- // Container Background
41
37
  inverse: "#FFFFFF"
42
38
  },
43
39
  text: {
@@ -47,25 +43,23 @@ const o = {
47
43
  inverse: "#000000"
48
44
  }
49
45
  },
50
- modes: {
51
- dark: {
52
- background: {
53
- primary: "#000000",
54
- secondary: "#0a0a0a",
55
- inverse: "#ffffff"
56
- },
57
- neutral: {
58
- 0: "#ffffff",
59
- 900: "#1a1a1a",
60
- 1e3: "#000000"
61
- }
46
+ modes: { dark: {
47
+ background: {
48
+ primary: "#000000",
49
+ secondary: "#0a0a0a",
50
+ inverse: "#ffffff"
51
+ },
52
+ neutral: {
53
+ 0: "#ffffff",
54
+ 900: "#1a1a1a",
55
+ 1e3: "#000000"
62
56
  }
63
- },
57
+ } },
64
58
  borderRadius: {
59
+ DEFAULT: "4px",
65
60
  none: "0px",
66
61
  xs: "2px",
67
62
  sm: "4px",
68
- // Standard Hub Radius
69
63
  md: "8px",
70
64
  lg: "12px",
71
65
  full: "9999px",
@@ -86,13 +80,12 @@ const o = {
86
80
  ...e.typography,
87
81
  fontFamily: {
88
82
  sans: "Arial, Helvetica, sans-serif",
89
- // Clean, professional sans-serif
90
83
  serif: "Georgia, serif",
91
84
  mono: "monospace"
92
85
  }
93
86
  }
94
87
  };
95
88
  export {
96
- o as default,
97
- o as pornhubTheme
89
+ F as default,
90
+ F as pornhubTheme
98
91
  };
@@ -0,0 +1,2 @@
1
+ export * from './tokens.ts';
2
+ export { default } from './tokens.ts';
@@ -1,3 +1,3 @@
1
- import { DesignTokens } from '../../design/src';
1
+ import { DesignTokens } from '../../sxo-design/src';
2
2
  export declare const pornhubTheme: DesignTokens;
3
3
  export default pornhubTheme;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sxo/theme-pornhub",
3
- "version": "0.0.0",
3
+ "version": "0.0.1",
4
4
  "description": "Pornhub theme for SXO Design System.",
5
5
  "keywords": [
6
6
  "sxo",
@@ -27,7 +27,7 @@
27
27
  "dist"
28
28
  ],
29
29
  "dependencies": {
30
- "@sxo/design": "0.0.0"
30
+ "@sxo/design": "0.0.1"
31
31
  },
32
32
  "repository": {
33
33
  "type": "git",
@@ -42,9 +42,9 @@
42
42
  "access": "public"
43
43
  },
44
44
  "devDependencies": {
45
- "vite": "^5.0.0",
46
- "vite-plugin-dts": "^4.0.0",
47
- "typescript": "^5.0.0"
45
+ "typescript": "^5.9.3",
46
+ "vite": "^7.3.1",
47
+ "vite-plugin-dts": "^4.5.4"
48
48
  },
49
49
  "scripts": {
50
50
  "build": "vite build",
package/dist/tokens.js DELETED
@@ -1,66 +0,0 @@
1
- import { defaultTokens } from '@sxo/design';
2
- export const pornhubTheme = {
3
- ...defaultTokens,
4
- color: {
5
- ...defaultTokens.color,
6
- primary: {
7
- DEFAULT: '#FF9900', // PornHub Brand Orange
8
- foreground: '#000000',
9
- },
10
- secondary: {
11
- DEFAULT: '#1B1B1B', // PornHub Container Background
12
- foreground: '#FFFFFF',
13
- },
14
- accent: {
15
- DEFAULT: '#FF9900',
16
- neon: '#FF9900',
17
- vivid: '#FFA31A',
18
- },
19
- neutral: {
20
- 0: '#FFFFFF',
21
- 50: '#F4F4F4',
22
- 100: '#E0E0E0',
23
- 200: '#B2B2B2',
24
- 300: '#757575',
25
- 400: '#424242',
26
- 500: '#282828',
27
- 600: '#1B1B1B',
28
- 700: '#1A1A1A',
29
- 800: '#111111',
30
- 900: '#0A0A0A',
31
- 950: '#050505',
32
- 1000: '#000000',
33
- },
34
- background: {
35
- primary: '#000000', // Main Background
36
- secondary: '#1B1B1B', // Container Background
37
- inverse: '#FFFFFF',
38
- },
39
- },
40
- borderRadius: {
41
- none: '0px',
42
- xs: '2px',
43
- sm: '4px', // Standard Hub Radius
44
- md: '8px',
45
- lg: '12px',
46
- full: '9999px',
47
- },
48
- boxShadow: {
49
- ...defaultTokens.boxShadow,
50
- sm: 'none',
51
- DEFAULT: 'none',
52
- md: 'none',
53
- lg: 'none',
54
- hard: '0 0 0 1px #1A1A1A',
55
- 'hard-accent': '0 0 0 1px #FF9900',
56
- },
57
- typography: {
58
- ...defaultTokens.typography,
59
- fontFamily: {
60
- sans: 'Arial, Helvetica, sans-serif', // Clean, professional sans-serif
61
- serif: 'Georgia, serif',
62
- mono: 'monospace',
63
- },
64
- },
65
- };
66
- export default pornhubTheme;