Skip to content

Commit 7a66771

Browse files
authored
Themed Firefox history sidebar (#76)
* Themes Firefox history sidebar * Updated sidebar text color * Updated changelog & version * Updated the rest of the stuff
1 parent 9302ed4 commit 7a66771

271 files changed

Lines changed: 1867 additions & 207 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 5 additions & 0 deletions

buildSrc/assets/templates/firefox.theme.template.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
"popup_highlight": "&selectionBackground&",
1717
"popup_highlight_text": "&selectionForeground&",
1818
"popup_text": "&foregroundColor&",
19+
"sidebar":"&secondaryBackground&",
20+
"sidebar_highlight":"&selectionBackground&",
21+
"sidebar_highlight_text":"&selectionForeground&",
22+
"sidebar_border":"&borderColor&",
23+
"sidebar_text": "&foregroundColor&",
1924
"tab_background_separator": "&borderColor&",
2025
"tab_line": "&accentColor&",
2126
"tab_loading": "&accentColor&",

buildSrc/assets/templates/manifest.template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "The Doki Theme",
3-
"version": "15.0.0",
3+
"version": "15.0.2",
44
"description": "Anime based themes for your chrome browser!",
55
"theme": {
66
"images": {

buildSrc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@types/lodash": "^4.14.155",
1414
"@types/ncp": "^2.0.4",
1515
"copy-webpack-plugin": "^6.0.2",
16-
"doki-build-source": "1.3.0",
16+
"doki-build-source": "1.6.0",
1717
"jest": "^26.0.1",
1818
"rimraf": "^3.0.2",
1919
"ts-jest": "^26.1.0",

buildSrc/src/BuildThemes.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ preBuild()
603603
console.log('Theme Generation Complete!');
604604
});
605605

606-
function getBackgrounds(dokiDefinition: { colors: StringDictionary<string>; id: string; name: string; displayName: string; dark: boolean; author: string; group: string; overrides?: import("/home/alex/workspace/doki-build-source/lib/cjs/types").Overrides | undefined; product?: "community" | "ultimate" | undefined; stickers: import("/home/alex/workspace/doki-build-source/lib/cjs/types").Stickers; editorScheme?: import("/home/alex/workspace/doki-build-source/lib/cjs/types").EditorScheme | undefined; }, dokiTheme: { path: string; definition: { colors: StringDictionary<string>; id: string; name: string; displayName: string; dark: boolean; author: string; group: string; overrides?: import("/home/alex/workspace/doki-build-source/lib/cjs/types").Overrides | undefined; product?: "community" | "ultimate" | undefined; stickers: import("/home/alex/workspace/doki-build-source/lib/cjs/types").Stickers; editorScheme?: import("/home/alex/workspace/doki-build-source/lib/cjs/types").EditorScheme | undefined; }; manifest: ManifestTemplate; fireFoxTheme: FireFoxTheme; theme: {}; chromeDefinition: BaseAppDokiThemeDefinition; }, relativeFireFoxAssetPath: string) {
606+
function getBackgrounds(dokiDefinition: { colors: StringDictionary<string>; id: string; name: string; displayName: string; dark: boolean; author: string; group: string; overrides?: any | undefined; product?: "community" | "ultimate" | undefined; stickers: any; editorScheme?: any | undefined; }, dokiTheme: { path: string; definition: { colors: StringDictionary<string>; id: string; name: string; displayName: string; dark: boolean; author: string; group: string; overrides?: any | undefined; product?: "community" | "ultimate" | undefined; stickers: any; editorScheme?: any | undefined; }; manifest: ManifestTemplate; fireFoxTheme: FireFoxTheme; theme: {}; chromeDefinition: BaseAppDokiThemeDefinition; }, relativeFireFoxAssetPath: string) {
607607
const stickers = getStickers(dokiDefinition, dokiTheme);
608608

609609
if (isKanna(dokiDefinition)) {
@@ -627,6 +627,6 @@ function getName(dokiDefinition: MasterDokiThemeDefinition) {
627627
return dokiDefinition.name.replace(':', '');
628628
}
629629

630-
function isKanna(dokiDefinition: { colors: StringDictionary<string>; id: string; name: string; displayName: string; dark: boolean; author: string; group: string; overrides?: import("/home/alex/workspace/doki-build-source/lib/cjs/types").Overrides | undefined; product?: "community" | "ultimate" | undefined; stickers: import("/home/alex/workspace/doki-build-source/lib/cjs/types").Stickers; editorScheme?: import("/home/alex/workspace/doki-build-source/lib/cjs/types").EditorScheme | undefined; }): boolean {
630+
function isKanna(dokiDefinition: { colors: StringDictionary<string>; id: string; name: string; displayName: string; dark: boolean; author: string; group: string; overrides?: any | undefined; product?: "community" | "ultimate" | undefined; stickers: any; editorScheme?: any | undefined; }): boolean {
631631
return dokiDefinition.id === "b93ab4ea-ff96-4459-8fa2-0caae5bc7116"
632632
}

buildSrc/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2168,10 +2168,10 @@ dir-glob@^3.0.1:
21682168
dependencies:
21692169
path-type "^4.0.0"
21702170

2171-
doki-build-source@1.3.0:
2172-
version "1.3.0"
2173-
resolved "https://registry.yarnpkg.com/doki-build-source/-/doki-build-source-1.3.0.tgz#b7516a96317ff559737f6e87fc81b931bbb1977c"
2174-
integrity sha512-3Z+BMS0p/FGOlCwuhBauAYeV+DXAF+5HdkMCVSYCYZkbLsqfsymnBM7Unw+vbrHJfI14P0gDuOTbgKOHX9V4Gw==
2171+
doki-build-source@1.6.0:
2172+
version "1.6.0"
2173+
resolved "https://registry.yarnpkg.com/doki-build-source/-/doki-build-source-1.6.0.tgz#5c39cf71e135714ae891301c56c648cc9447ac2a"
2174+
integrity sha512-jyP9xCNam3fq68lR1G2JVfCV9HSQX0ygfG9RAi2IohIUJNYE9YGDJk5YDxQ7uxEERSLXg/NjMpCOwFFswcBi5A==
21752175

21762176
dom-walk@^0.1.0:
21772177
version "0.1.2"

chromeThemes/Aqua's Theme/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Doki Theme: Aqua",
3-
"version": "15.0.0",
3+
"version": "15.0.2",
44
"description": "A dark theme modeled after Aqua from KonoSuba",
55
"theme": {
66
"images": {

chromeThemes/Astolfo's Theme/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Doki Theme: Astolfo",
3-
"version": "15.0.0",
3+
"version": "15.0.2",
44
"description": "A dark theme modeled after Astolfo from Fate",
55
"theme": {
66
"images": {

chromeThemes/Asuna Dark's Theme/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Doki Theme: Asuna Dark",
3-
"version": "15.0.0",
3+
"version": "15.0.2",
44
"description": "A dark theme modeled after Asuna from Sword Art Online",
55
"theme": {
66
"images": {

chromeThemes/Asuna Light's Theme/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Doki Theme: Asuna Light",
3-
"version": "15.0.0",
3+
"version": "15.0.2",
44
"description": "A light theme modeled after Asuna from Sword Art Online",
55
"theme": {
66
"images": {

0 commit comments

Comments
 (0)