mirror of
https://gitlab.com/aviortheking/code-stats-vscode.git
synced 2025-04-22 10:52:13 +00:00
CSS styles for VSCode themes
This commit is contained in:
parent
ae430493d7
commit
674f657acb
@ -1,3 +1,25 @@
|
|||||||
|
/* Dark theme color palette */
|
||||||
|
.vscode-dark {
|
||||||
|
--color-language: #ddca7e;
|
||||||
|
--color-primary: #dcc97e;
|
||||||
|
--color-secondary: #00ca7e;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Light theme color palette */
|
||||||
|
.vscode-light {
|
||||||
|
--color-language: blue;
|
||||||
|
--color-primary: #00ca7e;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
sup {
|
||||||
|
top: -.5em;
|
||||||
|
font-size: 75%;
|
||||||
|
}
|
||||||
|
|
||||||
.language-progress {
|
.language-progress {
|
||||||
float: left;
|
float: left;
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -8,7 +30,7 @@
|
|||||||
.language-progress .tooltiptext {
|
.language-progress .tooltiptext {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
width: 120px;
|
width: 120px;
|
||||||
background-color: #ddca7e;
|
background-color: var(--color-primary);
|
||||||
color: black;
|
color: black;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
@ -53,6 +75,7 @@ circle.oldxp {
|
|||||||
padding-top: 2rem;
|
padding-top: 2rem;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
color: var(--color-language);
|
||||||
}
|
}
|
||||||
|
|
||||||
.language span {
|
.language span {
|
||||||
@ -61,29 +84,6 @@ circle.oldxp {
|
|||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vscode-dark .language {
|
|
||||||
color: #ddca7e;
|
|
||||||
border-color: #424242;
|
|
||||||
}
|
|
||||||
|
|
||||||
.vscode-light .language {
|
|
||||||
color: blue;
|
|
||||||
border-color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
sup {
|
|
||||||
top: -.5em;
|
|
||||||
font-size: 75%;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.machines {
|
.machines {
|
||||||
clear: both;
|
clear: both;
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
|
@ -1,14 +1,6 @@
|
|||||||
|
|
||||||
import {
|
|
||||||
Uri,
|
|
||||||
Event,
|
|
||||||
CancellationToken,
|
|
||||||
TextDocumentContentProvider,
|
|
||||||
ExtensionContext
|
|
||||||
} from "vscode";
|
|
||||||
import * as path from "path";
|
|
||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
|
import { CancellationToken, Event, ExtensionContext, TextDocumentContentProvider, Uri } from "vscode";
|
||||||
import { CodeStatsAPI } from "./code-stats-api";
|
import { CodeStatsAPI } from "./code-stats-api";
|
||||||
|
|
||||||
import template = require('lodash.template');
|
import template = require('lodash.template');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user