Skip to content

Commit a69db2b

Browse files
committed
Widget changes, bug fixes and visual consistency
app: changed all GtkSpinner widgets to AdwSpinner, text areas highlight the current line if the input is code, removed paths from toast notification, toast notification buttons now open the file in the default app, changed GtkFileChooserNative to GtkFileDialog, save dialogs have placeholder file names temp files are cleaned up after exiting the app hash: 'check for integrity' option - changed AdwActionRow to AdwSwitchRow cron: 'output format' option - added background to GtkText with light theme, 'number of dates' option - increased max value, changed AdwActionRow to AdwSpinRow lorem ipsum: 'begin with' option - changed AdwActionRow to AdwSwitchRow, 'amount' option - changed AdwActionRow to AdwSpinRow random: string options - changed AdwActionRow to AdwSwitchRow, 'length' option - changed AdwActionRow to AdwSpinRow, number range - slit into 'min' and 'max' AdwSpinRow chmod: 'permissions' option - added missing icon reverse cron: added missing bottom margin when all options are expanded formatters: 'indentation' option - changed AdwActionRow to AdwSpinRow timestamp: 'timezone' option - changed AdwActionRow to AdwComboRow uuid: 'amount' option - changed AdwActionRow to AdwSpinRow md-preview: the preview now follows the selected app theme, added 'card' style to preview qr-code: 'content type' option - added missing icon, replaced 'generate' button in the tool options with imageArea's action-button text-inspector: 'change case' option - added missing icon csr: 'key save location' option - changed button label img-converter: added missing bottom margin imageArea: added 'card' style spinArea: updated UI to be similar to the other '*Area' widgets dateArea: updated UI to be similar to the other '*Area' widgets
1 parent 81e687d commit a69db2b

67 files changed

Lines changed: 4343 additions & 3263 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 2 additions & 0 deletions
Loading
Lines changed: 2 additions & 0 deletions
Loading
Lines changed: 2 additions & 0 deletions
Loading
Lines changed: 2 additions & 0 deletions
Loading

data/markdown-preview/fenced-code-colors.css renamed to data/markdown-preview/fenced-code-colors-dark.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
*/
55

66

