PageSourceSearch

https://degerfors.se/site-colors?view=js&sv.contenttype=text/css;charset=UTF-8

js degerfors.se collected 2026-10-02 10:01:50 UTC 2,395 bytes, 55 lines download raw bytes

1
2
3
4
5
6  var lp = (function (exports) {
7    var siteColors = exports.siteColors = exports.siteColors || {};
8
9    var _colors = {
10          "svart": "#000000",
11      "svart": "#000000",           "morkgra": "#333333",
12      "morkgra": "#333333",           "ljusgra": "#c0c0c0",
13      "ljusgra": "#c0c0c0",           "vit": "#ffffff",
14      "vit": "#ffffff",           "degerforsbla": "#004f81",
15      "degerfors-bla": "#004f81",           "degerforsbla80opacitet": "rgba(0,86,147,0.8)",
16      "degerforsbla-80-opacitet": "rgba(0,86,147,0.8)",           "degerforsbla60opacitet": "rgba(0,86,147,0.6)",
17      "degerforsbla-60-opacitet": "rgba(0,86,147,0.6)",           "guldegerfors": "#f18903",
18      "gul-degerfors": "#f18903",           "rosadegerfors": "#e51a92",
19      "rosa-degerfors": "#e51a92",           "blagrondegerfors": "#009b98",
20      "blagron-degerfors": "#009b98",           "blagron80opacitet": "rgba(0,155,152,0.8)",
21      "blagron-80-opacitet": "rgba(0,155,152,0.8)",           "blagron60opacitet": "rgba(0,155,152,0.6)",
22      "blagron-60-opacitet": "rgba(0,155,152,0.6)",           "blagron40opacitet": "rgba(0,155,152,0.4)",
23      "blagron-40-opacitet": "rgba(0,155,152,0.4)",           "skogsgrondegerfors": "#164a22",
24      "skogsgron-degerfors": "#164a22",           "morkroddegerfors": "#ad1c23",
25      "morkrod-degerfors": "#ad1c23",           "lila523c": "#c9b1d0",
26      "lila523c": "#c9b1d0",           "rod": "#ff0000",
27      "rod": "#ff0000",           "mellangul": "#ffd900",
28      "mellangul": "#ffd900",           "mellanbla": "#0084ca",
29      "mellanbla": "#0084ca",           "ljusgron": "#00b08b",
30      "ljusgron": "#00b08b",           "gron375c": "#97d700",
31      "gron375c": "#97d700"        };
32
33    siteColors.getAll = function () {
34      return _colors;
35    };
36
37    siteColors.get = function (colorSlug, defaultColor) {
38      if (typeof _colors[colorSlug] === 'string') {
39        return _colors[colorSlug];
40      }
41      return defaultColor;
42    };
43
44    siteColors.getSlug = function (colorName) {
45      return colorName
46        .toLowerCase() // All lowercase
47        .replace(/å|ä/g, 'a') // replace åä with a
48        .replace(/ö/g, 'o') // replace ö with o
49        .replace(/[^a-z0-9]+/g, '-') // replace anything but a-z with -
50        .replace(/^-+|-+$/g, ''); // remove invalid trailing and leading
51    };
52
53    return exports;
54  })(lp || {});
55

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.