Skip to content

Commit

Permalink
chore: reconcile src/ui/assets folder
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieSlome committed Nov 7, 2023
1 parent dc6ce86 commit 2c2ad15
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 50 deletions.
33 changes: 9 additions & 24 deletions src/ui/assets/css/material-dashboard-react.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@
text-anchor: start;
}

.ct-label {
color: rgba(255, 255, 255, 0.7);
}

.ct-chart-line .ct-label,
.ct-chart-bar .ct-label {
display: block;
Expand All @@ -54,6 +50,7 @@
}

.ct-label {
color: rgba(255, 255, 255, 0.7);
fill: rgba(0, 0, 0, 0.4);
line-height: 1;
}
Expand All @@ -62,7 +59,7 @@ html * {
-moz-osx-font-smoothing: grayscale;
}
body {
background-color: #eeeeee;
background-color: #fff;
color: #3c4858;
margin: 0;
font-family: Roboto, Helvetica, Arial, sans-serif;
Expand Down Expand Up @@ -111,11 +108,6 @@ h6 {
font-weight: 500;
}

body {
background-color: #eeeeee;
color: #3c4858;
}

blockquote p {
font-style: italic;
}
Expand All @@ -133,23 +125,22 @@ h6 {
}

a {
color: #9c27b0;
color: #0969da;
text-decoration: none;
font-weight: 500;
}

a:hover,
a:focus {
color: #89229b;
text-decoration: none;
}

legend {
border-bottom: 0;
color: #0969da;
text-decoration: underline;
font-weight: 500;
}

* {
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
-webkit-tap-highlight-color: transparent;
letter-spacing: normal !important;
}

*:focus {
Expand All @@ -173,6 +164,7 @@ input[type='file'] > input[type='button']::-moz-focus-inner {
legend {
margin-bottom: 20px;
font-size: 21px;
border-bottom: 0;
}

output {
Expand Down Expand Up @@ -243,7 +235,6 @@ footer ul li a:hover {
font-weight: 300;
line-height: 1.5em;
position: fixed;
top: 180px;
right: 0;
width: 64px;
background: rgba(0, 0, 0, 0.3);
Expand Down Expand Up @@ -278,7 +269,6 @@ footer ul li a:hover {
right: 80px;
left: auto;
width: 290px;
border-radius: 0.1875rem;
padding: 0 10px;
position: absolute;
color: rgba(0, 0, 0, 0.87);
Expand Down Expand Up @@ -432,7 +422,6 @@ footer ul li a:hover {
display: block;
max-height: 100px;
overflow: hidden;
padding: 0;
}

.fixed-plugin .dropdown-menu > li > a.img-holder img {
Expand All @@ -443,7 +432,6 @@ footer ul li a:hover {
border-color: rgba(0, 187, 255, 0.53);
}

.fixed-plugin .dropdown-menu > .active > a.img-holder,
.fixed-plugin .dropdown-menu > .active > a.img-holder {
border-color: #00bbff;
background-color: #ffffff;
Expand Down Expand Up @@ -506,6 +494,3 @@ footer ul li a:hover {
right: auto;
left: 80px;
}
* {
letter-spacing: normal !important;
}
12 changes: 6 additions & 6 deletions src/ui/assets/jss/material-dashboard-react.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ const hexToRgb = (input) => {
throw new Error('input is not a valid hex color.');
}
if (input.length === 3) {
const first = input[0];
const second = input[1];
const last = input[2];
input = first + first + second + second + last + last;
const firstOnThree = input[0];
const secondOnThree = input[1];
const lastOnThree = input[2];
input = firstOnThree + firstOnThree + secondOnThree + secondOnThree + lastOnThree + lastOnThree;
}
input = input.toUpperCase();
const first = input[0] + input[1];
Expand Down Expand Up @@ -64,11 +64,11 @@ const defaultFont = {
lineHeight: '1.5em',
};

const primaryColor = ['#9c27b0', '#ab47bc', '#8e24aa', '#af2cc5'];
const primaryColor = ['#1a1a1a', '#1a1a1a', '#1a1a1a', '#1a1a1a'];
const warningColor = ['#ff9800', '#ffa726', '#fb8c00', '#ffa21a'];
const dangerColor = ['#f44336', '#ef5350', '#e53935', '#f55a4e'];
const successColor = ['#4caf50', '#66bb6a', '#43a047', '#5cb860'];
const infoColor = ['#00acc1', '#26c6da', '#00acc1', '#00d3ee'];
const infoColor = ['#1a1a1a', '#1a1a1a', '#1a1a1a', '#1a1a1a'];
const roseColor = ['#e91e63', '#ec407a', '#d81b60', '#eb3573'];
const grayColor = [
'#999',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import {
primaryColor,
blackColor,
hexToRgb,
} from '../material-dashboard-react.js';
import { primaryColor, blackColor, hexToRgb } from '../material-dashboard-react.js';

const checkboxAdnRadioStyle = {
root: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
/* eslint-disable quotes */
import {
successColor,
whiteColor,
grayColor,
hexToRgb,
} from '../../material-dashboard-react.js';
import { successColor, whiteColor, grayColor, hexToRgb } from '../../material-dashboard-react.js';

const dashboardStyle = {
successText: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ const iconsStyle = {
marginTop: '0px',
minHeight: 'auto',
fontWeight: '300',
// eslint-disable-next-line quotes
fontFamily: "'Roboto', 'Helvetica', 'Arial', sans-serif",
marginBottom: '3px',
textDecoration: 'none',
Expand Down
8 changes: 1 addition & 7 deletions src/ui/assets/jss/material-dashboard-react/views/rtlStyle.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
/* eslint-disable quotes */
import {
successColor,
whiteColor,
grayColor,
hexToRgb,
} from '../../material-dashboard-react.js';
import { successColor, whiteColor, grayColor, hexToRgb } from '../../material-dashboard-react.js';

const rtlStyle = {
successText: {
Expand Down

0 comments on commit 2c2ad15

Please sign in to comment.