7-
pre { line-height: 125%; margin: 0; }
7+
/* pre { line-height: 125%; margin: 0; }
88
td.linenos pre { color: #000000; background-color: #f0f0f0; padding-left: 5px; padding-right: 5px; }
99
span.linenos { color: #000000; background-color: #f0f0f0; padding-left: 5px; padding-right: 5px; }
1010
td.linenos pre.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
11-
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
11+
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } */
1212
.codehilite .hll { background-color: #404040 }
13-
.codehilite { background: #202020; color: #d0d0d0 }
13+
.codehilite { background: #202020; color: #d0d0d0 }
1414
.codehilite .c { color: #999999; font-style: italic } /* Comment */
1515
.codehilite .err { color: #a61717; background-color: #e3d2d2 } /* Error */
1616
.codehilite .esc { color: #d0d0d0 } /* Escape */
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
/*
2+
* Copyright (c)
3+
* SPDX-License-Identifier: Unlicense
4+
*/
5+
6+
7+
pre { line-height: 125%; margin: 0; }
8+
td.linenos pre { color: #000000; background-color: #f0f0f0; padding-left: 5px; padding-right: 5px; }
9+
span.linenos { color: #000000; background-color: #f0f0f0; padding-left: 5px; padding-right: 5px; }
10+
td.linenos pre.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
11+
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
12+
.codehilite .hll { background-color: #ffffcc }
13+
.codehilite { background: #f8f8f8; }
14+
.codehilite .c { color: #8f5902; font-style: italic } /* Comment */
15+
.codehilite .err { color: #a40000; border: 1px solid #ef2929 } /* Error */
16+
.codehilite .g { color: #000000 } /* Generic */
17+
.codehilite .k { color: #204a87; font-weight: bold } /* Keyword */
18+
.codehilite .l { color: #000000 } /* Literal */
19+
.codehilite .n { color: #000000 } /* Name */
20+
.codehilite .o { color: #ce5c00; font-weight: bold } /* Operator */
21+
.codehilite .x { color: #000000 } /* Other */
22+
.codehilite .p { color: #000000; font-weight: bold } /* Punctuation */
23+
.codehilite .ch { color: #8f5902; font-style: italic } /* Comment.Hashbang */
24+
.codehilite .cm { color: #8f5902; font-style: italic } /* Comment.Multiline */
25+
.codehilite .cp { color: #8f5902; font-style: italic } /* Comment.Preproc */
26+
.codehilite .cpf { color: #8f5902; font-style: italic } /* Comment.PreprocFile */
27+
.codehilite .c1 { color: #8f5902; font-style: italic } /* Comment.Single */
28+
.codehilite .cs { color: #8f5902; font-style: italic } /* Comment.Special */
29+
.codehilite .gd { color: #a40000 } /* Generic.Deleted */
30+
.codehilite .ge { color: #000000; font-style: italic } /* Generic.Emph */
31+
.codehilite .gr { color: #ef2929 } /* Generic.Error */
32+
.codehilite .gh { color: #000080; font-weight: bold } /* Generic.Heading */
33+
.codehilite .gi { color: #00A000 } /* Generic.Inserted */
34+
.codehilite .go { color: #000000; font-style: italic } /* Generic.Output */
35+
.codehilite .gp { color: #8f5902 } /* Generic.Prompt */
36+
.codehilite .gs { color: #000000; font-weight: bold } /* Generic.Strong */
37+
.codehilite .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
38+
.codehilite .gt { color: #a40000; font-weight: bold } /* Generic.Traceback */
39+
.codehilite .kc { color: #204a87; font-weight: bold } /* Keyword.Constant */
40+
.codehilite .kd { color: #204a87; font-weight: bold } /* Keyword.Declaration */
41+
.codehilite .kn { color: #204a87; font-weight: bold } /* Keyword.Namespace */
42+
.codehilite .kp { color: #204a87; font-weight: bold } /* Keyword.Pseudo */
43+
.codehilite .kr { color: #204a87; font-weight: bold } /* Keyword.Reserved */
44+
.codehilite .kt { color: #204a87; font-weight: bold } /* Keyword.Type */
45+
.codehilite .ld { color: #000000 } /* Literal.Date */
46+
.codehilite .m { color: #0000cf; font-weight: bold } /* Literal.Number */
47+
.codehilite .s { color: #4e9a06 } /* Literal.String */
48+
.codehilite .na { color: #c4a000 } /* Name.Attribute */
49+
.codehilite .nb { color: #204a87 } /* Name.Builtin */
50+
.codehilite .nc { color: #000000 } /* Name.Class */
51+
.codehilite .no { color: #000000 } /* Name.Constant */
52+
.codehilite .nd { color: #5c35cc; font-weight: bold } /* Name.Decorator */
53+
.codehilite .ni { color: #ce5c00 } /* Name.Entity */
54+
.codehilite .ne { color: #cc0000; font-weight: bold } /* Name.Exception */
55+
.codehilite .nf { color: #000000 } /* Name.Function */
56+
.codehilite .nl { color: #f57900 } /* Name.Label */
57+
.codehilite .nn { color: #000000 } /* Name.Namespace */
58+
.codehilite .nx { color: #000000 } /* Name.Other */
59+
.codehilite .py { color: #000000 } /* Name.Property */
60+
.codehilite .nt { color: #204a87; font-weight: bold } /* Name.Tag */
61+
.codehilite .nv { color: #000000 } /* Name.Variable */
62+
.codehilite .ow { color: #204a87; font-weight: bold } /* Operator.Word */
63+
.codehilite .w { color: #f8f8f8; text-decoration: underline } /* Text.Whitespace */
64+
.codehilite .mb { color: #0000cf; font-weight: bold } /* Literal.Number.Bin */
65+
.codehilite .mf { color: #0000cf; font-weight: bold } /* Literal.Number.Float */
66+
.codehilite .mh { color: #0000cf; font-weight: bold } /* Literal.Number.Hex */
67+
.codehilite .mi { color: #0000cf; font-weight: bold } /* Literal.Number.Integer */
68+
.codehilite .mo { color: #0000cf; font-weight: bold } /* Literal.Number.Oct */
69+
.codehilite .sa { color: #4e9a06 } /* Literal.String.Affix */
70+
.codehilite .sb { color: #4e9a06 } /* Literal.String.Backtick */
71+
.codehilite .sc { color: #4e9a06 } /* Literal.String.Char */
72+
.codehilite .dl { color: #4e9a06 } /* Literal.String.Delimiter */
73+
.codehilite .sd { color: #8f5902; font-style: italic } /* Literal.String.Doc */
74+
.codehilite .s2 { color: #4e9a06 } /* Literal.String.Double */
75+
.codehilite .se { color: #4e9a06 } /* Literal.String.Escape */
76+
.codehilite .sh { color: #4e9a06 } /* Literal.String.Heredoc */
77+
.codehilite .si { color: #4e9a06 } /* Literal.String.Interpol */
78+
.codehilite .sx { color: #4e9a06 } /* Literal.String.Other */
79+
.codehilite .sr { color: #4e9a06 } /* Literal.String.Regex */
80+
.codehilite .s1 { color: #4e9a06 } /* Literal.String.Single */
81+
.codehilite .ss { color: #4e9a06 } /* Literal.String.Symbol */
82+
.codehilite .bp { color: #3465a4 } /* Name.Builtin.Pseudo */
83+
.codehilite .fm { color: #000000 } /* Name.Function.Magic */
84+
.codehilite .vc { color: #000000 } /* Name.Variable.Class */
85+
.codehilite .vg { color: #000000 } /* Name.Variable.Global */
86+
.codehilite .vi { color: #000000 } /* Name.Variable.Instance */
87+
.codehilite .vm { color: #000000 } /* Name.Variable.Magic */
88+
.codehilite .il { color: #0000cf; font-weight: bold } /* Literal.Number.Integer.Long */

0 commit comments

Comments
 (0)